新增作废接口
新增完结接口 修改合同新增逻辑:设置erp甲乙方公司编号、名称 保存erp合同映射表是设置删除状态
This commit is contained in:
@@ -242,6 +242,7 @@ public class ErpContractServiceImpl implements ErpContractService {
|
||||
ErpContractDO erpContractDO = getErpContractByMainId(erpContract.getContractMainId());
|
||||
if (erpContractDO == null) {
|
||||
// 不存在映射表则新增
|
||||
erpContract.setDeleted(false);
|
||||
erpContractMapper.insert(erpContract);
|
||||
} else {
|
||||
// 存在映射表则更新
|
||||
|
||||
Reference in New Issue
Block a user