From a1d754715b3ffaf51686560c479f9fbd08a3130e Mon Sep 17 00:00:00 2001 From: zhaoqiaobo <583671871@qq.com> Date: Fri, 22 Nov 2024 10:21:21 +0800 Subject: [PATCH] =?UTF-8?q?feat(all):=20=E5=B7=A5=E5=8D=95=E6=A8=A1?= =?UTF-8?q?=E5=9D=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 1 删除无用的包 --- .../AftersalesWorkOrderController.java | 60 ++++++++++++------- 1 file changed, 37 insertions(+), 23 deletions(-) diff --git a/blade-service/logpm-aftersales/src/main/java/com/logpm/aftersales/controller/AftersalesWorkOrderController.java b/blade-service/logpm-aftersales/src/main/java/com/logpm/aftersales/controller/AftersalesWorkOrderController.java index d385763bd..8a0314a18 100644 --- a/blade-service/logpm-aftersales/src/main/java/com/logpm/aftersales/controller/AftersalesWorkOrderController.java +++ b/blade-service/logpm-aftersales/src/main/java/com/logpm/aftersales/controller/AftersalesWorkOrderController.java @@ -20,55 +20,69 @@ import com.alibaba.excel.EasyExcel; import com.alibaba.excel.ExcelWriter; import com.alibaba.excel.write.metadata.WriteSheet; import com.alibaba.fastjson.JSONObject; +import com.baomidou.mybatisplus.core.metadata.IPage; import com.baomidou.mybatisplus.core.toolkit.ObjectUtils; import com.baomidou.mybatisplus.core.toolkit.Wrappers; +import com.github.xiaoymin.knife4j.annotations.ApiOperationSupport; import com.logpm.aftersales.dto.AftersalesWorkOrderDTO; import com.logpm.aftersales.dto.AftersalesWorkOrderListExcelDTO; -import com.logpm.aftersales.entity.*; +import com.logpm.aftersales.entity.AftersaleSurveyRecordEntity; +import com.logpm.aftersales.entity.AftersalesAppealEntity; +import com.logpm.aftersales.entity.AftersalesCompletionRecipientEntity; +import com.logpm.aftersales.entity.AftersalesCompletionRecordEntity; +import com.logpm.aftersales.entity.AftersalesPersonResponsibleEntity; +import com.logpm.aftersales.entity.AftersalesSettlementEntity; +import com.logpm.aftersales.entity.AftersalesWorkOrderEntity; +import com.logpm.aftersales.excel.AftersalesWorkOrderExcel; import com.logpm.aftersales.excel.AftersalesWorkOrderImporter; -import com.logpm.aftersales.service.*; +import com.logpm.aftersales.service.IAftersaleSurveyRecordService; +import com.logpm.aftersales.service.IAftersalesCompletionRecipientService; +import com.logpm.aftersales.service.IAftersalesCompletionRecordService; +import com.logpm.aftersales.service.IAftersalesPersonResponsibleService; +import com.logpm.aftersales.service.IAftersalesWorkOrderService; +import com.logpm.aftersales.vo.AftersalesWorkOrderVO; +import com.logpm.aftersales.wrapper.AftersalesWorkOrderWrapper; import com.logpm.basicdata.entity.BasicdataWarehouseEntity; import com.logpm.basicdata.feign.IBasicdataWarehouseClient; import io.swagger.annotations.Api; import io.swagger.annotations.ApiOperation; import io.swagger.annotations.ApiParam; -import com.github.xiaoymin.knife4j.annotations.ApiOperationSupport; import lombok.AllArgsConstructor; - -import javax.servlet.ServletOutputStream; -import javax.validation.Valid; - import lombok.extern.slf4j.Slf4j; -import org.springblade.common.constant.aftersales.WorkOrderStatusConstant; +import org.springblade.core.boot.ctrl.BladeController; +import org.springblade.core.excel.util.ExcelUtil; import org.springblade.core.log.exception.ServiceException; -import org.springblade.core.secure.BladeUser; import org.springblade.core.mp.support.Condition; import org.springblade.core.mp.support.Query; +import org.springblade.core.secure.BladeUser; import org.springblade.core.tool.api.R; +import org.springblade.core.tool.utils.DateUtil; import org.springblade.core.tool.utils.Func; import org.springblade.system.entity.User; -import org.springframework.web.bind.annotation.*; -import com.baomidou.mybatisplus.core.metadata.IPage; -import com.logpm.aftersales.vo.AftersalesWorkOrderVO; -import com.logpm.aftersales.excel.AftersalesWorkOrderExcel; -import com.logpm.aftersales.wrapper.AftersalesWorkOrderWrapper; -import org.springblade.core.boot.ctrl.BladeController; -import org.springblade.core.tool.utils.DateUtil; -import org.springblade.core.excel.util.ExcelUtil; +import org.springframework.web.bind.annotation.GetMapping; +import org.springframework.web.bind.annotation.PostMapping; +import org.springframework.web.bind.annotation.PutMapping; +import org.springframework.web.bind.annotation.RequestBody; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RequestParam; +import org.springframework.web.bind.annotation.RestController; import org.springframework.web.multipart.MultipartFile; import springfox.documentation.annotations.ApiIgnore; +import javax.servlet.ServletOutputStream; +import javax.servlet.http.HttpServletResponse; +import javax.validation.Valid; import java.io.IOException; import java.math.BigDecimal; import java.text.SimpleDateFormat; -import java.time.LocalDate; -import java.time.temporal.ChronoUnit; -import java.util.*; -import java.util.concurrent.atomic.AtomicReference; +import java.util.ArrayList; +import java.util.Arrays; +import java.util.Date; +import java.util.List; +import java.util.Map; +import java.util.Objects; import java.util.stream.Collectors; -import javax.servlet.http.HttpServletResponse; -import static io.vertx.sqlclient.data.NullValue.LocalDateTime; /** * 客服异常工单 控制器