|
@@ -36,10 +36,7 @@ import com.zhongzheng.modules.inform.vo.InformUserVo;
|
|
|
import com.zhongzheng.modules.inform.service.IInformUserService;
|
|
import com.zhongzheng.modules.inform.service.IInformUserService;
|
|
|
|
|
|
|
|
import javax.swing.plaf.nimbus.State;
|
|
import javax.swing.plaf.nimbus.State;
|
|
|
-import java.util.ArrayList;
|
|
|
|
|
-import java.util.Collection;
|
|
|
|
|
-import java.util.Collections;
|
|
|
|
|
-import java.util.List;
|
|
|
|
|
|
|
+import java.util.*;
|
|
|
import java.util.stream.Collectors;
|
|
import java.util.stream.Collectors;
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
@@ -264,4 +261,12 @@ public class InformUserServiceImpl extends ServiceImpl<InformUserMapper, InformU
|
|
|
public List<MockApplyVo> listMockApply() {
|
|
public List<MockApplyVo> listMockApply() {
|
|
|
return baseMapper.listMockApply();
|
|
return baseMapper.listMockApply();
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
|
|
+ @Override
|
|
|
|
|
+ public InformUserVo selectLastUnStudyMsg(Long userId) {
|
|
|
|
|
+ Calendar cal = new GregorianCalendar();
|
|
|
|
|
+ cal.add(Calendar.DATE, -30);
|
|
|
|
|
+ Long time = cal.getTimeInMillis() / 1000;
|
|
|
|
|
+ return this.baseMapper.selectLastUnStudyMsg(time,userId);
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|