zouyu
2024-08-13 18fd6957fcbcd6e798b737a08d7c62cf58dad881
检验任务:任务切换sql调整
已修改1个文件
4 ■■■■ 文件已修改
inspect-server/src/main/resources/mapper/InsSampleMapper.xml 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
inspect-server/src/main/resources/mapper/InsSampleMapper.xml
@@ -191,7 +191,7 @@
        LEFT JOIN user ON isu.user_id = user.id
        WHERE
        io.state = 1
        # AND io.ins_state != 5
--         # AND io.ins_state != 5
        and send_time is not null
        <if test="userId !=null and userId!=''">
            and (isu.user_id = #{userId} OR isu.user_id is NULL )
@@ -212,7 +212,7 @@
        isu2.ins_sample_id = a.id
        where ins_state is not null
        <if test="laboratory != null and laboratory != ''">
            and laboratory=#{laboratory}
            and a.laboratory=#{laboratory}
        </if>
        ORDER BY
        <!--a.user_id DESC,-->