|
@@ -1,49 +1,33 @@
|
|
|
package org.jeecg.modules.ctop.controller;
|
|
|
|
|
|
-import java.io.FileInputStream;
|
|
|
-import java.util.Arrays;
|
|
|
-import java.util.List;
|
|
|
-import java.util.Map;
|
|
|
-import java.io.IOException;
|
|
|
-import java.io.UnsupportedEncodingException;
|
|
|
-import java.net.URLDecoder;
|
|
|
-import javax.servlet.http.HttpServletRequest;
|
|
|
-import javax.servlet.http.HttpServletResponse;
|
|
|
-
|
|
|
import cn.com.ctop.common.module.annotation.AutoLog;
|
|
|
import cn.com.ctop.common.module.utils.QueryGenerator;
|
|
|
import com.alibaba.excel.event.AnalysisEventListener;
|
|
|
-import org.jeecg.common.api.vo.Result;
|
|
|
-import org.jeecg.common.util.oConvertUtils;
|
|
|
-import java.util.Date;
|
|
|
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
|
|
|
import com.baomidou.mybatisplus.core.metadata.IPage;
|
|
|
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
|
|
+import io.swagger.annotations.Api;
|
|
|
+import io.swagger.annotations.ApiOperation;
|
|
|
import lombok.extern.slf4j.Slf4j;
|
|
|
-
|
|
|
+import org.jeecg.common.api.vo.Result;
|
|
|
import org.jeecg.modules.ctop.entity.BytedanceCustomerDdTbtjData;
|
|
|
import org.jeecg.modules.ctop.service.IBytedanceCustomerDdTbtjDataService;
|
|
|
import org.jeecg.modules.excelutil.BytedanceCustomTbtjDataExcelListener;
|
|
|
import org.jeecg.modules.excelutil.ExcelUtils;
|
|
|
-import org.jeecg.modules.excelutil.JhsBakendDataExcelListener;
|
|
|
import org.jeecg.modules.excelutil.entity.BytedanceCustomTbtjDataEntity;
|
|
|
-import org.jeecg.modules.excelutil.entity.JhsBakendDataEntity;
|
|
|
-import org.jeecgframework.poi.excel.ExcelImportUtil;
|
|
|
-import org.jeecgframework.poi.excel.def.NormalExcelConstants;
|
|
|
-import org.jeecgframework.poi.excel.entity.ExportParams;
|
|
|
-import org.jeecgframework.poi.excel.entity.ImportParams;
|
|
|
-import org.jeecgframework.poi.excel.view.JeecgEntityExcelView;
|
|
|
-
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.web.bind.annotation.*;
|
|
|
import org.springframework.web.multipart.MultipartFile;
|
|
|
import org.springframework.web.multipart.MultipartHttpServletRequest;
|
|
|
-import org.springframework.web.servlet.ModelAndView;
|
|
|
-import com.alibaba.fastjson.JSON;
|
|
|
-import io.swagger.annotations.Api;
|
|
|
-import io.swagger.annotations.ApiOperation;
|
|
|
|
|
|
- /**
|
|
|
+import javax.servlet.http.HttpServletRequest;
|
|
|
+import javax.servlet.http.HttpServletResponse;
|
|
|
+import java.io.FileInputStream;
|
|
|
+import java.io.IOException;
|
|
|
+import java.util.Arrays;
|
|
|
+import java.util.Map;
|
|
|
+
|
|
|
+/**
|
|
|
* 淘宝特价版客户反馈数据
|
|
|
* @author jeecg-boot
|
|
|
* @date 2021-04-22
|
|
@@ -73,6 +57,7 @@ public class BytedanceCustomerDdTbtjDataController {
|
|
|
HttpServletRequest req) {
|
|
|
Result<IPage<BytedanceCustomerDdTbtjData>> result = new Result<>();
|
|
|
QueryWrapper<BytedanceCustomerDdTbtjData> queryWrapper = QueryGenerator.initQueryWrapper(bytedanceCustomerDdTbtjData, req.getParameterMap());
|
|
|
+ queryWrapper.orderByDesc("state_date");
|
|
|
Page<BytedanceCustomerDdTbtjData> page = new Page<BytedanceCustomerDdTbtjData>(pageNo, pageSize);
|
|
|
IPage<BytedanceCustomerDdTbtjData> pageList = bytedanceCustomerDdTbtjDataService.page(page, queryWrapper);
|
|
|
result.setSuccess(true);
|