获取医学分类标签详情

This commit is contained in:
wuchunlei
2024-06-04 15:05:14 +08:00
parent 491bcf3320
commit af2c039b82
2 changed files with 8 additions and 1 deletions

View File

@@ -103,6 +103,7 @@ public class BuyOrderServiceImpl extends ServiceImpl<BuyOrderDao, BuyOrder> impl
public List<Map<String,Object>> getBuyOrderNumByStatus(Map params) {
MPJLambdaWrapper<BuyOrder> wrapper = new MPJLambdaWrapper<BuyOrder>();
wrapper.eq(BuyOrder::getUserId,params.get("userId"));
wrapper.eq(BuyOrder::getCome,params.get("come"));
wrapper.select(BuyOrder::getOrderStatus);
wrapper.select("count(1) as num");
wrapper.groupBy(BuyOrder::getOrderStatus);