|
@@ -63,6 +63,7 @@ public class BaseExpertServiceImpl extends ServiceImpl<BaseExpertMapper, BaseExp
|
|
|
if (baseUnitInformationList.size() <= 0) {
|
|
|
BaseUnitInformation baseUnitInformation = new BaseUnitInformation();
|
|
|
baseUnitInformation.setUnitName(baseExpertVo.getUnitInformation());
|
|
|
+ baseUnitInformation.setVarietyPurchase(baseExpertVo.getVarietyPurchase());
|
|
|
baseUnitInformation.setCreated(baseExpertVo.getExpertName());
|
|
|
baseUnitInformation.setCreateTime(new Date());
|
|
|
Integer i = baseExpertMapper.insertBaseUnitInformation(baseUnitInformation);
|
|
@@ -186,6 +187,18 @@ public class BaseExpertServiceImpl extends ServiceImpl<BaseExpertMapper, BaseExp
|
|
|
return baseUnitInformationList;
|
|
|
}
|
|
|
|
|
|
+ /**
|
|
|
+ * 根据采购品种查询
|
|
|
+ *
|
|
|
+ * @param unitInformation
|
|
|
+ * @return
|
|
|
+ */
|
|
|
+ @Override
|
|
|
+ public List<BaseUnitInformation> getBaseUnitInformationListBC(BaseUnitInformation unitInformation) {
|
|
|
+ List<BaseUnitInformation> baseUnitInformationList = baseExpertMapper.selectByUnitInformationBC(unitInformation);
|
|
|
+ return baseUnitInformationList;
|
|
|
+ }
|
|
|
+
|
|
|
private List<PmDemandResVo> changTo(List<PmDemand> pmDemandList) {
|
|
|
List<PmDemandResVo> pmDemandResponseVoList = new ArrayList<>();
|
|
|
//获取字典数据
|