Przeglądaj źródła

debug IRS接口

master
PoffyZhang 1 rok temu
rodzic
commit
a2cc30e25a
1 zmienionych plików z 7 dodań i 13 usunięć
  1. +7
    -13
      pmapi/src/main/java/com/ningdatech/pmapi/gov/manage/GovProjectCollectionManage.java

+ 7
- 13
pmapi/src/main/java/com/ningdatech/pmapi/gov/manage/GovProjectCollectionManage.java Wyświetl plik

@@ -11,6 +11,7 @@ import com.ningdatech.basic.function.VUtils;
import com.ningdatech.basic.model.PageVo;
import com.ningdatech.basic.util.StrPool;
import com.ningdatech.pmapi.common.constant.BizConst;
import com.ningdatech.pmapi.common.constant.RegionConst;
import com.ningdatech.pmapi.gov.contants.BizProjectContant;
import com.ningdatech.pmapi.gov.convert.ProjectConvert;
import com.ningdatech.pmapi.gov.model.dto.*;
@@ -258,9 +259,9 @@ public class GovProjectCollectionManage {
saveBase.setTongTime(LocalDateTime.now());
}
if(Objects.nonNull(saveBase.getBaseAreaCode())){
saveBase.setAreaCode(saveBase.getBaseAreaCode());
saveBase.setBaseAreaCode(saveBase.getBaseAreaCode() + BizConst.NINE_AREA_CODE_LAST);
}
saveBase.setAreaCode(RegionConst.RC_LS);
saveBase.setBizTime(LocalDateTime.now());
baseinfoService.saveOrUpdate(saveBase);

@@ -280,9 +281,7 @@ public class GovProjectCollectionManage {
}else{
saveApply.setTongTime(LocalDateTime.now());
}
if(Objects.nonNull(saveBase.getAreaCode())){
saveApply.setAreaCode(saveBase.getAreaCode());
}
saveApply.setAreaCode(RegionConst.RC_LS);
saveApply.setBizTime(LocalDateTime.now());
projectApplyService.saveOrUpdate(saveApply);
}
@@ -303,10 +302,8 @@ public class GovProjectCollectionManage {
}else{
saveApprove.setTongTime(LocalDateTime.now());
}
if(Objects.nonNull(saveBase.getAreaCode())){
saveApprove.setAreaCode(saveBase.getAreaCode());
}
saveApprove.setBizTime(LocalDateTime.now());
saveApprove.setAreaCode(RegionConst.RC_LS);
approveService.saveOrUpdate(saveApprove);
}

@@ -327,9 +324,7 @@ public class GovProjectCollectionManage {
}else{
saveCimplement.setTongTime(LocalDateTime.now());
}
if(Objects.nonNull(saveBase.getAreaCode())){
saveCimplement.setAreaCode(saveBase.getAreaCode());
}
saveCimplement.setAreaCode(RegionConst.RC_LS);
saveCimplement.setBizTime(LocalDateTime.now());
cimplementService.saveOrUpdate(saveCimplement);
}
@@ -355,6 +350,7 @@ public class GovProjectCollectionManage {
if(Objects.nonNull(saveBase.getAreaCode())){
saveMimplement.setAreaCode(saveBase.getAreaCode());
}
saveMimplement.setAreaCode(RegionConst.RC_LS);
saveMimplement.setBizTime(LocalDateTime.now());
mimplementService.saveOrUpdate(saveMimplement);
}
@@ -373,9 +369,7 @@ public class GovProjectCollectionManage {
GovBizProjectProcure saveProcure = BeanUtil.copyProperties(procure,GovBizProjectProcure.class);
saveProcure.setBaseProjId(baseProjId);
saveProcure.setId(null);
if(Objects.nonNull(saveBase.getAreaCode())){
saveProcure.setAreaCode(saveBase.getAreaCode());
}
saveProcure.setAreaCode(RegionConst.RC_LS);
saveProcure.setTongTime(LocalDateTime.now());
saveProcure.setBizTime(LocalDateTime.now());
procureService.save(saveProcure);


Ładowanie…
Anuluj
Zapisz