| | |
| | | </resultMap> |
| | | |
| | | <select id="selectEmergencyDrillPlanList" resultMap="emergencyDrillPlanInfoPageDOResult"> |
| | | select id,`drill_name`,`drill_address`,`drill_way`,`drill_level`,drill_plan_date ,gmt_moditify from emergency_drill_plan where del_flag = 0 |
| | | select id,`drill_name`,`drill_address`,`drill_way`,`drill_level`,drill_plan_date ,gmt_moditify |
| | | from emergency_drill_plan where del_flag = 0 |
| | | <if test="query.drillName != null and query.drillName != ''">and `drill_name` like concat('%', #{query.drillName}, '%')</if> |
| | | </select> |
| | | |
| | | <insert id="addEmergencyDrillPlan" parameterType="com.gkhy.safePlatform.emergency.entity.EmergencyDrillPlanInfo" |
| | |
| | | <update id="updateEmergencyDrillPlan" parameterType="com.gkhy.safePlatform.emergency.entity.EmergencyDrillPlanInfo"> |
| | | update emergency_drill_plan |
| | | <trim prefix="SET" suffixOverrides=","> |
| | | <if test="gmtCreate != null ">gmt_create = #{gmtCreate},</if> |
| | | <if test="gmtModitify != null ">gmt_moditify = #{gmtModitify},</if> |
| | | <if test="createUid != null ">create_uid = #{createUid},</if> |
| | | <if test="updateUid != null ">update_uid = #{updateUid},</if> |
| | | <if test="status != null ">status = #{status},</if> |
| | | <if test="makingPlanDate != null ">making_plan_date=#{makingPlanDate},</if> |