| | |
| | | |
| | | JSONObject paramJson = new JSONObject(); |
| | | paramJson.put("time", DateUtil.format(new Date(),"yyyy-MM-dd")); |
| | | String editPar = "tb_flse_lim_stag"; |
| | | String editPar = "tb_flse_lim_stag:修改值为" + editResInfoVO.getXqswObjQ().getTbFlseLimStag(); |
| | | if (StringUtil.isNotBlank(editResInfoVO.getXqswObjQ().getTbFloodSeasonStart())) |
| | | editPar += ",tb_flood_season_start"; |
| | | editPar += ",tb_flood_season_start:修改值为" + editResInfoVO.getXqswObjQ().getTbFloodSeasonStart(); |
| | | if (StringUtil.isNotBlank(editResInfoVO.getXqswObjQ().getTbFloodSeasonEnd())) |
| | | editPar += ",tb_flood_season_end"; |
| | | editPar += ",tb_flood_season_end:修改值为" + editResInfoVO.getXqswObjQ().getTbFloodSeasonEnd(); |
| | | paramJson.put("editPar", editPar); |
| | | paramJson.put("ly", "ywxt"); |
| | | paramJson.put("user_id", AuthUtil.getUserId()); |
| | |
| | | |
| | | JSONObject paramJson = new JSONObject(); |
| | | paramJson.put("time", DateUtil.format(new Date(),"yyyy-MM-dd")); |
| | | String editPar = "tb_flse_lim_stag"; |
| | | String editPar = "tb_flse_lim_stag:修改值为" + editResInfoVO.getXqswObjZ().getTbFlseLimStag(); |
| | | if (StringUtil.isNotBlank(editResInfoVO.getXqswObjQ().getTbFloodSeasonStart())) |
| | | editPar += ",tb_flood_season_start"; |
| | | editPar += ",tb_flood_season_start:修改值为" + editResInfoVO.getXqswObjQ().getTbFloodSeasonStart(); |
| | | if (StringUtil.isNotBlank(editResInfoVO.getXqswObjQ().getTbFloodSeasonEnd())) |
| | | editPar += ",tb_flood_season_end"; |
| | | editPar += ",tb_flood_season_end:修改值为" + editResInfoVO.getXqswObjQ().getTbFloodSeasonEnd(); |
| | | paramJson.put("editPar", editPar); |
| | | paramJson.put("ly", "ywxt"); |
| | | paramJson.put("user_id", AuthUtil.getUserId()); |
| | |
| | | |
| | | JSONObject paramJson = new JSONObject(); |
| | | paramJson.put("time", DateUtil.format(new Date(),"yyyy-MM-dd")); |
| | | String editPar = "tb_flse_lim_stag"; |
| | | String editPar = "tb_flse_lim_stag:修改值为" + editResInfoVO.getXqswObjH().getTbFlseLimStag(); |
| | | if (StringUtil.isNotBlank(editResInfoVO.getXqswObjQ().getTbFloodSeasonStart())) |
| | | editPar += ",tb_flood_season_start"; |
| | | editPar += ",tb_flood_season_start:修改值为" + editResInfoVO.getXqswObjQ().getTbFloodSeasonStart(); |
| | | if (StringUtil.isNotBlank(editResInfoVO.getXqswObjQ().getTbFloodSeasonEnd())) |
| | | editPar += ",tb_flood_season_end"; |
| | | editPar += ",tb_flood_season_end:修改值为" + editResInfoVO.getXqswObjQ().getTbFloodSeasonEnd(); |
| | | paramJson.put("editPar", editPar); |
| | | paramJson.put("ly", "ywxt"); |
| | | paramJson.put("user_id", AuthUtil.getUserId()); |
| | |
| | | attResDangerManageSpecial.setResGuid(editResInfoVO.getResGuid()); |
| | | attResDangerManageSpecial.setTbControlZ(editResInfoVO.getTbControlZ()); |
| | | attResDangerManageSpecialService.updateAttResDangerManageSpecialByResId(attResDangerManageSpecial); |
| | | }else{ |
| | | //如果控制运行水位为空,则置空 |
| | | AttResDangerManageSpecial attResDangerManageSpecial = new AttResDangerManageSpecial(); |
| | | attResDangerManageSpecial.setResGuid(editResInfoVO.getResGuid()); |
| | | attResDangerManageSpecial.setTbControlZ(""); |
| | | attResDangerManageSpecialService.updateAttResDangerManageSpecialByResId(attResDangerManageSpecial); |
| | | } |
| | | |
| | | return attResStagCharService.customizeUpdateByGuid(attResStagChar); |