| | |
| | | |
| | | <insert id="addAccidentCase" parameterType="com.gkhy.safePlatform.incidentManage.entity.AccidentCaseInfo" |
| | | keyProperty="id" useGeneratedKeys="true"> |
| | | insert into accident_Case |
| | | insert into accident_case |
| | | <trim prefix="(" suffix=")" suffixOverrides=","> |
| | | <if test="id != null ">id,</if> |
| | | <if test="delFlag != null ">del_flag,</if> |
| | |
| | | </select> |
| | | |
| | | <update id="updateAccidentCase" parameterType="com.gkhy.safePlatform.incidentManage.entity.AccidentCaseInfo"> |
| | | update accident_Case |
| | | update accident_case |
| | | <trim prefix="SET" suffixOverrides=","> |
| | | <if test="gmtModitify != null ">gmt_moditify = #{gmtModitify},</if> |
| | | <if test="updateUid != null ">update_uid = #{updateUid},</if> |
| | |
| | | </update> |
| | | |
| | | <update id="deleteAccidentCaseById"> |
| | | update accident_Case set del_flag = 1 where id = #{id} |
| | | update accident_case set del_flag = 1 where id = #{id} |
| | | </update> |
| | | |
| | | </mapper> |