瀏覽代碼

Merge remote-tracking branch 'origin/master'

ljx 4 年之前
父節點
當前提交
0a0f9d960a
共有 1 個文件被更改,包括 3 次插入2 次删除
  1. 3 2
      src/main/java/com/imed/costaccount/service/impl/AccountingProductServiceImpl.java

+ 3 - 2
src/main/java/com/imed/costaccount/service/impl/AccountingProductServiceImpl.java

@@ -138,8 +138,9 @@ public class AccountingProductServiceImpl extends ServiceImpl<AccountingProductM
 
         // 校验已经绑定过的数据 (1:n)
         List<AccountingProduct> list = this.list(
-                new LambdaQueryWrapper<AccountingProduct>().select(AccountingProduct::getId)
-                        .eq(AccountingProduct::getAccountingId, accountId)
+                new LambdaQueryWrapper<AccountingProduct>()
+                        .select(AccountingProduct::getId)
+//                        .eq(AccountingProduct::getAccountingId, accountId)
                         .eq(AccountingProduct::getHospId, user.getHospId())
                         .in(AccountingProduct::getProductId, accountProductSaveDTO.getProducts())
         );