| | |
| | | |
| | | <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> |
| | |
| | | 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> |