zss
2024-08-02 12de000e79c094471e0a5b55cb49b966d5b93721
inspect-server/src/main/resources/mapper/InsSampleMapper.xml
@@ -40,7 +40,8 @@
        isu.user_id,
        user.name userName,
        ip.son_laboratory,
        io.ins_time
        io.ins_time,
        io.laboratory
        FROM
        ins_order io
        LEFT JOIN ins_sample isa ON isa.ins_order_id = io.id
@@ -84,7 +85,11 @@
        a.type DESC,
        a.id
        ) b
        where ins_state is not null)A
        where ins_state is not null
        <if test="laboratory!=null and laboratory!=''">
            and laboratory=#{laboratory}
        </if>
        )A
        <if test="ew.customSqlSegment != null and ew.customSqlSegment != ''">
            ${ew.customSqlSegment}
        </if>
@@ -106,7 +111,8 @@
        isu.user_id,
        user.name userName,
        ip.son_laboratory,
        io.ins_time
        io.ins_time,
        io.laboratory
        FROM
        ins_order io
        LEFT JOIN ins_sample isa ON isa.ins_order_id = io.id
@@ -150,7 +156,11 @@
        a.type DESC,
        a.id
        ) b
        where ins_state is not null )A
        where ins_state is not null
        <if test="laboratory!=null and laboratory!=''">
            and laboratory=#{laboratory}
        </if>
        )A
        <if test="ew.customSqlSegment != null and ew.customSqlSegment != ''">
            ${ew.customSqlSegment}
        </if>