“djh”
2026-02-02 63264fe00b684bfec91ca5888f640971dabc0ed2
multi-system/src/main/java/com/gkhy/exam/system/service/impl/DocumentDestructionApplyServiceImpl.java
@@ -1,16 +1,15 @@
package com.gkhy.exam.system.service.impl;
import com.baomidou.mybatisplus.core.conditions.update.LambdaUpdateWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.gkhy.exam.common.api.CommonPage;
import com.gkhy.exam.common.api.CommonResult;
import com.gkhy.exam.common.constant.UserConstant;
import com.gkhy.exam.common.utils.PageUtils;
import com.gkhy.exam.common.utils.SecurityUtils;
import com.gkhy.exam.system.domain.CalibrationMonitoringEquipment;
import com.gkhy.exam.system.domain.DocumentDestructionApply;
import com.gkhy.exam.system.mapper.DocumentDestructionApplyMapper;
import com.gkhy.exam.system.service.DocumentDestructionApplyService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
@@ -57,7 +56,7 @@
    @Override
    public CommonResult deletedDocumentDestructionApply(Long id) {
        destructionApplyMapper.update(new DocumentDestructionApply(), new LambdaUpdateWrapper<DocumentDestructionApply>().eq(DocumentDestructionApply::getId, id)
                .set(DocumentDestructionApply::getDelFlag, UserConstant.DEPT_DISABLE).set(DocumentDestructionApply::getUpdateTime, LocalDateTime.now())
                .set(DocumentDestructionApply::getDelFlag, UserConstant.DISENABLE).set(DocumentDestructionApply::getUpdateTime, LocalDateTime.now())
                .set(DocumentDestructionApply::getUpdateBy, SecurityUtils.getUsername()));
        return CommonResult.success();
    }