Browse Source

考核提交人信息

chenglong
汤建军 12 months ago
parent
commit
8198166528
  1. 4
      blade-service/logpm-supervise/src/main/java/com/logpm/supervise/service/impl/ClassifyServiceImpl.java

4
blade-service/logpm-supervise/src/main/java/com/logpm/supervise/service/impl/ClassifyServiceImpl.java

@ -42,6 +42,7 @@ import com.logpm.supervise.wrapper.PointsWrapper;
import lombok.AllArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springblade.core.mp.base.BaseServiceImpl;
import org.springblade.core.secure.BladeUser;
import org.springblade.core.secure.utils.AuthUtil;
import org.springblade.core.tool.api.R;
import org.springblade.core.tool.utils.BeanUtil;
@ -227,10 +228,13 @@ public class ClassifyServiceImpl extends BaseServiceImpl<ClassifyMapper, Classif
@Override
@Transactional
public R saveApiIndicators(IndicatorsDTO instanceofDTO) {
BladeUser user = AuthUtil.getUser();
//保存考核内容
IndicatorsEntity indicatorsEntity = Func.copy(instanceofDTO, IndicatorsEntity.class);
indicatorsEntity.setIndicatorsStatus(1);
indicatorsEntity.setAssessUserId(user.getUserId());
indicatorsEntity.setAssessDeptName(user.getNickName());
iIndicatorsService.save(indicatorsEntity);
if (Func.isNotEmpty(instanceofDTO.getResourceList())){

Loading…
Cancel
Save