规范化

pull/1/head
wangpeng 2024-01-30 16:20:18 +08:00
parent 7c856cd8b6
commit b4ee2be627
14 changed files with 27 additions and 48 deletions

View File

@ -1,17 +1,11 @@
package com.zcloud.controller.hiddenDangerCheckStandardLibrary; package com.zcloud.controller.hiddenDangerCheckStandard;
import com.alibaba.fastjson.JSONArray;
import com.zcloud.controller.base.BaseController; import com.zcloud.controller.base.BaseController;
import com.zcloud.entity.Page; import com.zcloud.entity.Page;
import com.zcloud.entity.PageData; import com.zcloud.entity.PageData;
import com.zcloud.service.bus.HiddenCheckService; import com.zcloud.service.hiddenDangerCheckStandard.CommonItemService;
import com.zcloud.service.bus.HiddenSchemeService; import com.zcloud.service.hiddenDangerCheckStandard.CommonService;
import com.zcloud.service.bus.HiddenService;
import com.zcloud.service.bus.ImgFilesService;
import com.zcloud.service.hiddenDangerCheckStandardLibrary.CommonItemService;
import com.zcloud.service.hiddenDangerCheckStandardLibrary.CommonService;
import com.zcloud.util.*; import com.zcloud.util.*;
import org.apache.commons.lang.StringUtils;
import org.apache.shiro.authz.annotation.RequiresPermissions; import org.apache.shiro.authz.annotation.RequiresPermissions;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller; import org.springframework.stereotype.Controller;
@ -21,8 +15,6 @@ import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.multipart.MultipartFile; import org.springframework.web.multipart.MultipartFile;
import javax.servlet.http.HttpServletResponse; import javax.servlet.http.HttpServletResponse;
import java.io.File;
import java.util.ArrayList;
import java.util.HashMap; import java.util.HashMap;
import java.util.List; import java.util.List;
import java.util.Map; import java.util.Map;

View File

@ -1,19 +1,16 @@
package com.zcloud.controller.hiddenDangerCheckStandardLibrary; package com.zcloud.controller.hiddenDangerCheckStandard;
import com.zcloud.controller.base.BaseController; import com.zcloud.controller.base.BaseController;
import com.zcloud.entity.Page; import com.zcloud.entity.Page;
import com.zcloud.entity.PageData; import com.zcloud.entity.PageData;
import com.zcloud.service.hiddenDangerCheckStandardLibrary.DictionaryService; import com.zcloud.service.hiddenDangerCheckStandard.DictionaryService;
import com.zcloud.util.*; import com.zcloud.util.*;
import org.apache.shiro.authz.annotation.RequiresPermissions; import org.apache.shiro.authz.annotation.RequiresPermissions;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller; import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.ResponseBody; import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.multipart.MultipartFile;
import javax.servlet.http.HttpServletResponse;
import java.util.HashMap; import java.util.HashMap;
import java.util.List; import java.util.List;
import java.util.Map; import java.util.Map;

View File

@ -1,4 +1,4 @@
package com.zcloud.mapper.dsno2.hiddenDangerCheckStandardLibrary; package com.zcloud.mapper.dsno2.hiddenDangerCheckStandard;
import com.zcloud.entity.Page; import com.zcloud.entity.Page;
import com.zcloud.entity.PageData; import com.zcloud.entity.PageData;

View File

@ -1,4 +1,4 @@
package com.zcloud.mapper.dsno2.hiddenDangerCheckStandardLibrary; package com.zcloud.mapper.dsno2.hiddenDangerCheckStandard;
import com.zcloud.entity.Page; import com.zcloud.entity.Page;
import com.zcloud.entity.PageData; import com.zcloud.entity.PageData;

View File

@ -1,4 +1,4 @@
package com.zcloud.mapper.dsno2.hiddenDangerCheckStandardLibrary; package com.zcloud.mapper.dsno2.hiddenDangerCheckStandard;
import com.zcloud.entity.Page; import com.zcloud.entity.Page;
import com.zcloud.entity.PageData; import com.zcloud.entity.PageData;

View File

@ -1,4 +1,4 @@
package com.zcloud.service.hiddenDangerCheckStandardLibrary; package com.zcloud.service.hiddenDangerCheckStandard;
import com.zcloud.entity.Page; import com.zcloud.entity.Page;
import com.zcloud.entity.PageData; import com.zcloud.entity.PageData;

View File

@ -1,4 +1,4 @@
package com.zcloud.service.hiddenDangerCheckStandardLibrary; package com.zcloud.service.hiddenDangerCheckStandard;
import com.zcloud.entity.Page; import com.zcloud.entity.Page;
import com.zcloud.entity.PageData; import com.zcloud.entity.PageData;

View File

@ -1,4 +1,4 @@
package com.zcloud.service.hiddenDangerCheckStandardLibrary; package com.zcloud.service.hiddenDangerCheckStandard;
import com.zcloud.entity.Page; import com.zcloud.entity.Page;
import com.zcloud.entity.PageData; import com.zcloud.entity.PageData;

View File

