瀏覽代碼

Merge branch 'master' of https://172.16.32.165/lighter/web-server

lighter 1 月之前
父節點
當前提交
bb02e02ce3

+ 1 - 2
src/main/java/thyyxxk/webserver/dao/his/medicine/YpInDetlDao.java

@@ -58,8 +58,7 @@ public interface YpInDetlDao extends BaseMapper<YpInDetlVo> {
             " where d.confirm_flag = '1' " +
             " and d.buy_amt > 0 " +
             " and d.manu_no = #{manuNo} " +
-            " and d.license_no = #{licenceNo} " +
             " and s.name like '%${drugName}%' " +
             " order by d.in_date desc ")
-    List<YpInDetlVo> selectYpInDetlListByName(@Param("manuNo") String manuNo, @Param("drugName") String drugName, @Param("licenceNo") String licenceNo);
+    List<YpInDetlVo> selectYpInDetlListByName(@Param("manuNo") String manuNo, @Param("drugName") String drugName);
 }

+ 2 - 2
src/main/java/thyyxxk/webserver/service/medicine/YpCodgMatchService.java

@@ -216,8 +216,8 @@ public class YpCodgMatchService {
             String spec = drugEntBaseDto.getPrepnSpec();
             // 生产企业名称
             String factory = pUserEntDto.getEntName();
-            // 模糊查询入库信息(根据追溯码只能模糊匹配)
-            List<YpInDetlVo> detlVoList = inDao.selectYpInDetlListByName(manuNo, chargeName, licenceNo);
+            // 模糊查询入库信息(根据追溯码只能模糊匹配) 2025.07.25 暂时不根据批准文号匹配,因院内维护原因会有很多不一致
+            List<YpInDetlVo> detlVoList = inDao.selectYpInDetlListByName(manuNo, chargeName);
             if(null == detlVoList || detlVoList.isEmpty()){
                 codg.setFlag("-1");
                 codg.setMatchFlag("-1");