huminmin
2026-06-04 5cfa20bbf53a145e2f7abd5d8b61517b780f915c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<?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="com.ruoyi.basic.mapper.QualityDefectiveProductMapper">
 
    <select id="selectPage" resultType="com.ruoyi.basic.pojo.QualityDefectiveProduct">
        SELECT
        id, report_no, product_name, production_batch, material_name, specs_models,
        manufacturer, raw_material_info, defective_qty, related_test_info,
        unqualified_desc, inspector, register_by, register_time,
        audit_status, audit_remark, audit_by, audit_time,
        create_by, update_by, create_time, update_time
        FROM quality_defective_product
        <if test="ew.customSqlSegment != null and ew.customSqlSegment != ''">
            ${ew.customSqlSegment}
        </if>
        ORDER BY create_time DESC
    </select>
 
</mapper>