Browse Source

feat(all): 工单模块

1 删除无用的包
dev
zhaoqiaobo 2 months ago
parent
commit
a1d754715b
  1. 60
      blade-service/logpm-aftersales/src/main/java/com/logpm/aftersales/controller/AftersalesWorkOrderController.java

60
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.ExcelWriter;
import com.alibaba.excel.write.metadata.WriteSheet; import com.alibaba.excel.write.metadata.WriteSheet;
import com.alibaba.fastjson.JSONObject; 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.ObjectUtils;
import com.baomidou.mybatisplus.core.toolkit.Wrappers; 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.AftersalesWorkOrderDTO;
import com.logpm.aftersales.dto.AftersalesWorkOrderListExcelDTO; 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.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.entity.BasicdataWarehouseEntity;
import com.logpm.basicdata.feign.IBasicdataWarehouseClient; import com.logpm.basicdata.feign.IBasicdataWarehouseClient;
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;
import com.github.xiaoymin.knife4j.annotations.ApiOperationSupport;
import lombok.AllArgsConstructor; import lombok.AllArgsConstructor;
import javax.servlet.ServletOutputStream;
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.boot.ctrl.BladeController;
import org.springblade.core.excel.util.ExcelUtil;
import org.springblade.core.log.exception.ServiceException; 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.Condition;
import org.springblade.core.mp.support.Query; 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.api.R;
import org.springblade.core.tool.utils.DateUtil;
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.web.bind.annotation.*; import org.springframework.web.bind.annotation.GetMapping;
import com.baomidou.mybatisplus.core.metadata.IPage; import org.springframework.web.bind.annotation.PostMapping;
import com.logpm.aftersales.vo.AftersalesWorkOrderVO; import org.springframework.web.bind.annotation.PutMapping;
import com.logpm.aftersales.excel.AftersalesWorkOrderExcel; import org.springframework.web.bind.annotation.RequestBody;
import com.logpm.aftersales.wrapper.AftersalesWorkOrderWrapper; import org.springframework.web.bind.annotation.RequestMapping;
import org.springblade.core.boot.ctrl.BladeController; import org.springframework.web.bind.annotation.RequestParam;
import org.springblade.core.tool.utils.DateUtil; import org.springframework.web.bind.annotation.RestController;
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 javax.servlet.ServletOutputStream;
import javax.servlet.http.HttpServletResponse;
import javax.validation.Valid;
import java.io.IOException; import java.io.IOException;
import java.math.BigDecimal; import java.math.BigDecimal;
import java.text.SimpleDateFormat; import java.text.SimpleDateFormat;
import java.time.LocalDate; import java.util.ArrayList;
import java.time.temporal.ChronoUnit; import java.util.Arrays;
import java.util.*; import java.util.Date;
import java.util.concurrent.atomic.AtomicReference; import java.util.List;
import java.util.Map;
import java.util.Objects;
import java.util.stream.Collectors; import java.util.stream.Collectors;
import javax.servlet.http.HttpServletResponse;
import static io.vertx.sqlclient.data.NullValue.LocalDateTime;
/** /**
* 客服异常工单 控制器 * 客服异常工单 控制器

Loading…
Cancel
Save