|
|
@@ -5,6 +5,7 @@ import com.baomidou.mybatisplus.core.toolkit.Wrappers; |
|
|
|
import com.tuoheng.admin.conver.InspectionConverMapper; |
|
|
|
import com.tuoheng.admin.entity.*; |
|
|
|
import com.tuoheng.admin.enums.InspectionStatusEnum; |
|
|
|
import com.tuoheng.admin.enums.InspectionTaskTypeEnum; |
|
|
|
import com.tuoheng.admin.enums.InspectionTypeEnum; |
|
|
|
import com.tuoheng.admin.enums.MarkEnum; |
|
|
|
import com.tuoheng.admin.enums.code.inspection.ResubmitInspectionCodeEnum; |
|
|
@@ -201,6 +202,7 @@ public class ResubmitInspectionService { |
|
|
|
String code = DateUtils.generateCode("GSDC"); |
|
|
|
inspection.setCode(code); |
|
|
|
inspection.setId(""); |
|
|
|
inspection.setType(InspectionTaskTypeEnum.TEMPORARY_INSPECTION.getCode()); // 更改为“单次任务”类型 |
|
|
|
inspection.setTenantId(tenantId); |
|
|
|
inspection.setDeptId(dept.getId()); |
|
|
|
inspection.setCreateUser(user.getId()); |