| | |
| | | editResInfoVO.setUpdateTime(DateUtil.now()); |
| | | |
| | | // 修改汛期水位 |
| | | if (StringUtil.isNotBlank(String.valueOf(editResInfoVO.getTbFlseLimStag()))) { |
| | | AttResFlseLim attResFlseLim = new AttResFlseLim(); |
| | | attResFlseLim.setResGuid(editResInfoVO.getResGuid()); |
| | | attResFlseLim.setTbFlseLimStag(editResInfoVO.getTbFlseLimStag()); |
| | | baseMapper.updateAttResFlseLimByGuid(attResFlseLim); |
| | | if (null != editResInfoVO.getXqswObjQ()) { |
| | | AttResFlseLim attResFlseLimQ = editResInfoVO.getXqswObjQ(); |
| | | attResFlseLimQ.setResGuid(editResInfoVO.getResGuid()); |
| | | baseMapper.updateAttResFlseLimByGuid(attResFlseLimQ,"前汛期"); |
| | | } |
| | | if (null != editResInfoVO.getXqswObjZ()) { |
| | | AttResFlseLim attResFlseLimZ = editResInfoVO.getXqswObjQ(); |
| | | attResFlseLimZ.setResGuid(editResInfoVO.getResGuid()); |
| | | baseMapper.updateAttResFlseLimByGuid(attResFlseLimZ,"中汛期"); |
| | | } |
| | | if (null != editResInfoVO.getXqswObjH()) { |
| | | AttResFlseLim attResFlseLimH = editResInfoVO.getXqswObjQ(); |
| | | attResFlseLimH.setResGuid(editResInfoVO.getResGuid()); |
| | | baseMapper.updateAttResFlseLimByGuid(attResFlseLimH,"后汛期"); |
| | | } |
| | | |
| | | // 修改水位特征参数 |
| | |
| | | attResStagChar.setResGuid(editResInfoVO.getResGuid()); |
| | | if (StringUtil.isNotBlank(editResInfoVO.getChecFlStag())) |
| | | attResStagChar.setTbChecFlStag(editResInfoVO.getChecFlStag()); |
| | | if (StringUtil.isNotBlank(editResInfoVO.getDeadCap())) |
| | | attResStagChar.setTbDeadCap(editResInfoVO.getDeadCap()); |
| | | if (StringUtil.isNotBlank(editResInfoVO.getDeadStag())) |
| | | attResStagChar.setTbDeadStag(editResInfoVO.getDeadStag()); |
| | | if (StringUtil.isNotBlank(editResInfoVO.getFlprHighStag())) |
| | |
| | | attResStagChar.setTbNormPoolStag(editResInfoVO.getNormPoolStag()); |
| | | if (StringUtil.isNotBlank(editResInfoVO.getDesFlStag())) |
| | | attResStagChar.setTbDesFlStag(editResInfoVO.getDesFlStag()); |
| | | if (StringUtil.isNotBlank(editResInfoVO.getTotCap())) |
| | | attResStagChar.setTbTotCap(editResInfoVO.getTotCap()); |
| | | if (StringUtil.isNotBlank(editResInfoVO.getWatShedArea())) |
| | | attResStagChar.setWatShedArea(editResInfoVO.getWatShedArea()); |
| | | |
| | | return attResStagCharService.customizeUpdateByGuid(attResStagChar); |
| | | } |