单词错误
This commit is contained in:
@@ -56,7 +56,7 @@ public class BkContactList implements Serializable {
|
|||||||
* 取消数
|
* 取消数
|
||||||
*/
|
*/
|
||||||
@Column(ignore = true)
|
@Column(ignore = true)
|
||||||
private Integer cannelNum;
|
private Integer cancelNum;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 最后一次预约时间
|
* 最后一次预约时间
|
||||||
|
|||||||
@@ -97,10 +97,10 @@ public class AShopUserServiceImpl implements AShopUserService {
|
|||||||
Long mainIdByShopId = shopInfoService.getMainIdByShopId(StpKit.USER.getShopId());
|
Long mainIdByShopId = shopInfoService.getMainIdByShopId(StpKit.USER.getShopId());
|
||||||
PageHelper.startPage(PageUtil.buildPageHelp());
|
PageHelper.startPage(PageUtil.buildPageHelp());
|
||||||
PageInfo<ShopUserDTO> shopUserDTOPageInfo = new PageInfo<>(shopUserMapper.selectPageByKeyAndIsVip(mainIdByShopId, isVip, key, amount));
|
PageInfo<ShopUserDTO> shopUserDTOPageInfo = new PageInfo<>(shopUserMapper.selectPageByKeyAndIsVip(mainIdByShopId, isVip, key, amount));
|
||||||
shopUserDTOPageInfo.getList().forEach(item -> {
|
// shopUserDTOPageInfo.getList().forEach(item -> {
|
||||||
item.setNew(consumeDiscountService.isNewUser(item, StpKit.USER.getShopId()));
|
// item.setNew(consumeDiscountService.isNewUser(item, StpKit.USER.getShopId()));
|
||||||
setUserDiscount(item);
|
// setUserDiscount(item);
|
||||||
});
|
// });
|
||||||
return PageUtil.convert(shopUserDTOPageInfo);
|
return PageUtil.convert(shopUserDTOPageInfo);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
SELECT
|
SELECT
|
||||||
`order`.call_phone AS phone,
|
`order`.call_phone AS phone,
|
||||||
count( 1 ) AS orderNum,
|
count( 1 ) AS orderNum,
|
||||||
sum( CASE `order`.`status` WHEN '已取消' THEN 1 ELSE 0 END ) AS cannelNum,
|
sum( CASE `order`.`status` WHEN '已取消' THEN 1 ELSE 0 END ) AS cancelNum,
|
||||||
MAX(`order`.create_time) AS lastBookingTime
|
MAX(`order`.create_time) AS lastBookingTime
|
||||||
FROM
|
FROM
|
||||||
`bk_order` `order`
|
`bk_order` `order`
|
||||||
|
|||||||
Reference in New Issue
Block a user