修改合同:INSC_ID重复列名bug修改
This commit is contained in:
@@ -921,8 +921,10 @@ public class ContractServiceImpl implements ContractService {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// 更新合同主信息
|
// 更新合同主信息
|
||||||
|
Long instanceId = newContractMainDO.getInstanceId();
|
||||||
|
newContractMainDO.setInstanceId(null);
|
||||||
contractMainMapper.update(newContractMainDO, new LambdaUpdateWrapper<>(ContractMainDO.class)
|
contractMainMapper.update(newContractMainDO, new LambdaUpdateWrapper<>(ContractMainDO.class)
|
||||||
.set(ContractMainDO::getInstanceId, newContractMainDO.getInstanceId())
|
.set(ContractMainDO::getInstanceId, instanceId)
|
||||||
.eq(ContractMainDO::getId, newContractMainDO.getId()));
|
.eq(ContractMainDO::getId, newContractMainDO.getId()));
|
||||||
|
|
||||||
if (DictEnum.BSE_CTRT_STS_IN_PROGRESS.getCode().equals(newContractMainDO.getStatus())) {
|
if (DictEnum.BSE_CTRT_STS_IN_PROGRESS.getCode().equals(newContractMainDO.getStatus())) {
|
||||||
|
|||||||
Reference in New Issue
Block a user