“zhuo”
2023-08-09 80b2025993331ac057b9a63210be2cb6ba124806
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>