|
@@ -79,7 +79,9 @@ public class SupplierPriceServiceImpl extends ServiceImpl<SupplierPriceMapper, S
|
|
|
public List<SupplierPrice> getList(Map<String, Object> condition) {
|
|
|
return lambdaQuery().
|
|
|
eq(SupplierPrice::getSupplierId, condition.get("supplierId"))
|
|
|
- .in(Func.isNotEmpty(condition.get("goodsIds")), SupplierPrice::getMaterialId, JSONObject.parseArray(JSONObject.toJSONString(condition.get("goodsIds")), Long.class))
|
|
|
+ .in(Func.isNotEmpty(condition.get("goodsIds")),
|
|
|
+ SupplierPrice::getMaterialId,
|
|
|
+ JSONObject.parseArray(JSONObject.toJSONString(condition.get("goodsIds")), Long.class))
|
|
|
.list();
|
|
|
}
|
|
|
}
|