|
@@ -169,7 +169,7 @@ public class ContractUpdateFlow extends FlowDelegate {
|
|
|
newContract.setId(oldContractId);//id赋值为旧合同的id
|
|
|
newContract.setStatus(FlowStatusEnum1.PASS.getKey());
|
|
|
newContract.setApprovedDate(new Date());
|
|
|
- newContract.setUpId(businessId);
|
|
|
+ newContract.setUpId(temNewId);
|
|
|
contractService.updateContract(newContract);
|
|
|
//修改合同产品相关数据
|
|
|
contractProductService.update(Wrappers.<ContractProduct>update().lambda().set(ContractProduct::getContractId,oldContractId).eq(ContractProduct::getContractId,businessId));
|
|
@@ -183,7 +183,7 @@ public class ContractUpdateFlow extends FlowDelegate {
|
|
|
oldContract.setId(businessId);
|
|
|
oldContract.setStatus(FlowStatusEnum1.UPDATE.getKey());
|
|
|
oldContract.setIsChange("1");
|
|
|
- newContract.setUpId(oldContractId);
|
|
|
+ newContract.setUpId(temOldId);
|
|
|
contractService.updateContract(oldContract);
|
|
|
//修改合同产品相关数据
|
|
|
contractProductService.update(Wrappers.<ContractProduct>update().lambda().set(ContractProduct::getContractId,businessId).eq(ContractProduct::getContractId,oldContractId));
|