fix:检查报告导出接口提交

pg_adapter
wangxy 8 months ago
parent 7f7c9e3315
commit be5f47e305

@ -18,6 +18,7 @@ import javax.annotation.Resource;
import java.util.Arrays;
import java.util.Date;
import java.util.List;
import java.util.Objects;
/**
* packageName com.ruoyi.web.controller.manager
@ -51,7 +52,9 @@ public class CheckReportManager {
.eq(TdCheckType::getCheckId, checkReportDTO.getCheckId())
.remove();
} else {
tdCheckReport.setCheckState("2");
if(Objects.isNull(tdCheckReport.getCheckState())){
tdCheckReport.setCheckState("2");
}
tdCheckReport.setDepart(ShiroUtils.getSysUser().getDept().getDeptName());
tdCheckReport.setAdduser(ShiroUtils.getSysUser().getLoginName());
tdCheckReport.setCreateTime(new Date());

Loading…
Cancel
Save