| | |
| | | <select id="selectEmergencyPlanAreaByPlanId" resultMap="emergencyPlanAreaInfoDOResult"> |
| | | select id , plan_id , area_id from emergency_plan_area where plan_id=#{planId} |
| | | </select> |
| | | |
| | | <update id = "deleteEmergencyPlanAreaByIds" > |
| | | update emergency_plan_area set del_flag = 1 where id in |
| | | <foreach item="id" collection="ids" open="(" separator="," close=")"> |
| | | #{id} |
| | | </foreach> |
| | | </update> |
| | | |
| | | <update id="deleteEmergencyPlanAreaByPlanId"> |
| | | update emergency_plan_area set del_flag = 1 where plan_id = #{planId} |
| | | </update> |
| | | |
| | | </mapper> |