Browse Source

Merge branch 'develop' of gitadmin/tuoheng_freeway into release

tags/v1.0.0^2
chengwang 1 year ago
parent
commit
ad81e6a3fc
1 changed files with 2 additions and 1 deletions
  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 View File

@@ -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…
Cancel
Save