| | |
| | | <if test="reportStatus != null"> |
| | | and report_status = #{reportStatus} |
| | | </if> |
| | | order by create_date desc |
| | | order by report_status desc,check_name asc |
| | | </where> |
| | | </select> |
| | | <!-- TbSpecialCheckItemDangerLog getSpecialCheckItemDangerLogByIndexId(Long indexId);;--> |
| | |
| | | where deleted = 0 and report_status = 1 |
| | | </select> |
| | | <!-- void updateItemDangerReportStatusById(HandlerSpecialCheckReportParam handlerCJReportParam);--> |
| | | <update id="updateItemDangerReportStatusById" parameterType="com.ruoyi.project.tr.specialCheck.domin.TbSpecialCheckItemLog"> |
| | | <update id="updateItemDangerReportStatusById"> |
| | | update tb_special_check_item_log |
| | | report_status = #{reportStatus}, |
| | | report_time = #{reportTime} |
| | | where id = #{indexId} and deleted = 0 |
| | | where id = #{id} and deleted = 0 |
| | | </update> |
| | | <!-- TbSpecialCheckItemDangerLog getSpecialCheckItemDangerLogById(String id);--> |
| | | <select id="getSpecialCheckItemDangerLogById" resultMap="BaseResultMap"> |