|
|
@@ -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); |