|
@@ -1,5 +1,6 @@
|
|
package com.yh.saas.plugin.yiliangyiyun.service.impl;
|
|
package com.yh.saas.plugin.yiliangyiyun.service.impl;
|
|
|
|
|
|
|
|
+import com.baomidou.mybatisplus.mapper.EntityWrapper;
|
|
import com.yh.saas.plugin.yiliangyiyun.entity.ContractProcessInfo;
|
|
import com.yh.saas.plugin.yiliangyiyun.entity.ContractProcessInfo;
|
|
import com.yh.saas.plugin.yiliangyiyun.mapper.ContractProcessInfoMapper;
|
|
import com.yh.saas.plugin.yiliangyiyun.mapper.ContractProcessInfoMapper;
|
|
import com.yh.saas.plugin.yiliangyiyun.service.IContractProcessInfoService;
|
|
import com.yh.saas.plugin.yiliangyiyun.service.IContractProcessInfoService;
|
|
@@ -17,4 +18,14 @@ import org.springframework.stereotype.Service;
|
|
@Service
|
|
@Service
|
|
public class ContractProcessInfoServiceImpl extends ServiceImpl<ContractProcessInfoMapper, ContractProcessInfo> implements IContractProcessInfoService {
|
|
public class ContractProcessInfoServiceImpl extends ServiceImpl<ContractProcessInfoMapper, ContractProcessInfo> implements IContractProcessInfoService {
|
|
|
|
|
|
|
|
+ @Override
|
|
|
|
+ public String editInfo(ContractProcessInfo contractProcessInfo) {
|
|
|
|
+ ContractProcessInfo contractProcessInfo1=this.selectOne(new EntityWrapper<ContractProcessInfo>().eq("contract_id",contractProcessInfo.getId()));
|
|
|
|
+ if (contractProcessInfo1!=null){
|
|
|
|
+ contractProcessInfo1.setMildewGrain(contractProcessInfo.getMildewGrain());
|
|
|
|
+ contractProcessInfo1.setGoodsName(contractProcessInfo.getGoodsName());
|
|
|
|
+ this.updateById(contractProcessInfo1);
|
|
|
|
+ }
|
|
|
|
+ return "OK";
|
|
|
|
+ }
|
|
}
|
|
}
|