Fixiaobai
2023-08-10 c9863cfd3316437dd674d79a455aa18cd7dd1eb1
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>