|
@@ -1,21 +1,19 @@
|
|
|
-package com.cuidian.srm.cuspCode.controller;
|
|
|
+package org.jeecg.modules.cuspCode.controller;
|
|
|
|
|
|
-import java.io.UnsupportedEncodingException;
|
|
|
import java.io.IOException;
|
|
|
-import java.net.URLDecoder;
|
|
|
import java.util.ArrayList;
|
|
|
import java.util.Arrays;
|
|
|
import java.util.List;
|
|
|
import java.util.Map;
|
|
|
-import java.util.stream.Collectors;
|
|
|
import java.util.HashMap;
|
|
|
|
|
|
import javax.servlet.http.HttpServletRequest;
|
|
|
import javax.servlet.http.HttpServletResponse;
|
|
|
|
|
|
-import com.cuidian.srm.baseCode.entity.BaseProductArchive;
|
|
|
-import com.cuidian.srm.baseCode.service.ISerialPatternService;
|
|
|
+import org.jeecg.modules.baseCode.service.ISerialPatternService;
|
|
|
import org.apache.commons.lang.StringUtils;
|
|
|
+import org.jeecg.modules.cuspCode.entity.CuspSupplierEvaluation;
|
|
|
+import org.jeecg.modules.cuspCode.entity.CuspSupplierEvaluationScore;
|
|
|
import org.jeecgframework.poi.excel.ExcelImportUtil;
|
|
|
import org.jeecgframework.poi.excel.def.NormalExcelConstants;
|
|
|
import org.jeecgframework.poi.excel.entity.ExportParams;
|
|
@@ -27,11 +25,9 @@ import org.jeecg.common.api.vo.Result;
|
|
|
import org.jeecg.common.system.query.QueryGenerator;
|
|
|
import org.jeecg.common.system.query.QueryRuleEnum;
|
|
|
import org.jeecg.common.util.oConvertUtils;
|
|
|
-import com.cuidian.srm.cuspCode.entity.CuspSupplierEvaluationScore;
|
|
|
-import com.cuidian.srm.cuspCode.entity.CuspSupplierEvaluation;
|
|
|
-import com.cuidian.srm.cuspCode.vo.CuspSupplierEvaluationPage;
|
|
|
-import com.cuidian.srm.cuspCode.service.ICuspSupplierEvaluationService;
|
|
|
-import com.cuidian.srm.cuspCode.service.ICuspSupplierEvaluationScoreService;
|
|
|
+import org.jeecg.modules.cuspCode.vo.CuspSupplierEvaluationPage;
|
|
|
+import org.jeecg.modules.cuspCode.service.ICuspSupplierEvaluationService;
|
|
|
+import org.jeecg.modules.cuspCode.service.ICuspSupplierEvaluationScoreService;
|
|
|
import org.springframework.beans.BeanUtils;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.web.bind.annotation.*;
|
|
@@ -42,7 +38,6 @@ import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
|
|
|
import com.baomidou.mybatisplus.core.metadata.IPage;
|
|
|
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
|
|
import lombok.extern.slf4j.Slf4j;
|
|
|
-import com.alibaba.fastjson.JSON;
|
|
|
import io.swagger.annotations.Api;
|
|
|
import io.swagger.annotations.ApiOperation;
|
|
|
import org.jeecg.common.aspect.annotation.AutoLog;
|
|
@@ -80,9 +75,9 @@ public class CuspSupplierEvaluationController {
|
|
|
@ApiOperation(value="供应商考评-分页列表查询", notes="供应商考评-分页列表查询")
|
|
|
@GetMapping(value = "/list")
|
|
|
public Result<IPage<CuspSupplierEvaluation>> queryPageList(CuspSupplierEvaluation cuspSupplierEvaluation,
|
|
|
- @RequestParam(name="pageNo", defaultValue="1") Integer pageNo,
|
|
|
- @RequestParam(name="pageSize", defaultValue="10") Integer pageSize,
|
|
|
- HttpServletRequest req) {
|
|
|
+ @RequestParam(name="pageNo", defaultValue="1") Integer pageNo,
|
|
|
+ @RequestParam(name="pageSize", defaultValue="10") Integer pageSize,
|
|
|
+ HttpServletRequest req) {
|
|
|
// 自定义查询规则
|
|
|
Map<String, QueryRuleEnum> customeRuleMap = new HashMap<>();
|
|
|
// 自定义多选的查询规则为:LIKE_WITH_OR
|