人数统计bug修复
This commit is contained in:
parent
ecf6dc2021
commit
b465bef273
|
|
@ -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));
|
||||
|
|
|
|||
Loading…
Reference in New Issue