瀏覽代碼

Merge branch 'develop' of http://192.168.11.14:51037/gitadmin/tuoheng_freeway into develop

tags/v1.0.0^2^2
wanjing 1 年之前
父節點
當前提交
1d8a2b8232
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. +2
    -1
      tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/service/inspectionfile/update/UpdateInspectionFileQuestionTypeService.java

+ 2
- 1
tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/service/inspectionfile/update/UpdateInspectionFileQuestionTypeService.java 查看文件

@@ -4,6 +4,7 @@ import cn.hutool.core.util.ObjectUtil;
import com.baomidou.mybatisplus.core.toolkit.Wrappers;
import com.tuoheng.admin.entity.InspectionFile;
import com.tuoheng.admin.entity.QuestionType;
import com.tuoheng.admin.enums.InspectionFileStatusEnum;
import com.tuoheng.admin.enums.code.inspectionfile.EditInspectionFileQuestionTypeCodeEnum;
import com.tuoheng.admin.mapper.InspectionFileMapper;
import com.tuoheng.admin.mapper.QuestionTypeMapper;
@@ -51,7 +52,7 @@ public class UpdateInspectionFileQuestionTypeService {
inspectionFile.setQuestionCode(questionType.getCode());
inspectionFile.setQuestionName(questionType.getContent());
inspectionFile.setQuestionId(questionType.getId());
inspectionFile.setStatus(15);
inspectionFile.setStatus(InspectionFileStatusEnum.CONFIRMED.getCode());
inspectionFile.setUpdateUser(userId);
inspectionFile.setUpdateTime(DateUtils.now());
Integer rowId = inspectionFileMapper.updateById(inspectionFile);

Loading…
取消
儲存