双重预防项目-国泰新华二开定制版
16639036659
2023-07-03 e3fded6dd62d9606edab192c98f9aca5177e95e0
src/main/resources/mybatis/tr/HiddenDangerCheckMapper.xml
@@ -85,6 +85,7 @@
    <select id="selectHiddenDangerCheckList" parameterType="HiddenDangerCheck" resultMap="HiddenDangerCheckResult">
        <include refid="selectHiddenDangerCheckVo"/>
        <where>
            <if test="checkId != null  and checkId != ''"> and a.check_id = #{checkId}</if>
            <if test="planCreateUserId != null  and planCreateUserId != ''"> and a.plan_create_user_id = #{planCreateUserId}</if>
@@ -365,5 +366,23 @@
        where check_id = #{checkId}
    </select>
    <update id="getHiddenDangerCheckByIdOld" parameterType="Long">
        update tr_hidden_danger_check set
            create_by = #{createBy},
            update_by = #{updateBy},
            create_time = #{createTime},
            update_time = #{updateTime}
        where id = #{checkId}
    </update>
<!--    <if test="createBy != null  and createBy != ''">create_by = #{createBy},</if>-->
<!--    <if test="createTime != null ">create_time = #{createTime},</if>-->
<!--    <if test="updateBy != null  and updateBy != ''">update_by = #{updateBy},</if>-->
<!--    <if test="updateTime != null ">update_time = #{updateTime},</if>-->
<!--    <if test="remark != null  and remark != ''">remark = #{remark},</if>-->
<!--    <if test="planCreateUserId != null  and planCreateUserId != ''">plan_create_user_id = #{planCreateUserId},</if>-->
</mapper>