Compare commits
No commits in common. "3d9a2c5be68bacb87306581c4a4f5f79348de9c5" and "80faf6d1952d91b0bfdf74411a74d67c1cb9a24e" have entirely different histories.
3d9a2c5be6
...
80faf6d195
|
|
@ -38,18 +38,6 @@ public class BackMemberStatisticsController {
|
|||
redisService.setCacheObject(CacheConstants.TOP_30_ACTIVITY + ETop30Type.AMOUNT.getKey(), flag);
|
||||
return AjaxResult.success();
|
||||
}
|
||||
|
||||
|
||||
@GetMapping("/getShowPeople")
|
||||
public AjaxResult getShowPeople() {
|
||||
return AjaxResult.success("操作成功!", redisService.getCacheObject(CacheConstants.TOP_30_ACTIVITY + ETop30Type.PEOPLE.getKey()));
|
||||
}
|
||||
|
||||
@GetMapping("/getShowAmount")
|
||||
public AjaxResult getShowAmount() {
|
||||
return AjaxResult.success("操作成功!", redisService.getCacheObject(CacheConstants.TOP_30_ACTIVITY + ETop30Type.AMOUNT.getKey()));
|
||||
}
|
||||
|
||||
@PostMapping("/topPeople")
|
||||
public AjaxResult topPeople(@RequestBody DirectStatisticsTop30QueryParam param) {
|
||||
param.setFaker(false);
|
||||
|
|
|
|||
|
|
@ -72,10 +72,8 @@ public class MemberStatisticsServiceImpl implements IMemberStatisticsService {
|
|||
result = generateFakeData(list, 30, fakerList, type);
|
||||
}
|
||||
for (DirectStatisticsTop30VO directStatisticsTop30VO : result) {
|
||||
if(param.getFaker()){
|
||||
directStatisticsTop30VO.setMemberCode(DataMaskingUtil.mask(directStatisticsTop30VO.getMemberCode(), 2, 2));
|
||||
directStatisticsTop30VO.setMemberName(DataMaskingUtil.mask(directStatisticsTop30VO.getMemberName(), 1, 0));
|
||||
}
|
||||
directStatisticsTop30VO.setMemberCode(DataMaskingUtil.mask(directStatisticsTop30VO.getMemberCode(), 2, 2));
|
||||
directStatisticsTop30VO.setMemberName(DataMaskingUtil.mask(directStatisticsTop30VO.getMemberName(), 1, 0));
|
||||
directStatisticsTop30VO.setNumberOfAmount(directStatisticsTop30VO.getNumberOfAmount().divide(new BigDecimal(10000)));
|
||||
}
|
||||
return result;
|
||||
|
|
|
|||
|
|
@ -19,7 +19,6 @@
|
|||
where
|
||||
del_flag = 0
|
||||
and order_status = 1
|
||||
AND (order_type in (1,2) or (order_Type = 3 and ORDER_TYPE_EXTEND = 1))
|
||||
and pay_time between #{param.startDate} and #{param.endDate}
|
||||
group by PK_REFERENCE
|
||||
) r
|
||||
|
|
@ -44,7 +43,6 @@
|
|||
where
|
||||
del_flag = 0
|
||||
and order_status = 1
|
||||
AND (order_type in (1,2) or (order_Type = 3 and ORDER_TYPE_EXTEND = 1))
|
||||
and pay_time between #{param.startDate} and #{param.endDate}
|
||||
group by PK_REFERENCE
|
||||
) r
|
||||
|
|
|
|||
Loading…
Reference in New Issue