- <?xml version="1.0" encoding="UTF-8"?>
- <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
- <mapper namespace="org.springblade.manager.mapper.InspectionRectifyMapper">
- <delete id="deleteByInspectId">
- DELETE FROM m_inspection_rectify
- WHERE inspect_id = #{inspectId}
- </delete>
- <select id="getDTOList" resultType="org.springblade.manager.dto.InspectionRectifyDTO">
- select *
- from m_inspection_rectify
- where is_deleted = 0 and inspect_id = #{inspectId}
- </select>
- </mapper>
|