Browse Source

我的考核列表提交审核通过

chenglong
汤建军 8 months ago
parent
commit
d0feb95bfe
  1. 6
      blade-service/logpm-supervise/src/main/java/com/logpm/supervise/service/impl/ClassifyServiceImpl.java

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

@ -45,6 +45,7 @@ import com.logpm.supervise.wrapper.IndicatorsWrapper;
import com.logpm.supervise.wrapper.PointsWrapper;
import lombok.AllArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springblade.common.constant.common.IsOrNoConstant;
import org.springblade.common.exception.CustomerException;
import org.springblade.common.utils.CommonUtil;
import org.springblade.core.mp.base.BaseServiceImpl;
@ -440,6 +441,11 @@ public class ClassifyServiceImpl extends BaseServiceImpl<ClassifyMapper, Classif
handleResource(instanceofDTO.getResourceList(), instanceofDTO.getId());
}
IndicatorsEntity indicatorsEntity = Func.copy(instanceofDTO, IndicatorsEntity.class);
if (Func.isNotEmpty(instanceofDTO.getObjectionRemark())){
indicatorsEntity.setIsObjection(1);
indicatorsEntity.setIndicatorsStatus(2);
}
return R.status(iIndicatorsService.updateById(indicatorsEntity));
}

Loading…
Cancel
Save