|
|
@ -7,7 +7,9 @@ import org.jeecg.modules.demo.abilityEvaluation.entity.PersonalAbilityEvaluation |
|
|
|
import org.jeecg.modules.demo.abilityEvaluation.mapper.PersonalAbilityEvaluationCollectMapper; |
|
|
|
import org.jeecg.modules.demo.abilityEvaluation.mapper.PersonalAbilityEvaluationCollectMapper; |
|
|
|
import org.jeecg.modules.demo.abilityEvaluation.service.IPersonalAbilityEvaluationCollectService; |
|
|
|
import org.jeecg.modules.demo.abilityEvaluation.service.IPersonalAbilityEvaluationCollectService; |
|
|
|
import org.jeecg.modules.demo.abilityEvaluation.service.IPersonalAbilityEvaluationService; |
|
|
|
import org.jeecg.modules.demo.abilityEvaluation.service.IPersonalAbilityEvaluationService; |
|
|
|
|
|
|
|
import org.jeecg.modules.system.entity.SysDepart; |
|
|
|
import org.jeecg.modules.system.entity.SysUser; |
|
|
|
import org.jeecg.modules.system.entity.SysUser; |
|
|
|
|
|
|
|
import org.jeecg.modules.system.service.ISysDepartService; |
|
|
|
import org.jeecg.modules.system.service.ISysUserService; |
|
|
|
import org.jeecg.modules.system.service.ISysUserService; |
|
|
|
import org.springframework.beans.factory.annotation.Autowired; |
|
|
|
import org.springframework.beans.factory.annotation.Autowired; |
|
|
|
import org.springframework.stereotype.Service; |
|
|
|
import org.springframework.stereotype.Service; |
|
|
@ -35,6 +37,9 @@ public class PersonalAbilityEvaluationCollectServiceImpl extends ServiceImpl<Per |
|
|
|
@Autowired |
|
|
|
@Autowired |
|
|
|
private ISysUserService iSysUserService; |
|
|
|
private ISysUserService iSysUserService; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Autowired |
|
|
|
|
|
|
|
private ISysDepartService iSysDepartService; |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|
* @Title: batchSave |
|
|
|
* @Title: batchSave |
|
|
|
* @Description: |
|
|
|
* @Description: |
|
|
@ -81,7 +86,9 @@ public class PersonalAbilityEvaluationCollectServiceImpl extends ServiceImpl<Per |
|
|
|
List<PersonalAbilityEvaluation> list = capacityListMap.get(k); |
|
|
|
List<PersonalAbilityEvaluation> list = capacityListMap.get(k); |
|
|
|
PersonalAbilityEvaluationCollect person = new PersonalAbilityEvaluationCollect(); |
|
|
|
PersonalAbilityEvaluationCollect person = new PersonalAbilityEvaluationCollect(); |
|
|
|
person.setAnnualCompP(projectId); |
|
|
|
person.setAnnualCompP(projectId); |
|
|
|
person.setDepetId(sysUser.getDepartIds()); |
|
|
|
SysDepart sysDepart = iSysDepartService.getOne(new LambdaQueryWrapper<SysDepart>().eq(SysDepart::getOrgCode,sysUser.getOrgCode())); |
|
|
|
|
|
|
|
// bean.setDepet(sysDepart.getId());
|
|
|
|
|
|
|
|
person.setDepetId(sysDepart.getId()); |
|
|
|
person.setWorkOn(workNo); |
|
|
|
person.setWorkOn(workNo); |
|
|
|
person.setName(sysUser.getRealname()); |
|
|
|
person.setName(sysUser.getRealname()); |
|
|
|
person.setCapacityId(list.get(0).getCapacityId()); |
|
|
|
person.setCapacityId(list.get(0).getCapacityId()); |
|
|
|