人数统计bug修复
This commit is contained in:
@@ -1525,10 +1525,10 @@ public class UserServiceImpl extends ServiceImpl<UserDao, UserEntity> implements
|
|||||||
@Override
|
@Override
|
||||||
public int userMessage(String date, int type, String qdCode, Integer vipType) {
|
public int userMessage(String date, int type, String qdCode, Integer vipType) {
|
||||||
DateTime dateTime;
|
DateTime dateTime;
|
||||||
if (type == 0) {
|
if (type == 1) {
|
||||||
dateTime = DateUtil.beginOfDay(DateUtil.parseDate(date));
|
dateTime = DateUtil.beginOfDay(DateUtil.parseDate(date));
|
||||||
|
|
||||||
} else if (type == 1) {
|
} else if (type == 2) {
|
||||||
dateTime = DateUtil.beginOfMonth(DateUtil.parseDate(date));
|
dateTime = DateUtil.beginOfMonth(DateUtil.parseDate(date));
|
||||||
} else {
|
} else {
|
||||||
dateTime = DateUtil.beginOfYear(DateUtil.parseDate(date));
|
dateTime = DateUtil.beginOfYear(DateUtil.parseDate(date));
|
||||||
|
|||||||
Reference in New Issue
Block a user