Commit 7832b5df authored by tianyiming's avatar tianyiming

一码通总览功能优化

parent 252b35af
...@@ -33,7 +33,7 @@ public class ESEquipmentCategoryDto { ...@@ -33,7 +33,7 @@ public class ESEquipmentCategoryDto {
@Field(type = FieldType.Text) @Field(type = FieldType.Text)
private String USE_UNIT_CREDIT_CODE; private String USE_UNIT_CREDIT_CODE;
@Field(type = FieldType.Text) @Field(type = FieldType.Keyword)
private String EQU_LIST_CODE; private String EQU_LIST_CODE;
@Field(type = FieldType.Text) @Field(type = FieldType.Text)
...@@ -63,7 +63,7 @@ public class ESEquipmentCategoryDto { ...@@ -63,7 +63,7 @@ public class ESEquipmentCategoryDto {
@Field(type = FieldType.Integer) @Field(type = FieldType.Integer)
private Integer EQU_STATE; private Integer EQU_STATE;
@Field(type = FieldType.Text) @Field(type = FieldType.Keyword)
private String STATUS; private String STATUS;
@Field(type = FieldType.Long) @Field(type = FieldType.Long)
......
...@@ -38,8 +38,6 @@ public interface IEquipmentCategoryService { ...@@ -38,8 +38,6 @@ public interface IEquipmentCategoryService {
void checkEsData(String id); void checkEsData(String id);
void createEquipmentCategoryData();
List<String> deleteBatch(Map<String, Object> map); List<String> deleteBatch(Map<String, Object> map);
ResponseModel submit(Map<String, Object> map); ResponseModel submit(Map<String, Object> map);
......
package com.yeejoin.amos.boot.module.ymt.biz.controller; package com.yeejoin.amos.boot.module.ymt.biz.controller;
import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONArray; import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject; import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
...@@ -12,7 +11,6 @@ import com.yeejoin.amos.boot.biz.common.utils.Menu; ...@@ -12,7 +11,6 @@ import com.yeejoin.amos.boot.biz.common.utils.Menu;
import com.yeejoin.amos.boot.biz.common.utils.TreeParser; import com.yeejoin.amos.boot.biz.common.utils.TreeParser;
import com.yeejoin.amos.boot.module.ymt.api.dto.EquipExportDto; import com.yeejoin.amos.boot.module.ymt.api.dto.EquipExportDto;
import com.yeejoin.amos.boot.module.ymt.api.dto.EquipmentCategoryDto; import com.yeejoin.amos.boot.module.ymt.api.dto.EquipmentCategoryDto;
import com.yeejoin.amos.boot.module.ymt.api.entity.CategoryOtherInfo;
import com.yeejoin.amos.boot.module.ymt.api.entity.EquipmentCategory; import com.yeejoin.amos.boot.module.ymt.api.entity.EquipmentCategory;
import com.yeejoin.amos.boot.module.ymt.api.enums.ImageSizeEnums; import com.yeejoin.amos.boot.module.ymt.api.enums.ImageSizeEnums;
import com.yeejoin.amos.boot.module.ymt.api.mapper.EquipmentCategoryMapper; import com.yeejoin.amos.boot.module.ymt.api.mapper.EquipmentCategoryMapper;
...@@ -20,7 +18,6 @@ import com.yeejoin.amos.boot.module.ymt.api.service.IEquipmentCategoryService; ...@@ -20,7 +18,6 @@ import com.yeejoin.amos.boot.module.ymt.api.service.IEquipmentCategoryService;
import com.yeejoin.amos.boot.module.ymt.api.vo.EquipExportVo; import com.yeejoin.amos.boot.module.ymt.api.vo.EquipExportVo;
import com.yeejoin.amos.boot.module.ymt.biz.service.impl.EquipmentCategoryServiceImpl; import com.yeejoin.amos.boot.module.ymt.biz.service.impl.EquipmentCategoryServiceImpl;
import com.yeejoin.amos.boot.module.ymt.biz.utils.ImageUtils; import com.yeejoin.amos.boot.module.ymt.biz.utils.ImageUtils;
import com.yeejoin.amos.component.robot.BadRequest;
import io.swagger.annotations.Api; import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation; import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
...@@ -35,7 +32,10 @@ import org.typroject.tyboot.core.restful.utils.ResponseModel; ...@@ -35,7 +32,10 @@ import org.typroject.tyboot.core.restful.utils.ResponseModel;
import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse; import javax.servlet.http.HttpServletResponse;
import java.io.*; import java.io.File;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.InputStream;
import java.util.*; import java.util.*;
import java.util.stream.Collectors; import java.util.stream.Collectors;
...@@ -265,16 +265,6 @@ public class EquipmentCategoryController extends BaseController { ...@@ -265,16 +265,6 @@ public class EquipmentCategoryController extends BaseController {
} }
@TycloudOperation(ApiLevel = UserType.AGENCY,needAuth = false)
@RequestMapping(value = "/createEquipmentCategoryData", method = RequestMethod.GET)
@ApiOperation(httpMethod = "get", value = "初始化一码通总览数据", notes = "初始化一码通总览数据")
public ResponseModel<Object> createEquipmentCategoryData(){
equipmentCategoryService.createEquipmentCategoryData();
return ResponseHelper.buildResponse("SUCCESS");
}
/** /**
* 批量一码通删除数据 * 批量一码通删除数据
* *
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment