소스 검색

优化代码

java110 5 년 전
부모
커밋
2185ba1648
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      service-store/src/main/java/com/java110/store/bmo/contract/impl/UpdateContractBMOImpl.java

+ 2 - 2
service-store/src/main/java/com/java110/store/bmo/contract/impl/UpdateContractBMOImpl.java

@@ -116,8 +116,8 @@ public class UpdateContractBMOImpl implements IUpdateContractBMO {
     @Override
     public ResponseEntity<String> needAuditContractPlan(ContractChangePlanDto contractChangePlanDto, JSONObject reqJson) {
         ContractChangePlanDto tmpContractChangePlanDto = new ContractChangePlanDto();
-        tmpContractChangePlanDto.setPlanId(tmpContractChangePlanDto.getPlanId());
-        tmpContractChangePlanDto.setStoreId(tmpContractChangePlanDto.getStoreId());
+        tmpContractChangePlanDto.setPlanId(contractChangePlanDto.getPlanId());
+        tmpContractChangePlanDto.setStoreId(contractChangePlanDto.getStoreId());
         List<ContractChangePlanDto> contractChangePlanDtos = contractChangePlanInnerServiceSMOImpl.queryContractChangePlans(tmpContractChangePlanDto);
         Assert.listOnlyOne(contractChangePlanDtos, "合同计划不存在");
         contractChangePlanDto.setStartUserId(contractChangePlanDtos.get(0).getChangePerson());