补充提交
This commit is contained in:
parent
0076768378
commit
ce45ac3f21
@ -1,5 +1,6 @@
|
||||
package com.cm.bigdata.service.deptassesschangescore.impl;
|
||||
|
||||
import com.alibaba.fastjson.JSONObject;
|
||||
import com.cm.bigdata.config.properties.ScoreProperties;
|
||||
import com.cm.bigdata.pojo.dtos.deptassess.DeptAssessAllQuarterDTO;
|
||||
import com.cm.bigdata.pojo.dtos.deptassess.DeptAssessDTO;
|
||||
@ -51,6 +52,8 @@ public class DeptAssessChangeScoreServiceImpl extends AbstractService implements
|
||||
private UserServiceImpl userService;
|
||||
|
||||
|
||||
|
||||
|
||||
public Double getDeptChangeScore(String deptAssessId) throws SearchException{
|
||||
double socre = 0.0;
|
||||
for (DeptAssessChangeScoreDTO d : this.listDeptAssessChangeScoreByDeptAssessId(deptAssessId)) {
|
||||
@ -152,10 +155,10 @@ public class DeptAssessChangeScoreServiceImpl extends AbstractService implements
|
||||
if("2".equals(scoreType)){
|
||||
dto.setScoreWay("自定义减分");
|
||||
}
|
||||
userService.getDynamicUserInfoByUserId(user)
|
||||
JSONObject userD = userService.getDynamicUserInfoByUserId(user);
|
||||
dto.setScoreCause(scoreCause);
|
||||
dto.setChangeScoreTime(time);
|
||||
dto.setChangeScoreUser(user);
|
||||
dto.setChangeScoreUser(userD.getString("userName"));
|
||||
return dto;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user