|
|
|
@ -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())){ |
|
|
|
|