|
|
@ -20,15 +20,12 @@ import com.alibaba.fastjson.JSONObject; |
|
|
|
import com.baomidou.mybatisplus.core.toolkit.ObjectUtils; |
|
|
|
import com.baomidou.mybatisplus.core.toolkit.ObjectUtils; |
|
|
|
import com.logpm.aftersales.dto.AftersalesWorkOrderDTO; |
|
|
|
import com.logpm.aftersales.dto.AftersalesWorkOrderDTO; |
|
|
|
import com.logpm.aftersales.dto.AftersalesWorkOrderListExcelDTO; |
|
|
|
import com.logpm.aftersales.dto.AftersalesWorkOrderListExcelDTO; |
|
|
|
import com.logpm.aftersales.entity.AftersaleSurveyRecordEntity; |
|
|
|
|
|
|
|
import com.logpm.aftersales.entity.AftersalesAppealEntity; |
|
|
|
import com.logpm.aftersales.entity.AftersalesAppealEntity; |
|
|
|
import com.logpm.aftersales.entity.AftersalesSettlementEntity; |
|
|
|
import com.logpm.aftersales.entity.AftersalesSettlementEntity; |
|
|
|
import com.logpm.aftersales.excel.AftersalesWorkOrderImporter; |
|
|
|
import com.logpm.aftersales.excel.AftersalesWorkOrderImporter; |
|
|
|
import com.logpm.aftersales.mapper.AftersalesCompletionRecordMapper; |
|
|
|
|
|
|
|
import com.logpm.aftersales.service.IAftersalesCompletionRecordService; |
|
|
|
import com.logpm.aftersales.service.IAftersalesCompletionRecordService; |
|
|
|
import com.logpm.basicdata.entity.BasicdataWarehouseEntity; |
|
|
|
import com.logpm.basicdata.entity.BasicdataWarehouseEntity; |
|
|
|
import com.logpm.basicdata.feign.IBasicdataWarehouseClient; |
|
|
|
import com.logpm.basicdata.feign.IBasicdataWarehouseClient; |
|
|
|
import com.xxl.job.core.handler.annotation.XxlJob; |
|
|
|
|
|
|
|
import io.swagger.annotations.Api; |
|
|
|
import io.swagger.annotations.Api; |
|
|
|
import io.swagger.annotations.ApiOperation; |
|
|
|
import io.swagger.annotations.ApiOperation; |
|
|
|
import io.swagger.annotations.ApiParam; |
|
|
|
import io.swagger.annotations.ApiParam; |
|
|
@ -37,16 +34,13 @@ import lombok.AllArgsConstructor; |
|
|
|
import javax.validation.Valid; |
|
|
|
import javax.validation.Valid; |
|
|
|
|
|
|
|
|
|
|
|
import lombok.extern.slf4j.Slf4j; |
|
|
|
import lombok.extern.slf4j.Slf4j; |
|
|
|
import org.springblade.common.constant.aftersales.WorkOrderStatusConstant; |
|
|
|
|
|
|
|
import org.springblade.core.log.exception.ServiceException; |
|
|
|
import org.springblade.core.log.exception.ServiceException; |
|
|
|
import org.springblade.core.secure.BladeUser; |
|
|
|
import org.springblade.core.secure.BladeUser; |
|
|
|
import org.springblade.core.mp.support.Condition; |
|
|
|
import org.springblade.core.mp.support.Condition; |
|
|
|
import org.springblade.core.mp.support.Query; |
|
|
|
import org.springblade.core.mp.support.Query; |
|
|
|
import org.springblade.core.secure.utils.AuthUtil; |
|
|
|
|
|
|
|
import org.springblade.core.tool.api.R; |
|
|
|
import org.springblade.core.tool.api.R; |
|
|
|
import org.springblade.core.tool.utils.Func; |
|
|
|
import org.springblade.core.tool.utils.Func; |
|
|
|
import org.springblade.system.entity.User; |
|
|
|
import org.springblade.system.entity.User; |
|
|
|
import org.springframework.scheduling.annotation.Scheduled; |
|
|
|
|
|
|
|
import org.springframework.web.bind.annotation.*; |
|
|
|
import org.springframework.web.bind.annotation.*; |
|
|
|
import com.baomidou.mybatisplus.core.metadata.IPage; |
|
|
|
import com.baomidou.mybatisplus.core.metadata.IPage; |
|
|
|
import com.logpm.aftersales.entity.AftersalesWorkOrderEntity; |
|
|
|
import com.logpm.aftersales.entity.AftersalesWorkOrderEntity; |
|
|
@ -60,10 +54,7 @@ import org.springblade.core.excel.util.ExcelUtil; |
|
|
|
import org.springframework.web.multipart.MultipartFile; |
|
|
|
import org.springframework.web.multipart.MultipartFile; |
|
|
|
import springfox.documentation.annotations.ApiIgnore; |
|
|
|
import springfox.documentation.annotations.ApiIgnore; |
|
|
|
|
|
|
|
|
|
|
|
import java.util.ArrayList; |
|
|
|
import java.util.*; |
|
|
|
import java.util.Date; |
|
|
|
|
|
|
|
import java.util.Map; |
|
|
|
|
|
|
|
import java.util.List; |
|
|
|
|
|
|
|
import javax.servlet.http.HttpServletResponse; |
|
|
|
import javax.servlet.http.HttpServletResponse; |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
@ -727,6 +718,7 @@ public class AftersalesWorkOrderController extends BladeController { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@GetMapping("/exportAllWorkOrder") |
|
|
|
@GetMapping("/exportAllWorkOrder") |
|
|
|
@ApiOperationSupport(order = 9) |
|
|
|
@ApiOperationSupport(order = 9) |
|
|
|
@ApiOperation(value = "导出数据", notes = "传入aftersalesWorkOrder") |
|
|
|
@ApiOperation(value = "导出数据", notes = "传入aftersalesWorkOrder") |
|
|
|