人数统计bug修复

This commit is contained in:
张松 2025-01-22 18:08:38 +08:00
parent ecf6dc2021
commit b465bef273
1 changed files with 2 additions and 2 deletions

View File

@ -1525,10 +1525,10 @@ public class UserServiceImpl extends ServiceImpl<UserDao, UserEntity> implements
@Override
public int userMessage(String date, int type, String qdCode, Integer vipType) {
DateTime dateTime;
if (type == 0) {
if (type == 1) {
dateTime = DateUtil.beginOfDay(DateUtil.parseDate(date));
} else if (type == 1) {
} else if (type == 2) {
dateTime = DateUtil.beginOfMonth(DateUtil.parseDate(date));
} else {
dateTime = DateUtil.beginOfYear(DateUtil.parseDate(date));