| | |
| | | <if test="checkDate != null"> |
| | | check_date = #{checkDate}, |
| | | </if> |
| | | <if test="resultStatus != null"> |
| | | result_status = #{resultStatus}, |
| | | </if> |
| | | <if test="reportStatus != null"> |
| | | report_status = #{reportStatus}, |
| | | </if> |
| | |
| | | where deleted = 0 and report_status = 1 |
| | | </select> |
| | | <!-- void updateItemDangerReportStatusById(HandlerSpecialCheckReportParam handlerCJReportParam);--> |
| | | <update id="updateItemDangerReportStatusById" parameterType="com.ruoyi.project.tr.specialCheck.domin.TbSpecialCheckScoreAndDangerLog"> |
| | | update tb_special_check_score_and_danger_log |
| | | <update id="updateItemDangerReportStatusById" > |
| | | update tb_special_check_score_and_danger_log set |
| | | report_status = #{reportStatus}, |
| | | report_time = #{reportTime} |
| | | where id = #{indexId} and deleted = 0 |
| | | where id = #{id} and deleted = 0 |
| | | </update> |
| | | <!-- TbSpecialCheckItemDangerLog getSpecialCheckScoreAndDangerLogById(String id);--> |
| | | <select id="getSpecialCheckScoreAndDangerLogById" resultMap="BaseResultMap"> |
| | | select * from tb_special_check_score_and_danger_log |
| | | where deleted = 0 and id = #{id} |
| | | </select> |
| | | <!-- List<TbSpecialCheckScoreAndDangerLog> listScoreAndDangerLogReportList();--> |
| | | <select id="listScoreAndDangerLogReportList" resultMap="BaseResultMap"> |
| | | select * from tb_special_check_score_and_danger_log |
| | | where deleted = 0 and report_status = 1 |
| | | </select> |
| | | |
| | | </mapper> |