|
@@ -10,6 +10,7 @@ import com.ruoyi.common.core.domain.entity.SysDept;
|
|
|
import com.ruoyi.common.core.domain.entity.SysUser;
|
|
|
import com.ruoyi.common.utils.DateUtils;
|
|
|
import com.ruoyi.common.utils.SecurityUtils;
|
|
|
+import com.ruoyi.common.utils.StringUtils;
|
|
|
import com.ruoyi.system.domain.ProposalUnitReply;
|
|
|
import com.ruoyi.system.domain.ProposalUser;
|
|
|
import com.ruoyi.system.domain.ZxFj;
|
|
@@ -107,8 +108,11 @@ public class ProposalInfoServiceImpl implements IProposalInfoService
|
|
|
Map<String,Object> map = new HashMap<>();
|
|
|
List<ProposalInfo> proposalInfos = proposalInfoMapper.selectProposalInfoList(proposalInfo);
|
|
|
int totle = proposalInfos.size();
|
|
|
+ //待审查
|
|
|
int dsc = 0;
|
|
|
+ //以立案
|
|
|
int yla = 0;
|
|
|
+ //不予立案
|
|
|
int byla = 0;
|
|
|
for (ProposalInfo info : proposalInfos) {
|
|
|
if("1".equals(info.getProposalProgress())){
|
|
@@ -119,11 +123,53 @@ public class ProposalInfoServiceImpl implements IProposalInfoService
|
|
|
yla++;
|
|
|
}
|
|
|
}
|
|
|
+ //办理中
|
|
|
+ int blz = 0;
|
|
|
+ //不满意
|
|
|
+ int bmy = 0;
|
|
|
+ //已办结
|
|
|
+ int ybj = 0;
|
|
|
+ //未办结
|
|
|
+ int wbj = 0;
|
|
|
+ //待交办
|
|
|
+ int djb = 0;
|
|
|
+ //以交办
|
|
|
+ int yjb = 0;
|
|
|
+
|
|
|
+ for (ProposalInfo info : proposalInfos) {
|
|
|
+ if(!"1".equals(info.getProposalProgress()) && !"3".equals(info.getProposalProgress()) && !"8".equals(info.getProposalProgress())){
|
|
|
+ blz++;
|
|
|
+ }
|
|
|
+ if(StringUtils.isNotEmpty(info.getSatisfaction()) && "0".equals(info.getSatisfaction())){
|
|
|
+ bmy++;
|
|
|
+ }
|
|
|
+ if("8".equals(info.getProposalProgress())) {
|
|
|
+ ybj++;
|
|
|
+ }
|
|
|
+ if(!"8".equals(info.getProposalProgress())) {
|
|
|
+ wbj++;
|
|
|
+ }
|
|
|
+ if(Integer.parseInt(info.getSatisfaction())>4){
|
|
|
+ yjb++;
|
|
|
+ }
|
|
|
+ if(Integer.parseInt(info.getSatisfaction())<=4){
|
|
|
+ djb++;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
map.put("totle",totle);
|
|
|
map.put("dsc",dsc);
|
|
|
map.put("yla",yla);
|
|
|
map.put("byla",byla);
|
|
|
|
|
|
+ map.put("blz",blz);
|
|
|
+ map.put("bmy",bmy);
|
|
|
+ map.put("ybj",ybj);
|
|
|
+ map.put("wbj",wbj);
|
|
|
+ map.put("yjb",yjb);
|
|
|
+ map.put("djb",djb);
|
|
|
+
|
|
|
return AjaxResult.success(map);
|
|
|
}
|
|
|
|