Commit b5d26454 authored by yaobaizheng's avatar yaobaizheng

园区字典开发区新增保存、提交

parent 19b75948
......@@ -358,6 +358,10 @@ public class DevelopmentInfoServiceImpl extends ServiceImpl<DevelopmentInfoMappe
developmentInfo.setUserId(userId);
developmentInfo.setUserName(userName);
if(ObjectUtils.isNotEmpty(developmentInfoSaveVO.getDevelopmentInfo().getId())){
developmentInfoSaveVO.getDevelopmentInfo().setIsSystem(DevelopmentStatusEnum.IS_SYSTEM_1.getCode());
}
//系统预录入
if(developmentInfoSaveVO.getDevelopmentInfo().getIsSystem() == DevelopmentStatusEnum.IS_SYSTEM_1.getCode()){
developmentInfo.setId(null);
......
......@@ -374,6 +374,10 @@ public class ParkInfoServiceImpl extends ServiceImpl<ParkInfoMapper, ParkInfo> i
parkInfo.setSpecialIndicators(String.join(",",parkInfoAllVO.getParkInfo().getSpecialIndicators()));
parkInfo.setUserId(userId);
// parkInfo.setIsSystem(DevelopmentStatusEnum.IS_SYSTEM_0.getCode());
if(ObjectUtils.isNotEmpty(parkInfoAllVO.getParkInfo().getId())){
parkInfoAllVO.getParkInfo().setIsSystem(ParkInfoEnum.IS_SYSTEM_1.getCode());
}
//系统预录入
if(parkInfoAllVO.getParkInfo().getIsSystem() == ParkInfoEnum.IS_SYSTEM_1.getCode()){
parkInfo.setId(null);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment