李宇
2022-01-06 9a93560be2a59e2ccc92a375b75a92de876a696b
修改个人领用
已修改2个文件
15 ■■■■ 文件已修改
src/main/java/com/nanometer/smartlab/dao/OpeUseFlowDao.xml 13 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/nanometer/smartlab/service/OpeUseFlowServiceImpl.java 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/nanometer/smartlab/dao/OpeUseFlowDao.xml
@@ -197,14 +197,14 @@
        LEFT JOIN ope_reagent_status ors on ors.reagent_code = ouf.reagent_code
        LEFT JOIN sys_reagent sr on sr.id = ors.reagent_id
        left join base_meta bm1 on bm1.id = su.department
        <if test="userId !=null and userId != ''">
            LEFT JOIN sys_reagent sr2 on sr2.id = ouf.user_id
        </if>
        WHERE
        (ouf.operatestate = #{operatestate}
        or ouf.operatestate = #{operatestate1})
        and LENGTH(trim(ouf.receipt_number))>0
        and ouf.valid_flag = 1
        <if test="userId !=null and userId != ''">
            and  ouf.user_id = #{userId}
        </if>
        <if test="reagentCode !=null and reagentCode != ''">
            and ouf.reagent_code like concat("%",#{reagentCode},"%")
        </if>
@@ -250,14 +250,15 @@
        LEFT JOIN sys_reagent sr on sr.id = ors.reagent_id
        left join base_meta bm1 on bm1.id = su.department
        left join sys_laboratory sl on sl.id = ouf.house_id
        <if test="userId !=null and userId != ''">
            LEFT JOIN sys_reagent sr2 on sr2.id = ouf.user_id
        </if>
        WHERE
        (ouf.operatestate = #{operatestate}
        or ouf.operatestate = #{operatestate1})
        and LENGTH(trim(ouf.receipt_number))>0
        and ouf.valid_flag = 1
        <if test="userId !=null and userId != ''">
            and  ouf.user_id = #{userId}
        </if>
        <if test="reagentCode !=null and reagentCode != ''">
            and ouf.reagent_code like concat("%",#{reagentCode},"%")
        </if>
src/main/java/com/nanometer/smartlab/service/OpeUseFlowServiceImpl.java
@@ -487,7 +487,6 @@
            params.put("endTime",sdfend.format(now));
        }
        params.put("userId", userId);
        params.put("receiptNumber", receiptNumber);
        params.put("department", department);
        params.put("project", project);
@@ -542,7 +541,6 @@
        }else {
            params.put("endTime",sdfend.format(now));
        }
        params.put("userId", userId);
        params.put("receiptNumber", receiptNumber);
        params.put("department", department);
        params.put("project", project);