@ -1,13 +1,11 @@
package com.zcloud.service.hiddenDangerCheckStandardLibrary.impl; package com.zcloud.service.hiddenDangerCheckStandard.impl;
import com.zcloud.entity.Page; import com.zcloud.entity.Page;
import com.zcloud.entity.PageData; import com.zcloud.entity.PageData;
import com.zcloud.mapper.dsno2.hiddenDangerCheckStandardLibrary.CommonItemMapper; import com.zcloud.mapper.dsno2.hiddenDangerCheckStandard.CommonItemMapper;
import com.zcloud.mapper.dsno2.hiddenDangerCheckStandardLibrary.CommonMapper; import com.zcloud.service.hiddenDangerCheckStandard.CommonItemService;
import com.zcloud.service.hiddenDangerCheckStandardLibrary.CommonItemService; import com.zcloud.service.hiddenDangerCheckStandard.CommonService;
import com.zcloud.service.hiddenDangerCheckStandardLibrary.CommonService; import com.zcloud.service.hiddenDangerCheckStandard.DictionaryService;
import com.zcloud.service.hiddenDangerCheckStandardLibrary.DictionaryService;
import com.zcloud.util.Tools;
import com.zcloud.util.UuidUtil; import com.zcloud.util.UuidUtil;
import com.zcloud.util.Warden; import com.zcloud.util.Warden;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;

View File

@ -1,19 +1,15 @@
package com.zcloud.service.hiddenDangerCheckStandardLibrary.impl; package com.zcloud.service.hiddenDangerCheckStandard.impl;
import com.alibaba.excel.EasyExcel; import com.alibaba.excel.EasyExcel;
import com.zcloud.entity.Page; import com.zcloud.entity.Page;
import com.zcloud.entity.PageData; import com.zcloud.entity.PageData;
import com.zcloud.mapper.dsno2.hiddenDangerCheckStandardLibrary.CommonMapper; import com.zcloud.mapper.dsno2.hiddenDangerCheckStandard.CommonMapper;
import com.zcloud.service.depository.impl.HiddenLibraryWarden; import com.zcloud.service.hiddenDangerCheckStandard.CommonItemService;
import com.zcloud.service.hiddenDangerCheckStandardLibrary.CommonItemService; import com.zcloud.service.hiddenDangerCheckStandard.CommonService;
import com.zcloud.service.hiddenDangerCheckStandardLibrary.CommonService; import com.zcloud.service.hiddenDangerCheckStandard.DictionaryService;
import com.zcloud.service.hiddenDangerCheckStandardLibrary.DictionaryService;
import com.zcloud.service.system.DictionariesService;
import com.zcloud.util.ObjectExcelRead;
import com.zcloud.util.Tools; import com.zcloud.util.Tools;
import com.zcloud.util.UuidUtil; import com.zcloud.util.UuidUtil;
import com.zcloud.util.Warden; import com.zcloud.util.Warden;
import org.apache.commons.lang3.StringUtils;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service; import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional; import org.springframework.transaction.annotation.Transactional;
@ -21,7 +17,6 @@ import org.springframework.web.multipart.MultipartFile;
import javax.annotation.Resource; import javax.annotation.Resource;
import java.util.*; import java.util.*;
import java.util.stream.Collectors;
/** /**
* *

View File

@ -1,12 +1,9 @@
package com.zcloud.service.hiddenDangerCheckStandardLibrary.impl; package com.zcloud.service.hiddenDangerCheckStandard.impl;
import com.alibaba.fastjson.JSONObject;
import com.zcloud.entity.Page; import com.zcloud.entity.Page;
import com.zcloud.entity.PageData; import com.zcloud.entity.PageData;
import com.zcloud.mapper.dsno2.hiddenDangerCheckStandardLibrary.DictionaryMapper; import com.zcloud.mapper.dsno2.hiddenDangerCheckStandard.DictionaryMapper;
import com.zcloud.service.hiddenDangerCheckStandardLibrary.DictionaryService; import com.zcloud.service.hiddenDangerCheckStandard.DictionaryService;
import com.zcloud.util.Tools;
import com.zcloud.util.Warden;
import org.springframework.stereotype.Service; import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional; import org.springframework.transaction.annotation.Transactional;

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.zcloud.mapper.dsno2.hiddenDangerCheckStandardLibrary.CommonItemMapper"> <mapper namespace="com.zcloud.mapper.dsno2.hiddenDangerCheckStandard.CommonItemMapper">
<!--表名 --> <!--表名 -->
<sql id="tableName"> <sql id="tableName">

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.zcloud.mapper.dsno2.hiddenDangerCheckStandardLibrary.CommonMapper"> <mapper namespace="com.zcloud.mapper.dsno2.hiddenDangerCheckStandard.CommonMapper">
<!--表名 --> <!--表名 -->
<sql id="tableName"> <sql id="tableName">

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.zcloud.mapper.dsno2.hiddenDangerCheckStandardLibrary.DictionaryMapper"> <mapper namespace="com.zcloud.mapper.dsno2.hiddenDangerCheckStandard.DictionaryMapper">
<!--表名 --> <!--表名 -->
<sql id="tableName"> <sql id="tableName">