首页数量
This commit is contained in:
parent
f38739bab3
commit
4e314ca192
|
|
@ -9,10 +9,10 @@ public class IndexNum {
|
|||
@ApiModelProperty("代办事项数量")
|
||||
private Integer stayNum = 0;
|
||||
|
||||
@ApiModelProperty("履职异常数量")
|
||||
@ApiModelProperty("智能预警数量")
|
||||
private Integer warnNum = 0;
|
||||
|
||||
@ApiModelProperty("消息通知")
|
||||
@ApiModelProperty("工作通知")
|
||||
private Integer messageNum = 0;
|
||||
|
||||
public Integer getStayNum() {
|
||||
|
|
|
|||
|
|
@ -289,6 +289,8 @@ public class PcPersonalController extends com.rzyc.controller.BaseController {
|
|||
return result;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* 代办事项 履职异常 消息通知 数量
|
||||
*/
|
||||
|
|
@ -312,16 +314,7 @@ public class PcPersonalController extends com.rzyc.controller.BaseController {
|
|||
System.out.println("stayNum -> "+stayNum);
|
||||
|
||||
|
||||
//履职异常数
|
||||
String time = DateUtils.getNowDateTimeStr("yyyy");
|
||||
List<ListFactor> listFactors = listFactorMapper.userListFactor(listPerformId,time);
|
||||
handleFactorAlert(listFactors);
|
||||
for (ListFactor listFactor : listFactors){
|
||||
System.out.println("getFactorAlert -> "+listFactor.getFactorAlert());
|
||||
if(2 == listFactor.getFactorAlert() || 3 == listFactor.getFactorAlert()){
|
||||
warnNum++;
|
||||
}
|
||||
}
|
||||
//智能预警数量
|
||||
System.out.println("warnNum -> "+warnNum);
|
||||
|
||||
indexNum.setStayNum(stayNum);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user