Browse Source

问题处理

yzc 1 year ago
parent
commit
b8fb848b4e

+ 1 - 1
hx-sale/src/main/java/com/fjhx/sale/service/contract/impl/ContractProductServiceImpl.java

@@ -116,7 +116,7 @@ public class ContractProductServiceImpl extends ServiceImpl<ContractProductMappe
                         .or().like(ProductInfo::getName, dto.getKeyword())
                 );
                 wrapper.and(q -> q
-                        .in("sjd.product_id", pIds)
+                        .in("t1.product_id", pIds)
                         .or().like("t2.`code`", dto.getKeyword())
                         .or().like("t2.`user_name`", dto.getKeyword())
                 );