“zhuo”
2023-08-10 cf347859a3a023f48bdb82e7702c0df8858759db
inspection-server/src/main/resources/mapper/ReportMapper.xml
@@ -39,6 +39,9 @@
        join inspection i on r.inspection_id = i.id
        join inspection_material im on i.id = im.inspection_id
        <where>
            <if test="status == null">
                and r.status in (0, 1)
            </if>
            <if test="status != null">
                and r.status = #{status}
            </if>