Explorar el Código

生成编号的时候 会有默认值

tags/24080901
PoffyZhang hace 1 año
padre
commit
61cf5aeab6
Se han modificado 1 ficheros con 7 adiciones y 1 borrados
  1. +7
    -1
      pmapi/src/main/java/com/ningdatech/pmapi/gov/manage/GovProjectCollectionManage.java

+ 7
- 1
pmapi/src/main/java/com/ningdatech/pmapi/gov/manage/GovProjectCollectionManage.java Ver fichero

@@ -105,7 +105,7 @@ public class GovProjectCollectionManage {
.eq(GovBizProjectBaseinfo::getBaseBuildDeprtDing,user.getEmpPosUnitCode())
.eq(StringUtils.isNotBlank(req.getAreaCode()),GovBizProjectBaseinfo::getAreaCode,req.getAreaCode())
.eq(StringUtils.isNotBlank(req.getRegionCode()),GovBizProjectBaseinfo::getAreaCode,req.getRegionCode())
.orderByDesc(GovBizProjectBaseinfo::getTongTime);
.orderByDesc(GovBizProjectBaseinfo::getBizTime);
baseinfoService.page(page,wrapper);

if(0L == page.getTotal()){
@@ -250,6 +250,7 @@ public class GovProjectCollectionManage {
}
saveBase.setTongTime(LocalDateTime.now());
}
saveBase.setBizTime(LocalDateTime.now());
baseinfoService.saveOrUpdate(saveBase);

// 2.保存 申报信息
@@ -271,6 +272,7 @@ public class GovProjectCollectionManage {
}
saveApply.setTongTime(LocalDateTime.now());
}
saveApply.setBizTime(LocalDateTime.now());
projectApplyService.saveOrUpdate(saveApply);
}

@@ -293,6 +295,7 @@ public class GovProjectCollectionManage {
}
saveApprove.setTongTime(LocalDateTime.now());
}
saveApprove.setBizTime(LocalDateTime.now());
approveService.saveOrUpdate(saveApprove);
}

@@ -316,6 +319,7 @@ public class GovProjectCollectionManage {
}
saveCimplement.setTongTime(LocalDateTime.now());
}
saveCimplement.setBizTime(LocalDateTime.now());
cimplementService.saveOrUpdate(saveCimplement);
}

@@ -340,6 +344,7 @@ public class GovProjectCollectionManage {
}
saveMimplement.setTongTime(LocalDateTime.now());
}
saveMimplement.setBizTime(LocalDateTime.now());
mimplementService.saveOrUpdate(saveMimplement);
}

@@ -361,6 +366,7 @@ public class GovProjectCollectionManage {
saveProcure.setAreaCode(saveBase.getAreaCode());
}
saveProcure.setTongTime(LocalDateTime.now());
saveProcure.setBizTime(LocalDateTime.now());
procureService.save(saveProcure);
index++;
}


Cargando…
Cancelar
Guardar