| | |
| | | select * from tb_special_check_task_log |
| | | <where> |
| | | deleted = 0 |
| | | <if test="id != null"> |
| | | and task_id = #{id} |
| | | </if> |
| | | <if test="hazardSource != null"> |
| | | and hazard_source like concat('%',#{hazardSource},'%') |
| | | </if> |
| | |
| | | select * from tb_special_check_task_log |
| | | where deleted = 0 and report_status = 1 |
| | | </select> |
| | | |
| | | <select id="listTestReportTaskTest" resultMap="BaseResultMap"> |
| | | select * from tb_special_check_task_log |
| | | where deleted = 0 and create_date >= '2024-01-01 00:00:00' and create_date <= '2024-06-16 23:59:59' |
| | | </select> |
| | | |
| | | |
| | | <!-- void updateCheckTaskReportStatusById(HandlerCJReportParam handlerCJReportParam);--> |
| | | <update id="updateCheckTaskReportStatusById" parameterType="com.ruoyi.project.tr.specialCheck.domin.TbSpecialCheckTaskLog"> |
| | | update tb_special_check_task_log |
| | | <update id="updateCheckTaskReportStatusById"> |
| | | update tb_special_check_task_log set |
| | | report_status = #{reportStatus}, |
| | | report_time = #{reportTime} |
| | | where id = #{indexId} and deleted = 0 |
| | | where id = #{id} and deleted = 0 |
| | | </update> |
| | | </mapper> |