mirror of
https://codeup.aliyun.com/64f7d6b8ce01efaafef1e678/coal/coal.git
synced 2026-01-25 07:46:40 +08:00
feat: 增加商品价格接口
This commit is contained in:
@@ -38,7 +38,6 @@ import org.springframework.data.jpa.domain.Specification;
|
||||
import org.springframework.stereotype.Service;
|
||||
import org.springframework.transaction.annotation.Transactional;
|
||||
|
||||
import java.util.Arrays;
|
||||
import java.util.Collections;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
@@ -162,7 +161,7 @@ public class WarehouseGoodsService
|
||||
max(d.price) filter ( where d.receipt_type = '1' ) as type_1_max_price,
|
||||
avg(d.price) filter ( where d.receipt_type = '1' ) as type_1_avg_price
|
||||
from t_warehouse_receipt_detail d
|
||||
where id = :id
|
||||
where goods_id = :id
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user