emergency/emergency-service/src/main/java/com/gkhy/safePlatform/emergency/controller/EmergencyDrillEvaluationController.java
@@ -22,7 +22,7 @@ private EmergencyDrillEvaluationService emergencyDrillEvaluationService; /** * 应急演练计划列表 * 应急演练实施评价列表 */ @RequestMapping(value = "/page/list" ,method = RequestMethod.POST) private ResultVO<List<EmergencyDrillEvaluationPageRespDTO>> list (@RequestBody PageQuery<EmergencyDrillEvaluationQuery> pageQuery){ @@ -31,7 +31,7 @@ } /** * 应急演练计划新增 * 应急演练实施评价新增 */ @RequestMapping(value = "/add",method = RequestMethod.POST) public ResultVO addEmergencyDrillEvaluation(Principal principal, @RequestBody EmergencyDrillEvaluationReqDTO emergencyDrillEvaluationReqDTO) { @@ -40,7 +40,7 @@ } /** * 应急演练计划详情 * 应急演练实施评价详情 */ @RequestMapping(value = "/info/{id}",method = RequestMethod.GET) public ResultVO<EmergencyDrillEvaluationDetailRespDTO> getEmergencyDrillEvaluationById(@PathVariable("id")Long id){ @@ -48,7 +48,7 @@ } /** * 应急演练计划修改 * 应急演练实施评价修改 */ @RequestMapping(value = "/update",method = RequestMethod.POST) public ResultVO updateEmergencyDrillEvaluation(Principal principal, @RequestBody EmergencyDrillEvaluationReqDTO emergencyDrillEvaluationReqDTO) { @@ -57,7 +57,7 @@ } /** * 应急演练计划删除/批量删除 * 应急演练实施评价删除/批量删除 */ @RequestMapping(value = "/batchDelete/{ids}",method = RequestMethod.GET) public ResultVO batchDeleteEmergencyDrillEvaluation(@PathVariable("ids")String ids){ emergency/emergency-service/src/main/java/com/gkhy/safePlatform/emergency/model/dto/resp/EmergencyDrillEvaluationPageRespDTO.java
@@ -6,35 +6,6 @@ private Long drillPlanId; private String suitable; private String sufficient; private String arrival; private String supplies; private String protection; private String whole; private String division; private String effect; private String report; private String safety; private String rescue; private String evacuate; private Boolean needModify; private String questionAndImprove; private String modifyContent; public Long getId() { return id; @@ -52,146 +23,12 @@ this.drillPlanId = drillPlanId; } public String getSuitable() { return suitable; } public void setSuitable(String suitable) { this.suitable = suitable; } public String getSufficient() { return sufficient; } public void setSufficient(String sufficient) { this.sufficient = sufficient; } public String getArrival() { return arrival; } public void setArrival(String arrival) { this.arrival = arrival; } public String getSupplies() { return supplies; } public void setSupplies(String supplies) { this.supplies = supplies; } public String getProtection() { return protection; } public void setProtection(String protection) { this.protection = protection; } public String getWhole() { return whole; } public void setWhole(String whole) { this.whole = whole; } public String getDivision() { return division; } public void setDivision(String division) { this.division = division; } public String getEffect() { return effect; } public void setEffect(String effect) { this.effect = effect; } public String getReport() { return report; } public void setReport(String report) { this.report = report; } public String getSafety() { return safety; } public void setSafety(String safety) { this.safety = safety; } public String getRescue() { return rescue; } public void setRescue(String rescue) { this.rescue = rescue; } public String getEvacuate() { return evacuate; } public void setEvacuate(String evacuate) { this.evacuate = evacuate; } public Boolean getNeedModify() { return needModify; } public void setNeedModify(Boolean needModify) { this.needModify = needModify; } public String getQuestionAndImprove() { return questionAndImprove; } public void setQuestionAndImprove(String questionAndImprove) { this.questionAndImprove = questionAndImprove; } public String getModifyContent() { return modifyContent; } public void setModifyContent(String modifyContent) { this.modifyContent = modifyContent; } @Override public String toString() { return "EmergencyDrillEvaluationInfo{" + "id=" + id + ", drillPlanId=" + drillPlanId + ", suitable='" + suitable + '\'' + ", sufficient='" + sufficient + '\'' + ", arrival='" + arrival + '\'' + ", supplies='" + supplies + '\'' + ", protection='" + protection + '\'' + ", whole='" + whole + '\'' + ", division='" + division + '\'' + ", effect='" + effect + '\'' + ", report='" + report + '\'' + ", safety='" + safety + '\'' + ", rescue='" + rescue + '\'' + ", evacuate='" + evacuate + '\'' + ", needModify=" + needModify + ", questionAndImprove='" + questionAndImprove + '\'' + ", modifyContent='" + modifyContent + '\'' + '}'; } } emergency/emergency-service/src/main/resource/config/mapper/emergency/EmergencyDrillEvaluationInfoMapper.xml
@@ -28,8 +28,8 @@ <if test="suitable != null and suitable != ''">`suitable`,</if> <if test="sufficient != null and sufficient != ''">`sufficient`,</if> <if test="arrival != null and arrival != ''">`arrival`,</if> <if test="supplies != null and purpose != ''">`supplies`,</if> <if test="protection != null and purpose != ''">`protection`,</if> <if test="supplies != null and supplies != ''">`supplies`,</if> <if test="protection != null and protection != ''">`protection`,</if> <if test="whole != null and whole != ''">`whole`,</if> <if test="division != null and division != ''">`division`,</if> <if test="effect != null and effect != ''">`effect`,</if> @@ -52,8 +52,8 @@ <if test="suitable != null and suitable != ''">#{suitable},</if> <if test="sufficient != null and sufficient != ''">#{sufficient},</if> <if test="arrival != null and arrival != ''">#{arrival},</if> <if test="supplies != null and purpose != ''">#{supplies},</if> <if test="protection != null and purpose != ''">#{protection},</if> <if test="supplies != null and supplies != ''">#{supplies},</if> <if test="protection != null and protection != ''">#{protection},</if> <if test="whole != null and whole != ''">#{whole},</if> <if test="division != null and division != ''">#{division},</if> <if test="effect != null and effect != ''">#{effect},</if> @@ -104,8 +104,8 @@ <if test="suitable != null and suitable != ''">suitable = #{suitable},</if> <if test="sufficient != null and sufficient != ''">sufficient = #{sufficient},</if> <if test="arrival != null and arrival != ''">arrival = #{arrival},</if> <if test="supplies != null and purpose != ''">supplies = #{supplies},</if> <if test="protection != null and purpose != ''">protection = #{protection},</if> <if test="supplies != null and supplies != ''">supplies = #{supplies},</if> <if test="protection != null and protection != ''">protection = #{protection},</if> <if test="whole != null and whole != ''">whole = #{whole},</if> <if test="division != null and division != ''">division = #{division},</if> <if test="effect != null and effect != ''">effect = #{effect},</if>