Просмотр исходного кода

1、去掉多余的common方法

zhoux 2 лет назад
Родитель
Сommit
2b7e2e26ba

Разница между файлами не показана из-за своего большого размера
+ 0 - 962
src/main/java/com/dk/mdm/controller/common/CommonController.java


+ 0 - 718
src/main/java/com/dk/mdm/mapper/common/CommonMapper.java

@@ -57,41 +57,6 @@ public interface CommonMapper extends BaseMapper<Map<String, Object>> {
     List<Map<String, Object>> getDataKind(Map param);
 
     /**
-     * @desc : 获取型号分类
-     * @author : 周兴
-     * @date : 2023/1/6 14:15
-     */
-    List<Map<String, Object>> getModelCategory(Map param);
-
-    /**
-     * @desc : 获取型号分类个数
-     * @author : 洪旭东
-     * @date : 2023-03-28 16:12
-     */
-    Long countModelCategory(Map param);
-
-    /**
-     * @desc : 获取工种
-     * @author : 姜宁
-     * @date : 2023/1/9 13:17
-     */
-    List<Map<String, Object>> getJob(Map param);
-
-    /**
-     * @desc : 获取工种个数
-     * @author : 洪旭东
-     * @date : 2023-03-20 13:11
-     */
-    Long countJob(Map param);
-
-    /**
-     * @desc : 获取职务
-     * @author : 姜宁
-     * @date : 2023/1/9 13:42
-     */
-    List<Map<String, Object>> getPost(Map param);
-
-    /**
      * @desc : 获取组织部门
      * @author : 姜宁
      * @date : 2023/1/9 13:49
@@ -120,13 +85,6 @@ public interface CommonMapper extends BaseMapper<Map<String, Object>> {
     List<Map<String, Object>> getMenuByUser(@Param("appCode") String appCode, @Param("userId") Integer userId);
 
     /**
-     * @desc : 获取缺陷分类
-     * @author : 夏常明
-     * @date : 2023/1/12 9:10
-     */
-    List<Map<String, Object>> getDefectType(Map param);
-
-    /**
      * @desc : 获取角色
      * @author : 姜宁
      * @date : 2023/1/29 14:25
@@ -162,13 +120,6 @@ public interface CommonMapper extends BaseMapper<Map<String, Object>> {
     Map<String, Map<String, String>> getSettingValues(Map param);
 
     /**
-     * @desc : 获取工厂区域
-     * @author : 常皓宁
-     * @date : 2023/1/30 11:33
-     */
-    List<Map<String, Object>> getFactorySpace(Map param);
-
-    /**
      * @desc : 查询系统参数分类
      * @author : 夏常明
      * @date : 2023/1/4 10:01
@@ -189,89 +140,6 @@ public interface CommonMapper extends BaseMapper<Map<String, Object>> {
      */
     Long getOrganizationCountByPage(Map param);
 
-    /**
-     * @desc : 获取窑炉
-     * @author : 常皓宁
-     * @date : 2023/2/1 16:21
-     */
-    List<Map<String, Object>> getKiln(Map param);
-
-    /**
-     * @desc : 获取窑炉个数
-     * @author : 洪旭东
-     * @date : 2023-03-07 09:34
-     */
-    Long countKiln(Map param);
-
-    /**
-     * @desc : 查询模具型号
-     * @author : 洪旭东
-     * @date : 2023-02-03 10:35
-     */
-    List<Map<String, Object>> getModelMould(Map param);
-
-    /**
-     * @desc : 获取用户
-     * @author : 洪旭东
-     * @date : 2023-02-03 11:42
-     */
-    List<Map<String, Object>> getUser(Map param);
-
-    /**
-     * @desc : 获取用户数量
-     * @author : 洪旭东
-     * @date : 2023-02-03 11:42
-     */
-    Long countUser(Map param);
-
-    /**
-     * @desc : 获取窑车位置
-     * @author : 常皓宁
-     * @date : 2023/2/2 13:08
-     */
-    List<Map<String, Object>> getKilnCarPlace(Map param);
-
-    /**
-     * @desc : 查询产品视图
-     * @author : 夏常明
-     * @date : 2023/2/3 9:42
-     */
-    List<Map<String, Object>> getProductView(Map param);
-
-    /**
-     * @desc : 查询产品商标
-     * @author : 夏常明
-     * @date : 2023/2/3 10:19
-     */
-    List<Map<String, Object>> getProductLogo(Map param);
-
-    /**
-     * @desc : 查询产品釉色
-     * @author : 夏常明
-     * @date : 2023/2/3 13:09
-     */
-    List<Map<String, Object>> getProductColour(Map param);
-
-    /**
-     * @desc : 查询产品ERP物料
-     * @author : 洪旭东
-     * @date : 2023-05-12 13:47
-     */
-    List<Map<String, Object>> getProductErpSku(Map param);
-
-    /**
-     * @desc : 获取模具档案
-     * @author : 洪旭东
-     * @date : 2023-02-07 13:01
-     */
-    List<Map<String, Object>> getMould(Map param);
-
-    /**
-     * @desc : 获取模具档案数量
-     * @author : 洪旭东
-     * @date : 2023-02-07 13:02
-     */
-    Long countMould(Map param);
 
     /**
      * @desc : 获取数据字典
@@ -280,366 +148,6 @@ public interface CommonMapper extends BaseMapper<Map<String, Object>> {
      */
     List<Map<String, Object>> getDictionaryData(Map param);
 
-    /**
-     * @desc : 获取最大窑车序号
-     * @author : 常皓宁
-     * @date : 2023/2/7 14:36
-     */
-    Integer getMaxCarNo(Map param);
-
-
-    /**
-     * @desc : 获取产品位置
-     * @date : 2023/2/8 14:23
-     * @author : 寇珊珊
-     */
-    List<Map<String, Object>> getProductPlace(Map param);
-
-
-    /**
-     * @desc : 获取模具型号(分页)
-     * @author : 姜宁
-     * @date : 2023/2/8 15:40
-     */
-    List<Map<String, Object>> getModelMouldByPage(Map param);
-
-    /**
-     * @desc : 获取模具型号(数量)
-     * @author : 姜宁
-     * @date : 2023/2/8 15:41
-     */
-    Long getModelMouldCountByPage(Map param);
-
-    /**
-     * @desc : 获取产品型号
-     * @author : 洪旭东
-     * @date : 2023-02-08 11:20
-     */
-    List<Map<String, Object>> getModelProduct(Map param);
-
-    /**
-     * @desc : 获取产品型号数量
-     * @author : 洪旭东
-     * @date : 2023-02-08 11:20
-     */
-    Long countModelProduct(Map param);
-
-    /**
-     * @desc : 获取获取载具型号
-     * @author : 常皓宁
-     * @date : 2023/2/7 14:45
-     */
-    List<Map<String, Object>> getModelCarrier(Map param);
-
-    /**
-     * @desc : 获取获取设备型号
-     * @author : 常皓宁
-     * @date : 2023/2/7 14:45
-     */
-    List<Map<String, Object>> getModelEquipment(Map param);
-
-    /**
-     * @desc : 根据模具型号id 查询模具产出型号和可变更产品型号
-     * @author : 夏常明
-     * @date : 2023/2/9 10:07
-     */
-    List<Map<String, Object>> getMouldOutputById(Map param);
-
-    /**
-     * @desc : 查询产品型号
-     * @author : 夏常明
-     * @date : 2023/2/9 14:05
-     */
-    List<Map<String, Object>> getModelPdt(Map param);
-
-    /**
-     * @desc : 查询产品缺陷扣罚数据
-     * @author : 夏常明
-     * @date : 2023/2/10 11:44
-     */
-    List<Map<String, Object>> getDefectFines(Map param);
-
-    /**
-     * @desc : 查询打印模板分类
-     * @author : 常皓宁
-     * @date : 2023/2/14 14:35
-     */
-    List<Map<String, Object>> getLabelPrintType(Map param);
-
-    /**
-     * @desc : 获取成型线分组
-     * @author : 洪旭东
-     * @date : 2023-02-15 13:18
-     */
-    List<Map<String, Object>> getMoldlineGroup(Map param);
-
-    /**
-     * @desc : 获取成型线分组数量
-     * @author : 洪旭东
-     * @date : 2023-02-15 13:19
-     */
-    Long countMoldlineGroup(Map param);
-
-    /**
-     * @desc : 查询工位
-     * @author : 夏常明
-     * @date : 2023/2/15 14:41
-     */
-    List<Map<String, Object>> getWorkStation(Map param);
-
-    /**
-     * @desc : 查询工位个数
-     * @author : 洪旭东
-     * @date : 2023-03-01 14:44
-     */
-    Long countWorkStation(Map param);
-
-    /**
-     * @desc : 获取工艺节点
-     * @author : 常皓宁
-     * @date : 2023/2/15 16:12
-     */
-    List<Map<String, Object>> getProcessNodeByPage(Map param);
-
-    /**
-     * @desc : 获取工艺节点(数量)
-     * @author : 常皓宁
-     * @date : 2023/2/15 16:12
-     */
-    Long getProcessNodeCountByPage(Map param);
-
-    /**
-     * @desc : 查询工位工号
-     * @author : 常皓宁
-     * @date : 2023/2/17 15:41
-     */
-    List<Map<String, Object>> getWorkStationUser(Map param);
-
-    /**
-     * @desc : 工位工号分页数量
-     * @author : 常皓宁
-     * @date : 2023/2/27 13:42
-     */
-    Long getWorkStationUserCount(Map param);
-
-    /**
-     * @desc : 查询损坯原因/产品缺陷/未成型原因
-     * @author : 周兴
-     * @date : 2023/2/20 9:42
-     */
-    List<Map<String, Object>> getProductDefect(Map param);
-
-    /**
-     * @desc : 根据成型线Id获取成型记录信息
-     * @author : 周兴
-     * @date : 2023/2/18 19:45
-     */
-    List<Map<String, Object>> getMoldingItemByMoldlineId(Map param);
-
-    /**
-     * @desc : 产品信息(条码变更)
-     * @author : 夏常明
-     * @date : 2023/2/20 10:32
-     */
-    List<Map<String, Object>> getProductForChange(Map param);
-
-    /**
-     * @desc : 产品信息数量(条码变更)
-     * @author : 夏常明
-     * @date : 2023/2/20 10:34
-     */
-    Long getProductForChangeCount(Map param);
-
-    /**
-     * @desc : 查询成型釉色(釉色设定)
-     * @author : 夏常明
-     * @date : 2023/2/21 14:14
-     */
-    List<Map<String, Object>> getColourForSet(Map param);
-
-    /**
-     * @desc : 查询成型商标(商标设定)
-     * @author : 夏常明
-     * @date : 2023/2/21 14:44
-     */
-    List<Map<String, Object>> getLogoForSet(Map param);
-
-
-    /**
-     * @desc : 查询成型产品型号
-     * @author : 洪旭东
-     * @date : 2023-04-19 13:00
-     */
-    List<Map<String, Object>> getProductModel(Map param);
-
-    /**
-     * @desc : 查询成型釉色数量(釉色设定,商标设定)
-     * @author : 夏常明
-     * @date : 2023/2/21 14:14
-     */
-    Long getColourForSetCount(Map param);
-
-
-    /**
-     * @desc : 根据工号编码值等查询工号
-     * @date : 2023/2/21 16:47
-     * @author : 寇珊珊
-     */
-    List<Map<String, Object>> getUserByCode(Map param);
-
-    /**
-     * @desc : 根据工号编码值等查询工号数量
-     * @author : 夏常明
-     * @date : 2023/2/22 16:14
-     */
-    Long getUserByCodeCount(Map param);
-
-    /**
-     * @desc : 获取工艺节点
-     * @author : 常皓宁
-     * @date : 2023/2/15 16:12
-     */
-    List<Map<String, Object>> getProcessNode(Map param);
-
-    /**
-     * @desc : 获取成型线分页
-     * @author : 夏常明
-     * @date : 2023/2/22 12:56
-     */
-    List<Map<String, Object>> getMoldLinePage(Map param);
-
-    /**
-     * @desc : 获取成型线分页数量
-     * @author : 夏常明
-     * @date : 2023/2/22 12:58
-     */
-    Long getMoldLinePageCount(Map param);
-
-    /**
-     * @desc : 工位工号(工位打卡选择工位)
-     * @author : 夏常明
-     * @date : 2023/2/27 14:49
-     */
-    List<Map<String, Object>> getWsStation(Map param);
-
-    /**
-     * @desc : 根据用户Id获取班组信息
-     * @author : 夏常明
-     * @date : 2023/2/27 14:49
-     */
-    List<Map<String, Object>> getWorkTeamByUserId(Map param);
-
-    /**
-     * @desc : 查询产品分级
-     * @author : 洪旭东
-     * @date : 2023-03-03 09:16
-     */
-    List<Map<String, Object>> getProductGrade(Map param);
-
-    /**
-     * @desc : 查询产品分级数量
-     * @author : 洪旭东
-     * @date : 2023-03-03 09:17
-     */
-    Long countProductGrade(Map param);
-
-    /**
-     * @desc : 查询工艺流程
-     * @author : 夏常明
-     * @date : 2023/3/3 14:02
-     */
-    List<Map<String, Object>> getProcessFlow(Map param);
-
-    /**
-     * @desc : 查询工艺流程数量
-     * @author : 夏常明
-     * @date : 2023/3/3 14:03
-     */
-    Long getProcessFlowCount(Map param);
-
-    /**
-     * @desc : 查询产品分类(分页)
-     * @author : 夏常明
-     * @date : 2023/3/3 14:02
-     */
-    List<Map<String, Object>> getModelCategoryPage(Map param);
-
-    /**
-     * @desc : 查询产品分类数量
-     * @author : 夏常明
-     * @date : 2023/3/3 14:03
-     */
-    Long getModelCategoryCount(Map param);
-
-    /**
-     * @desc : 查询打印机
-     * @author : 夏常明
-     * @date : 2023/3/7 10:40
-     */
-    List<Map<String, Object>> getLabelPrinter(Map param);
-
-    /**
-     * @desc : 查询打印模板
-     * @author : 夏常明
-     * @date : 2023/3/7 11:32
-     */
-    List<Map<String, Object>> getLabelPrintLayout(Map param);
-
-    /**
-     * @desc : 查询班组员工
-     * @author : 洪旭东
-     * @date : 2023-03-20 13:11
-     */
-    List<Map<String, Object>> getTeamStaff(Map param);
-
-    /**
-     * @desc : 查询班组员工个数
-     * @author : 洪旭东
-     * @date : 2023-03-20 13:12
-     */
-    Long countTeamStaff(Map param);
-
-    /**
-     * @desc : f_get_account_date 函数查询账务日期
-     * @author : 姜宁
-     * @date : 2023/3/21 9:44
-     */
-    String selectAccountDate(Map param);
-
-    /**
-     * @desc : 获取工位(工位打卡选择工位,工号未绑定工位时,获取工序工号绑定的工位)
-     * @author : 姜宁
-     * @date : 2023/3/30 10:45
-     */
-    List<Map<String, Object>> getWsStationByNode(Map param);
-
-    /**
-     * @desc : 获取工位(工位打卡选择工位,工位未绑定工序和用户)
-     * @author : 姜宁
-     * @date : 2023/3/30 10:45
-     */
-    List<Map<String, Object>> getWsStationNoUser(Map param);
-
-    /**
-     * @desc : 获取湿温度计(分页)
-     * @date : 2023/4/3 10:42
-     * @author : 寇珊珊
-     */
-    List<Map<String, Object>> thmeterRecordByPage(Map param);
-
-    /**
-     * @desc : 获取湿温度计(数量)
-     * @date : 2023/4/3 10:42
-     * @author : 寇珊珊
-     */
-    Long getThmeterRecordByCount(Map param);
-
-    /**
-     * @desc : 获取湿温度计
-     * @date : 2023/4/3 14:29
-     * @author : 寇珊珊
-     */
-    List<Map<String, Object>> getThmeterRecord(Map param);
 
     /**
      * @desc : 获取用户隐藏列
@@ -656,98 +164,12 @@ public interface CommonMapper extends BaseMapper<Map<String, Object>> {
     List<Map<String, Object>> getUserFunction(Map param);
 
     /**
-     * @desc : 获取用户功能(超级管理员)
-     * @author : 周兴
-     * @date : 2023/4/4 15:05
-     */
-    List<Map<String, Object>> getUserFunctionAdmin(Map param);
-
-    /**
      * @desc : 查导航菜单(自定义报表用)
      * @author : 周兴
      * @date : 2023/4/4 15:05
      */
     List<Map<String, Object>> getMenuNavigation(Map param);
 
-    /**
-     * @desc : 查询标签打印项目
-     * @author : 洪旭东
-     * @date : 2023-04-12 13:24
-     */
-    List<Map<String, Object>> getLabelPrintItem(Map param);
-
-
-    /**
-     * @desc : 获取员工用于报工记录查询(分页)
-     * @date : 2023/4/3 10:42
-     * @author : 寇珊珊
-     */
-    List<Map<String, Object>> getStaffWithWorkByPage(Map param);
-
-    /**
-     * @desc : 获取员工用于报工记录查询(数量)
-     * @date : 2023/4/3 10:42
-     * @author : 寇珊珊
-     */
-    Long getStaffWithWorkByCount(Map param);
-
-    /**
-     * @desc : 查询标签分类的类型
-     * @author : 洪旭东
-     * @date : 2023-05-08 17:03
-     */
-    List<Map<String, Object>> getLabelPrintTypeKind(Map param);
-
-    /**
-     * @desc : 查询产品型号标签
-     * @author : 洪旭东
-     * @date : 2023-05-11 15:00
-     */
-    List<Map<String, Object>> getModelProductLabelType(Map param);
-
-    /**
-     * @desc : 获取窑炉类型
-     * @author : 洪旭东
-     * @date : 2023-05-19 10:38
-     */
-    List<Map<String, Object>> getKilnType(Map param);
-
-    /**
-     * @desc : 获取成型线类型
-     * @author : 洪旭东
-     * @date : 2023-05-19 10:38
-     */
-    List<Map<String, Object>> getMoldlineType(Map param);
-
-
-    /**
-     * @desc : 获取物料编码(分页)
-     * @date : 2023/5/24 14:06
-     * @author : 寇珊珊
-     */
-    List<Map<String, Object>> getModelMaterialByPage(Map param);
-
-    /**
-     * @desc : 获取物料编码(数量)
-     * @date : 2023/5/24 14:06
-     * @author : 寇珊珊
-     */
-    Long getModelMaterialCountByPage(Map param);
-
-
-    /**
-     * @desc : 获取物料编码
-     * @date : 2023/5/26 14:44
-     * @author : 寇珊珊
-     */
-    List<Map<String, Object>> getModelMaterial(Map param);
-
-    /**
-     * @desc : 产品信息数量
-     * @date : 2023/5/26 14:44
-     * @author : 寇珊珊
-     */
-    List<Map<String, Object>> getProductForChangeNoPage(Map param);
 
     /**
      * @desc : 获取数据类型
@@ -756,61 +178,6 @@ public interface CommonMapper extends BaseMapper<Map<String, Object>> {
      */
     List<Map<String, Object>> getValueKind(Map param);
 
-    /**
-     * @desc : 获取计量单位
-     * @author : 常皓宁
-     * @date : 2023/6/15 8:48
-     */
-    List<Map<String, Object>> getModelUnits(Map param);
-
-    /**
-     * @desc : 获取产品型号、物料型号
-     * @author : 常皓宁
-     * @date : 2023/6/15 13:41
-     */
-    List<Map<String, Object>> getModelBase(Map param);
-
-    /**
-     * @desc : 获取产品型号、物料型号分页
-     * @author : 常皓宁
-     * @date : 2023/6/15 13:41
-     */
-    Long countModelBase(Map param);
-
-    /**
-     * @desc : 获取报工项目
-     * @author : 付斌
-     * @date : 2023/6/19 9:12
-     */
-    List<Map<String, Object>> getWorkProject(Map param);
-
-    /**
-     * @desc : 获取报工项目
-     * @author : 付斌
-     * @date : 2023/6/19 9:12
-     */
-    List<Map<String, Object>> getWorkProjectByPage(Map param);
-
-    /**
-     * @desc : 获取报工项目
-     * @author : 付斌
-     * @date : 2023/6/19 9:12
-     */
-    Long getWorkProjectCountByPage(Map param);
-
-    /**
-     * @desc : 查询产品缺陷
-     * @author : 常皓宁
-     * @date : 2023/6/25 10:05
-     */
-    List<Map<String, Object>> getProductDefects(Map param);
-
-    /**
-     * @desc : 查询产品缺陷数量
-     * @author : 常皓宁
-     * @date : 2023/6/25 10:05
-     */
-    Long countProductDefects(Map param);
 
     /**
      * @desc : 获取应用
@@ -820,97 +187,12 @@ public interface CommonMapper extends BaseMapper<Map<String, Object>> {
     List<Map<String, String>> getApplication();
 
     /**
-     * @desc : 获取产品
-     * @date : 2023/7/14 14:45
-     * @author : 寇珊珊
-     */
-    Map<String, String> getProduct(Map param);
-
-
-    /**
-     * @desc : 获取工位打印机
-     * @date : 2023/7/14 14:45
-     * @author : 寇珊珊
-     */
-    List<Map<String, String>> getWsPrinter(Map param);
-
-
-    /**
-     * @desc : 获取仓位
-     * @author : 洪旭东
-     * @date : 2023-08-09 14:30
-     */
-    List<Map<String, Object>> getWarehousePlaceByPage(Map param);
-
-    /**
-     * @desc : 获取仓位个数
-     * @author : 洪旭东
-     * @date : 2023-08-09 14:30
-     */
-    Long countWarehousePlaceByPage(Map param);
-
-    /**
      * @desc : 获取单据
      * @author : 周兴
      * @date : 2023/9/14 11:06
      */
     List<Map<String, Object>> getDoc(Map param);
 
-    /**
-     * @desc : 获取下拉选
-     * @author : 洪旭东
-     * @date : 2023-09-25 09:03
-     */
-    List<Map<String, Object>> getSelectType(Map param);
-
-    /**
-     * @desc : 获取放大镜
-     * @author : 洪旭东
-     * @date : 2023-09-25 09:03
-     */
-    List<Map<String, Object>> getSelectMagnifier(Map param);
-
-    /**
-     * @desc : 获取理化检验单
-     * @author : 洪旭东
-     * @date : 2023-12-01 16:39
-     */
-    List<Map<String, Object>> getPhysicalCollectByPage(Map param);
-
-    /**
-     * @desc : 获取理化检验单个数
-     * @author : 洪旭东
-     * @date : 2023-12-01 16:40
-     */
-    Long countPhysicalCollectByPage(Map param);
-
-    /**
-     * @desc : 获取生产工单
-     * @author : 洪旭东
-     * @date : 2023-12-25 10:58
-     */
-    List<Map<String, Object>> getSheetProduceByPage(Map param);
-
-    /**
-     * @desc : 获取生产工单个数
-     * @author : 洪旭东
-     * @date : 2023-12-25 10:58
-     */
-    Long countSheetProduceByPage(Map param);
-
-    /**
-     * @desc : 获取载具型号分页
-     * @author : 姜宁
-     * @date : 2024/1/3 10:51
-     */
-    List<Map<String, Object>> getModelCarrierByPage(Map param);
-
-    /**
-     * @desc : 获取载具型号个数
-     * @author : 姜宁
-     * @date : 2024/1/3 10:53
-     */
-    Long countModelCarrierByPage(Map param);
 
     /**
      * @desc : 获取商品

Разница между файлами не показана из-за своего большого размера
+ 177 - 2502
src/main/java/com/dk/mdm/mapper/common/CommonMapper.xml


+ 25 - 994
src/main/java/com/dk/mdm/service/common/CommonService.java

@@ -170,50 +170,6 @@ public class CommonService extends BaseService<Map<String, Object>> {
     }
 
     /**
-     * @desc : 获取型号分类
-     * @author : 周兴
-     * @date : 2023/1/6 11:41
-     */
-    public ResponseResultVO<List<Map<String, Object>>> getModelCategory(Map<String, Object> param) {
-        // 获取系统基础数据
-        List<Map<String, Object>> list = commonMapper.getModelCategory(param);
-        return ResponseResultUtil.success(list);
-    }
-
-    /**
-     * @desc : 获取型号分类分类
-     * @author : 洪旭东
-     * @date : 2023-03-28 16:11
-     */
-    public ResponseResultVO<PageList<Map<String, Object>>> getModelCategoryByPage(Map<String, Object> param) {
-        this.getLimit(param);
-        return super.mergeListWithCount(param, commonMapper.getModelCategory(param),
-                commonMapper.countModelCategory(param));
-    }
-
-    /**
-     * @desc : 获取工种
-     * @author : 姜宁
-     * @date : 2023/1/9 13:22
-     */
-    public ResponseResultVO<List<Map<String, Object>>> getJob(Map<String, Object> param) {
-        // 获取系统基础数据
-        List<Map<String, Object>> list = commonMapper.getJob(param);
-        return ResponseResultUtil.success(list);
-    }
-
-    /**
-     * @desc : 获取职务
-     * @author : 姜宁
-     * @date : 2023/1/9 13:43
-     */
-    public ResponseResultVO<List<Map<String, Object>>> getPost(Map<String, Object> param) {
-        // 获取系统基础数据
-        List<Map<String, Object>> list = commonMapper.getPost(param);
-        return ResponseResultUtil.success(list);
-    }
-
-    /**
      * @desc : 获取组织部门
      * @author : 姜宁
      * @date : 2023/1/9 13:50
@@ -252,17 +208,6 @@ public class CommonService extends BaseService<Map<String, Object>> {
     }
 
     /**
-     * @desc : 获取缺陷分类
-     * @author : 夏常明
-     * @date : 2023/1/12 9:09
-     */
-    public ResponseResultVO<List<Map<String, Object>>> getDefectType(Map<String, Object> param) {
-        // 获取系统基础数据
-        List<Map<String, Object>> list = commonMapper.getDefectType(param);
-        return ResponseResultUtil.success(list);
-    }
-
-    /**
      * @desc : 获取角色
      * @author : 姜宁
      * @date : 2023/1/29 14:28
@@ -322,17 +267,6 @@ public class CommonService extends BaseService<Map<String, Object>> {
     }
 
     /**
-     * @desc : 获取工厂区域
-     * @author : 常皓宁
-     * @date : 2023/1/30 11:33
-     */
-    public ResponseResultVO<List<Map<String, Object>>> getFactorySpace(Map<String, Object> param) {
-        // 获取工厂区域
-        List<Map<String, Object>> list = commonMapper.getFactorySpace(param);
-        return ResponseResultUtil.success(list);
-    }
-
-    /**
      * @desc : 查询系统参数分类
      * @author : 夏常明
      * @date : 2023/1/30 16:05
@@ -375,120 +309,6 @@ public class CommonService extends BaseService<Map<String, Object>> {
     }
 
     /**
-     * @desc : 获取窑炉
-     * @author : 常皓宁
-     * @date : 2023/2/1 16:21
-     */
-    public ResponseResultVO<List<Map<String, Object>>> getKiln(Map<String, Object> param) {
-        // 获取窑炉
-        List<Map<String, Object>> list = commonMapper.getKiln(param);
-        return ResponseResultUtil.success(list);
-    }
-
-    /**
-     * @desc : 获取窑炉分页
-     * @author : 洪旭东
-     * @date : 2023-03-07 09:34
-     */
-    public ResponseResultVO<PageList<Map<String, Object>>> getKilnByPage(Map<String, Object> param) {
-        // 校验分页参数
-        if (param.get("pageSize") == null || param.get("currentPage") == null) {
-            return ResponseResultUtil.error(ResponseCodeEnum.OPERATE_FAIL, "请检查分页参数!");
-        }
-        // 分页参数赋值
-        this.getLimit(param);
-        return super.mergeListWithCount(param, commonMapper.getKiln(param),
-                commonMapper.countKiln(param));
-    }
-
-    /**
-     * @desc : 查询模具型号
-     * @author : 洪旭东
-     * @date : 2023-02-03 10:35
-     */
-    public ResponseResultVO<List<Map<String, Object>>> getModelMould(Map<String, Object> param) {
-        // 查询模具型号
-        List<Map<String, Object>> list = commonMapper.getModelMould(param);
-        return ResponseResultUtil.success(list);
-    }
-
-    /**
-     * @desc : 获取窑车位置
-     * @author : 常皓宁
-     * @date : 2023/2/2 13:08
-     */
-    public ResponseResultVO<List<Map<String, Object>>> getKilnCarPlace(Map<String, Object> param) {
-        // 获取窑车位置
-        List<Map<String, Object>> list = commonMapper.getKilnCarPlace(param);
-        return ResponseResultUtil.success(list);
-    }
-
-    /**
-     * @desc : 获取用户
-     * @author : 洪旭东
-     * @date : 2023-02-03 11:45
-     */
-    public ResponseResultVO<PageList<Map<String, Object>>> getUserByPage(Map<String, Object> param) {
-        this.getLimit(param);
-        return super.mergeListWithCount(param, commonMapper.getUser(param),
-                commonMapper.countUser(param));
-    }
-
-    /**
-     * @desc : 获取产品视图
-     * @author : 夏常明
-     * @date : 2023/2/3 9:44
-     */
-    public ResponseResultVO<List<Map<String, Object>>> getProductView(Map<String, Object> param) {
-        // 获取产品视图
-        List<Map<String, Object>> list = commonMapper.getProductView(param);
-        return ResponseResultUtil.success(list);
-    }
-
-    /**
-     * @desc : 获取产品商标
-     * @author : 夏常明
-     * @date : 2023/2/3 10:23
-     */
-    public ResponseResultVO<List<Map<String, Object>>> getProductLogo(Map<String, Object> param) {
-        // 获取产品商标
-        List<Map<String, Object>> list = commonMapper.getProductLogo(param);
-        return ResponseResultUtil.success(list);
-    }
-
-    /**
-     * @desc : 获取产品釉色
-     * @author : 夏常明
-     * @date : 2023/2/3 13:14
-     */
-    public ResponseResultVO<List<Map<String, Object>>> getProductColour(Map<String, Object> param) {
-        // 获取产品商标
-        List<Map<String, Object>> list = commonMapper.getProductColour(param);
-        return ResponseResultUtil.success(list);
-    }
-
-    /**
-     * @desc : 查询产品ERP物料
-     * @author : 洪旭东
-     * @date : 2023-05-12 13:48
-     */
-    public ResponseResultVO<List<Map<String, Object>>> getProductErpSku(Map<String, Object> param) {
-        List<Map<String, Object>> list = commonMapper.getProductErpSku(param);
-        return ResponseResultUtil.success(list);
-    }
-
-    /**
-     * @desc : 获取模具档案
-     * @author : 洪旭东
-     * @date : 2023-02-07 13:05
-     */
-    public ResponseResultVO<PageList<Map<String, Object>>> getMouldByPage(Map<String, Object> param) {
-        this.getLimit(param);
-        return super.mergeListWithCount(param, commonMapper.getMould(param),
-                commonMapper.countMould(param));
-    }
-
-    /**
      * @desc : 获取数据字典
      * @author : 姜宁
      * @date : 2023/2/7 14:47
@@ -500,849 +320,60 @@ public class CommonService extends BaseService<Map<String, Object>> {
     }
 
     /**
-     * @desc : 获取最大窑车序号
-     * @author : 常皓宁
-     * @date : 2023/2/7 14:36
-     */
-    public ResponseResultVO<Integer> getMaxCarNo(Map<String, Object> param) {
-        // 获取系统基础数据
-        Integer maxCarNo = commonMapper.getMaxCarNo(param);
-        maxCarNo = maxCarNo == null ? 1 : (maxCarNo + 1);
-        return ResponseResultUtil.success(maxCarNo);
-    }
-
-
-    /**
-     * @desc : 获取产品位置
-     * @date : 2023/2/8 14:22
-     * @author : 寇珊珊
-     */
-    public ResponseResultVO<List<Map<String, Object>>> getProductPlace(Map<String, Object> param) {
-        List<Map<String, Object>> list = commonMapper.getProductPlace(param);
-        return ResponseResultUtil.success(list);
-    }
-
-
-    /**
-     * @desc : 获取模具型号
-     * @author : 姜宁
-     * @date : 2023/2/8 15:43
-     */
-    public ResponseResultVO<PageList<Map<String, Object>>> getModelMouldByPage(Map<String, Object> param) {
-        // 校验分页参数
-        if (param.get("pageSize") == null || param.get("currentPage") == null) {
-            return ResponseResultUtil.error(ResponseCodeEnum.OPERATE_FAIL, "请检查分页参数!");
-        }
-        // 分页参数赋值
-        param = this.getLimit(param);
-        return super.mergeListWithCount(param, commonMapper.getModelMouldByPage(param),
-                commonMapper.getModelMouldCountByPage(param));
-    }
-
-    /**
-     * @desc : 获取产品型号数量
-     * @author : 洪旭东
-     * @date : 2023-02-08 11:21
-     */
-    public ResponseResultVO<PageList<Map<String, Object>>> getModelProduct(Map<String, Object> param) {
-        this.getLimit(param);
-        return super.mergeListWithCount(param, commonMapper.getModelProduct(param),
-                commonMapper.countModelProduct(param));
-    }
-
-    /**
-     * @desc : 获取获取载具型号
-     * @author : 常皓宁
-     * @date : 2023/2/7 14:36
-     */
-    public ResponseResultVO<List<Map<String, Object>>> getModelCarrier(Map<String, Object> param) {
-        // 获取获取载具型号
-        List<Map<String, Object>> list = commonMapper.getModelCarrier(param);
-        return ResponseResultUtil.success(list);
-    }
-
-    /**
-     * @desc : 获取获取设备型号
-     * @author : 常皓宁
-     * @date : 2023/2/7 14:36
-     */
-    public ResponseResultVO<List<Map<String, Object>>> getModelEquipment(Map<String, Object> param) {
-        // 获取获取载具型号
-        List<Map<String, Object>> list = commonMapper.getModelEquipment(param);
-        return ResponseResultUtil.success(list);
-    }
-
-    /**
-     * @desc : 根据模具型号id 查询模具产出型号和可变更产品型号
-     * @author : 夏常明
-     * @date : 2023/2/9 10:09
-     */
-    public ResponseResultVO<List<Map<String, Object>>> getMouldOutputById(Map<String, Object> param) {
-        //模具产出型号
-        List<Map<String, Object>> MouldOutputList = commonMapper.getMouldOutputById(param);
-        // 返回的staffList需要重新赋值
-        if (!CollectionUtils.isEmpty(MouldOutputList)) {
-            for (Map<String, Object> stringObjectMap : MouldOutputList) {
-                if (stringObjectMap.get("modelProductList") != null) {
-                    String labelString = ((PGobject) stringObjectMap.get("modelProductList")).getValue();
-                    JSONArray object = JSONArray.parseArray(labelString);
-                    stringObjectMap.replace("modelProductList", object);
-                }
-            }
-        }
-        return ResponseResultUtil.success(MouldOutputList);
-    }
-
-    /**
-     * @desc : 根据模具型号id 查询模具产出型号和可变更产品型号
-     * @author : 夏常明
-     * @date : 2023/2/9 10:09
-     */
-    public ResponseResultVO<List<Map<String, Object>>> getModelPdt(Map<String, Object> param) {
-        //模具产出型号
-        List<Map<String, Object>> ModelPdtList = commonMapper.getModelPdt(param);
-        return ResponseResultUtil.success(ModelPdtList);
-    }
-
-    /**
-     * @desc : 查询产品缺陷扣罚数据
-     * @author : 夏常明
-     * @date : 2023/2/10 11:46
-     */
-    public ResponseResultVO<List<Map<String, Object>>> getDefectFines(Map<String, Object> param) {
-        // 查询产品缺陷扣罚数据
-        List<Map<String, Object>> list = commonMapper.getDefectFines(param);
-        return ResponseResultUtil.success(list);
-    }
-
-    /**
-     * @desc : 查询打印模板分类
-     * @author : 常皓宁
-     * @date : 2023/2/14 14:35
-     */
-    public ResponseResultVO<List<Map<String, Object>>> getLabelPrintType(Map<String, Object> param) {
-        // 查询产品缺陷扣罚数据
-        List<Map<String, Object>> list = commonMapper.getLabelPrintType(param);
-        return ResponseResultUtil.success(list);
-    }
-
-    /**
-     * @desc : 获取成型线分组
-     * @author : 洪旭东
-     * @date : 2023-02-15 13:34
-     */
-    public ResponseResultVO<PageList<Map<String, Object>>> getMoldlineGroupByPage(Map<String, Object> param) {
-        this.getLimit(param);
-        return super.mergeListWithCount(param, commonMapper.getMoldlineGroup(param),
-                commonMapper.countMoldlineGroup(param));
-    }
-
-    /**
-     * @desc : 查询工位
-     * @author : 夏常明
-     * @date : 2023/2/15 14:44
-     */
-    public ResponseResultVO<List<Map<String, Object>>> getWorkStation(Map<String, Object> param) {
-        // 查询工位
-        List<Map<String, Object>> list = commonMapper.getWorkStation(param);
-        return ResponseResultUtil.success(list);
-    }
-
-
-    /**
-     * @desc : 查询工位 分页
-     * @author : 洪旭东
-     * @date : 2023-03-01 14:45
-     */
-    public ResponseResultVO<PageList<Map<String, Object>>> getWorkStationByPage(Map<String, Object> param) {
-        this.getLimit(param);
-        return super.mergeListWithCount(param, commonMapper.getWorkStation(param),
-                commonMapper.countWorkStation(param));
-    }
-
-    /**
-     * @desc : 获取工艺节点
-     * @author : 常皓宁
-     * @date : 2023/2/15 16:12
-     */
-    public ResponseResultVO<PageList<Map<String, Object>>> getProcessNodeByPage(Map<String, Object> param) {
-        // 校验分页参数
-        if (param.get("pageSize") == null || param.get("currentPage") == null) {
-            return ResponseResultUtil.error(ResponseCodeEnum.OPERATE_FAIL, "请检查分页参数!");
-        }
-        // 分页参数赋值
-        param = this.getLimit(param);
-        return super.mergeListWithCount(param, commonMapper.getProcessNodeByPage(param),
-                commonMapper.getProcessNodeCountByPage(param));
-    }
-
-    /**
-     * @desc : 获取工号
-     * @author : 常皓宁
-     * @date : 2023/2/17 15:41
-     */
-    public ResponseResultVO<List<Map<String, Object>>> getWorkStationUser(Map<String, Object> param) {
-        // 查询工位
-        List<Map<String, Object>> list = commonMapper.getWorkStationUser(param);
-        return ResponseResultUtil.success(list);
-    }
-
-    /**
-     * @desc : 获取工号(分页)
+     * @desc : 获取用户隐藏列信息
      * @author : 周兴
-     * @date : 2023/2/20 10:39
+     * @date : 2023/4/4 15:05
      */
-    public ResponseResultVO<PageList<Map<String, Object>>> getWorkStationUserPage(Map<String, Object> param) {
-        // 校验分页参数
-        if (param.get("pageSize") == null || param.get("currentPage") == null) {
-            return ResponseResultUtil.error(ResponseCodeEnum.OPERATE_FAIL, "请检查分页参数!");
-        }
-        // 分页参数赋值
-        param = this.getLimit(param);
-        return super.mergeListWithCount(param, commonMapper.getWorkStationUser(param),
-                commonMapper.getWorkStationUserCount(param));
+    public ResponseResultVO<List<Map<String, Object>>> getUserTableInfo(Map<String, Object> param) {
+        return ResponseResultUtil.success(commonMapper.getUserTableInfo(param));
     }
 
     /**
-     * @desc : 根据成型线Id获取成型记录信息
+     * @desc : 获取用户功能
      * @author : 周兴
-     * @date : 2023/2/18 19:47
+     * @date : 2023/4/4 15:05
      */
-    public ResponseResultVO<List<Map<String, Object>>> getMoldingItemByMoldlineId(Map<String, Object> param) {
-        // 查询成型记录信息
-        List<Map<String, Object>> list = commonMapper.getMoldingItemByMoldlineId(param);
-        return ResponseResultUtil.success(list);
+    public ResponseResultVO<List<Map<String, Object>>> getUserFunction(Map<String, Object> param) {
+        return ResponseResultUtil.success(commonMapper.getUserFunction(param));
     }
 
     /**
-     * @desc : 产品信息(条码变更)
-     * @author : 夏常明
-     * @date : 2023/2/20 10:39
+     * @desc : 查导航菜单(自定义报表用)
+     * @author : 周兴
+     * @date : 2023/4/4 15:05
      */
-    public ResponseResultVO<PageList<Map<String, Object>>> getProductForChange(Map<String, Object> param) {
-        // 校验分页参数
-        if (param.get("pageSize") == null || param.get("currentPage") == null) {
-            return ResponseResultUtil.error(ResponseCodeEnum.OPERATE_FAIL, "请检查分页参数!");
-        }
-        // 分页参数赋值
-        param = this.getLimit(param);
-        return super.mergeListWithCount(param, commonMapper.getProductForChange(param),
-                commonMapper.getProductForChangeCount(param));
+    public ResponseResultVO<List<Map<String, Object>>> getMenuNavigation(Map<String, Object> param) {
+        return ResponseResultUtil.success(commonMapper.getMenuNavigation(param));
     }
 
     /**
-     * @desc : 查询损坯原因/产品缺陷/未成型原因
+     * @desc : 获取数据类型
      * @author : 周兴
-     * @date : 2023/2/18 19:47
+     * @date : 2023/6/2 11:01
      */
-    public ResponseResultVO<List<Map<String, Object>>> getProductDefect(Map<String, Object> param) {
-        // 查询损坯原因/产品缺陷/未成型原因
-        List<Map<String, Object>> list = commonMapper.getProductDefect(param);
-        return ResponseResultUtil.success(list);
+    public ResponseResultVO<List<Map<String, Object>>> getValueKind(Map<String, Object> param) {
+        return ResponseResultUtil.success(commonMapper.getValueKind(param));
     }
 
     /**
-     * @desc : 产品信息(条码变更)
-     * @author : 夏常明
-     * @date : 2023/2/20 10:39
+     * @desc : 获取应用
+     * @author : 洪旭东
+     * @date : 2023-06-30 14:56
      */
-    public ResponseResultVO<PageList<Map<String, Object>>> getColourForSet(Map<String, Object> param) {
-        // 校验分页参数
-        if (param.get("pageSize") == null || param.get("currentPage") == null) {
-            return ResponseResultUtil.error(ResponseCodeEnum.OPERATE_FAIL, "请检查分页参数!");
-        }
-        // 分页参数赋值
-        param = this.getLimit(param);
-        return super.mergeListWithCount(param, commonMapper.getColourForSet(param),
-                commonMapper.getColourForSetCount(param));
+    public ResponseResultVO<List<Map<String, String>>> getApplication() {
+        return ResponseResultUtil.success(commonMapper.getApplication());
     }
 
     /**
-     * @desc : 产品信息(商标釉色)
-     * @author : 夏常明
-     * @date : 2023/2/20 10:39
-     */
-    public ResponseResultVO<PageList<Map<String, Object>>> getLogoForSet(Map<String, Object> param) {
-        // 校验分页参数
-        if (param.get("pageSize") == null || param.get("currentPage") == null) {
-            return ResponseResultUtil.error(ResponseCodeEnum.OPERATE_FAIL, "请检查分页参数!");
-        }
-        // 分页参数赋值
-        param = this.getLimit(param);
-        return super.mergeListWithCount(param, commonMapper.getLogoForSet(param),
-                commonMapper.getColourForSetCount(param));
-    }
-
-    /**
-     * @desc : 查询成型产品型号
-     * @author : 洪旭东
-     * @date : 2023-04-19 13:00
-     */
-    public ResponseResultVO<PageList<Map<String, Object>>> getProductModel(Map<String, Object> param) {
-        // 校验分页参数
-        if (param.get("pageSize") == null || param.get("currentPage") == null) {
-            return ResponseResultUtil.error(ResponseCodeEnum.OPERATE_FAIL, "请检查分页参数!");
-        }
-        // 分页参数赋值
-        this.getLimit(param);
-        return super.mergeListWithCount(param, commonMapper.getProductModel(param),
-                commonMapper.getColourForSetCount(param));
-    }
-
-    /**
-     * @desc : 根据工号编码值等查询工号
-     * @date : 2023/2/21 16:46
-     * @author : 寇珊珊
-     */
-    public ResponseResultVO<List<Map<String, Object>>> getUserByCode(Map<String, Object> param) {
-        List<Map<String, Object>> list = commonMapper.getUserByCode(param);
-        return ResponseResultUtil.success(list);
-    }
-
-    /**
-     * @desc : 根据工号编码值等查询工号分页
-     * @date : 2023/2/21 16:46
-     * @author : 寇珊珊
-     */
-    public ResponseResultVO<PageList<Map<String, Object>>> getUserByCodePage(Map<String, Object> param) {
-        // 校验分页参数
-        if (param.get("pageSize") == null || param.get("currentPage") == null) {
-            return ResponseResultUtil.error(ResponseCodeEnum.OPERATE_FAIL, "请检查分页参数!");
-        }
-        // 分页参数赋值
-        param = this.getLimit(param);
-        param.put("userType", Constant.IntegerConstant.USER_TYPE_WORK_TEAM.getValue());
-        return super.mergeListWithCount(param, commonMapper.getUserByCode(param),
-                commonMapper.getUserByCodeCount(param));
-    }
-
-
-    /**
-     * @desc : 获取工艺节点
-     * @author : 常皓宁
-     * @date : 2023/2/15 16:12
-     */
-    public ResponseResultVO<List<Map<String, Object>>> getProcessNode(Map<String, Object> param) {
-        // 查询工艺节点数据
-        List<Map<String, Object>> list = commonMapper.getProcessNode(param);
-        return ResponseResultUtil.success(list);
-    }
-
-    /**
-     * @desc : 产品信息(条码变更)
-     * @author : 夏常明
-     * @date : 2023/2/20 10:39
-     */
-    public ResponseResultVO<PageList<Map<String, Object>>> getMoldLinePage(Map<String, Object> param) {
-        // 校验分页参数
-        if (param.get("pageSize") == null || param.get("currentPage") == null) {
-            return ResponseResultUtil.error(ResponseCodeEnum.OPERATE_FAIL, "请检查分页参数!");
-        }
-        // 分页参数赋值
-        param = this.getLimit(param);
-        return super.mergeListWithCount(param, commonMapper.getMoldLinePage(param),
-                commonMapper.getMoldLinePageCount(param));
-    }
-
-    /**
-     * @desc : 工位工号(工位打卡选择工位)
-     * @author : 夏常明
-     * @date : 2023/2/27 14:52
-     */
-    public ResponseResultVO<List<Map<String, Object>>> getWsStation(Map<String, Object> param) {
-        // 查询工艺节点数据
-        List<Map<String, Object>> list = commonMapper.getWsStation(param);
-        return ResponseResultUtil.success(list);
-    }
-
-    /**
-     * @desc : 根据用户Id获取班组信息
-     * @author : 周兴
-     * @date : 2023/2/27 14:52
-     */
-    public ResponseResultVO<List<Map<String, Object>>> getWorkTeamByUserId(Map<String, Object> param) {
-        List<Map<String, Object>> list = commonMapper.getWorkTeamByUserId(param);
-        return ResponseResultUtil.success(list);
-    }
-
-    /**
-     * @desc : 查询产品分级 分页
-     * @author : 洪旭东
-     * @date : 2023-03-03 09:17
-     */
-    public ResponseResultVO<PageList<Map<String, Object>>> getProductGradeByPage(Map<String, Object> param) {
-        this.getLimit(param);
-        return super.mergeListWithCount(param, commonMapper.getProductGrade(param),
-                commonMapper.countProductGrade(param));
-    }
-
-    /**
-     * @desc : 查询产品分级
-     * @author : 洪旭东
-     * @date : 2023-03-03 09:17
-     */
-    public ResponseResultVO<List<Map<String, Object>>> getProductGrade(Map<String, Object> param) {
-        return ResponseResultUtil.success(commonMapper.getProductGrade(param));
-    }
-
-    /**
-     * @desc : 查询工艺流程(分页)
-     * @author : 夏常明
-     * @date : 2023/3/3 14:05
-     */
-    public ResponseResultVO<PageList<Map<String, Object>>> getProcessFlow(Map<String, Object> param) {
-        // 校验分页参数
-        if (param.get("pageSize") == null || param.get("currentPage") == null) {
-            return ResponseResultUtil.error(ResponseCodeEnum.OPERATE_FAIL, "请检查分页参数!");
-        }
-        // 分页参数赋值
-        param = this.getLimit(param);
-        return super.mergeListWithCount(param, commonMapper.getProcessFlow(param),
-                commonMapper.getProcessFlowCount(param));
-    }
-
-    /**
-     * @desc : 查询产品分类(分页)
-     * @author : 夏常明
-     * @date : 2023/3/3 14:05
-     */
-    public ResponseResultVO<PageList<Map<String, Object>>> getModelCategoryPage(Map<String, Object> param) {
-        // 校验分页参数
-        if (param.get("pageSize") == null || param.get("currentPage") == null) {
-            return ResponseResultUtil.error(ResponseCodeEnum.OPERATE_FAIL, "请检查分页参数!");
-        }
-        // 分页参数赋值
-        param = this.getLimit(param);
-        return super.mergeListWithCount(param, commonMapper.getModelCategoryPage(param),
-                commonMapper.getModelCategoryCount(param));
-    }
-
-    /**
-     * @desc : 查询打印机
-     * @author : 夏常明
-     * @date : 2023/3/7 10:41
-     */
-    public ResponseResultVO<List<Map<String, Object>>> getLabelPrinter(Map<String, Object> param) {
-        return ResponseResultUtil.success(commonMapper.getLabelPrinter(param));
-    }
-
-    /**
-     * @desc : 查询打印模板
-     * @author : 夏常明
-     * @date : 2023/3/7 10:41
-     */
-    public ResponseResultVO<List<Map<String, Object>>> getLabelPrintLayout(Map<String, Object> param) {
-        return ResponseResultUtil.success(commonMapper.getLabelPrintLayout(param));
-    }
-
-    /**
-     * @desc : 获取用户
-     * @author : 姜宁
-     * @date : 2023/3/14 9:51
-     */
-    public ResponseResultVO<List<Map<String, Object>>> getUser(Map<String, Object> param) {
-        return ResponseResultUtil.success(commonMapper.getUser(param));
-    }
-
-    /**
-     * @desc : 查询工种 分页
-     * @author : 洪旭东
-     * @date : 2023-03-20 11:23
-     */
-    public ResponseResultVO<PageList<Map<String, Object>>> getJobByPage(Map<String, Object> param) {
-        this.getLimit(param);
-        return super.mergeListWithCount(param, commonMapper.getJob(param),
-                commonMapper.countJob(param));
-    }
-
-    /**
-     * @desc : 查询班组员工
-     * @author : 洪旭东
-     * @date : 2023-03-20 13:13
-     */
-    public ResponseResultVO<PageList<Map<String, Object>>> getTeamStaff(Map<String, Object> param) {
-        return super.mergeListWithCount(param, commonMapper.getTeamStaff(param),
-                commonMapper.countTeamStaff(param));
-    }
-
-    /**
-     * @desc : 获取结转账务日期
-     * @author : 姜宁
-     * @date : 2023/3/21 9:24
-     */
-    public ResponseResultVO<String> getCarryoverAccountDate(Map<String, Object> param) {
-        // 获取系统参数默认结转账务日
-        Map<String, Object> sysParam = new HashMap<>();
-        sysParam.put("code", Constant.StringConstant.SYS_PDM_001.getName());
-        sysParam.put("ftyId", param.get("ftyId"));
-        String accountDay = commonMapper.getSettingValue(sysParam);
-        // 获取账务日开始和结束
-        Map<String, Object> accountParam = new HashMap<>();
-        accountParam.put("accountDay", accountDay.equals("") ? null : Integer.parseInt(accountDay));
-        accountParam.put("month", param.get("month"));
-        String accountDate = commonMapper.selectAccountDate(accountParam);
-        // 获取开始日和结束日
-        List stringDate = Arrays.asList(accountDate.split(String.valueOf(',')));
-        if (CollectionUtils.isEmpty(stringDate) || stringDate.size() < 4) {
-            return ResponseResultUtil.error(ResponseCodeEnum.SELECT_ACCOUNDATE_FAIL);
-        }
-        return ResponseResultUtil.success(accountDate);
-    }
-
-
-    /**
-     * @desc : 获取工位(工位打卡选择工位)
-     * @author : 姜宁
-     * @date : 2023/3/30 10:38
-     */
-    public ResponseResultVO<List<Map<String, Object>>> getWsStationByUser(Map<String, Object> param) {
-        List<Map<String, Object>> list = new ArrayList<>();
-        //获取工位工号
-        List<Map<String, Object>> list1 = commonMapper.getWsStation(param);
-        //获取工位(工位打卡选择工位,工号未绑定工位时,获取工序工号绑定的工位)
-        List<Map<String, Object>> list2 = commonMapper.getWsStationByNode(param);
-        //获取工位(工位打卡选择工位,工位未绑定工序和用户)
-        List<Map<String, Object>> list3 = commonMapper.getWsStationNoUser(param);
-        list.addAll(list1);
-        list.addAll(list2);
-        list.addAll(list3);
-        list = list.stream().distinct().collect(Collectors.toList());
-        return ResponseResultUtil.success(list);
-    }
-
-    /**
-     * @desc : 获取湿温度计分页
-     * @date : 2023/4/3 10:39
-     * @author : 寇珊珊
-     */
-    public ResponseResultVO<PageList<Map<String, Object>>> thmeterRecordByPage(Map<String, Object> param) {
-        // 分页参数赋值
-        param = this.getLimit(param);
-        return super.mergeListWithCount(param, commonMapper.thmeterRecordByPage(param),
-                commonMapper.getThmeterRecordByCount(param));
-    }
-
-    /**
-     * @desc : 获取湿温度计
-     * @date : 2023/4/3 14:29
-     * @author : 寇珊珊
-     */
-    public ResponseResultVO<List<Map<String, Object>>> getThmeterRecord(Map<String, Object> param) {
-        return ResponseResultUtil.success(commonMapper.getThmeterRecord(param));
-    }
-
-    /**
-     * @desc : 获取用户隐藏列信息
-     * @author : 周兴
-     * @date : 2023/4/4 15:05
-     */
-    public ResponseResultVO<List<Map<String, Object>>> getUserTableInfo(Map<String, Object> param) {
-        return ResponseResultUtil.success(commonMapper.getUserTableInfo(param));
-    }
-
-    /**
-     * @desc : 获取用户功能
-     * @author : 周兴
-     * @date : 2023/4/4 15:05
-     */
-    public ResponseResultVO<List<Map<String, Object>>> getUserFunction(Map<String, Object> param) {
-        return ResponseResultUtil.success(commonMapper.getUserFunction(param));
-    }
-
-    /**
-     * @desc : 查导航菜单(自定义报表用)
-     * @author : 周兴
-     * @date : 2023/4/4 15:05
-     */
-    public ResponseResultVO<List<Map<String, Object>>> getMenuNavigation(Map<String, Object> param) {
-        return ResponseResultUtil.success(commonMapper.getMenuNavigation(param));
-    }
-
-    /**
-     * @desc : 查询标签打印项目
-     * @author : 洪旭东
-     * @date : 2023-04-12 13:24
-     */
-    public ResponseResultVO<List<Map<String, Object>>> getLabelPrintItem(Map<String, Object> param) {
-        return ResponseResultUtil.success(commonMapper.getLabelPrintItem(param));
-    }
-
-
-    /**
-     * @desc : 获取员工用于报工记录查询
-     * @date : 2023/4/17 15:07
-     * @author : 寇珊珊
-     */
-    public ResponseResultVO<PageList<Map<String, Object>>> getStaffWithWork(Map<String, Object> param) {
-        // 校验分页参数
-        if (param.get("pageSize") == null || param.get("currentPage") == null) {
-            return ResponseResultUtil.error(ResponseCodeEnum.OPERATE_FAIL, "请检查分页参数!");
-        }
-        // 分页参数赋值
-        param = this.getLimit(param);
-        return super.mergeListWithCount(param, commonMapper.getStaffWithWorkByPage(param),
-                commonMapper.getStaffWithWorkByCount(param));
-    }
-
-    /**
-     * @desc : 查询标签分类的类型
-     * @author : 洪旭东
-     * @date : 2023-05-08 17:03
-     */
-    public ResponseResultVO<List<Map<String, Object>>> getLabelPrintTypeKind() {
-        return ResponseResultUtil.success(commonMapper.getLabelPrintTypeKind(new HashMap<>()));
-    }
-
-    /**
-     * @desc : 查询产品型号标签
-     * @author : 洪旭东
-     * @date : 2023-05-11 15:00
-     */
-    public ResponseResultVO<List<Map<String, Object>>> getModelProductLabelType() {
-        return ResponseResultUtil.success(commonMapper.getModelProductLabelType(new HashMap<>()));
-    }
-
-    /**
-     * @desc : 获取窑炉类型
-     * @author : 洪旭东
-     * @date : 2023-05-19 10:38
-     */
-    public ResponseResultVO<List<Map<String, Object>>> getKilnType(Map<String, Object> param) {
-        return ResponseResultUtil.success(commonMapper.getKilnType(param));
-    }
-
-    /**
-     * @desc : 获取成型线类型
-     * @author : 洪旭东
-     * @date : 2023-05-19 10:38
-     */
-    public ResponseResultVO<List<Map<String, Object>>> getMoldlineType(Map<String, Object> param) {
-        return ResponseResultUtil.success(commonMapper.getMoldlineType(param));
-    }
-
-    /**
-     * @desc : 获取物料编码
-     * @date : 2023/5/24 14:05
-     * @author : 寇珊珊
-     */
-    public ResponseResultVO<PageList<Map<String, Object>>> getModelMaterialByPage(Map<String, Object> param) {
-        // 校验分页参数
-        if (param.get("pageSize") == null || param.get("currentPage") == null) {
-            return ResponseResultUtil.error(ResponseCodeEnum.OPERATE_FAIL, "请检查分页参数!");
-        }
-        // 分页参数赋值
-        param = this.getLimit(param);
-        return super.mergeListWithCount(param, commonMapper.getModelMaterialByPage(param),
-                commonMapper.getModelMaterialCountByPage(param));
-    }
-
-    /**
-     * @desc : 获取物料编码
-     * @date : 2023/6/30 9:51
-     * @author : 寇珊珊
-     */
-    public ResponseResultVO<List<Map<String, Object>>> getModelMaterial(Map<String, Object> param) {
-        return ResponseResultUtil.success(commonMapper.getModelMaterial(param));
-    }
-
-
-    /**
-     * @desc : 产品信息数量
-     * @date : 2023/5/26 13:48
-     * @author : 寇珊珊
-     */
-    public ResponseResultVO<List<Map<String, Object>>> getProductForChangeNoPage(Map<String, Object> param) {
-        return ResponseResultUtil.success(commonMapper.getProductForChangeNoPage(param));
-    }
-
-    /**
-     * @desc : 获取数据类型
-     * @author : 周兴
-     * @date : 2023/6/2 11:01
-     */
-    public ResponseResultVO<List<Map<String, Object>>> getValueKind(Map<String, Object> param) {
-        return ResponseResultUtil.success(commonMapper.getValueKind(param));
-    }
-
-    /**
-     * @desc : 获取计量单位
-     * @author : 常皓宁
-     * @date : 2023/6/15 8:46
-     */
-    public ResponseResultVO<List<Map<String, Object>>> getModelUnits(Map<String, Object> param) {
-        return ResponseResultUtil.success(commonMapper.getModelUnits(param));
-    }
-
-    /**
-     * @desc : 获取产品型号、物料型号
-     * @author : 常皓宁
-     * @date : 2023/6/15 13:37
-     */
-    public ResponseResultVO<List<Map<String, Object>>> getModelBase(Map<String, Object> param) {
-        return ResponseResultUtil.success(commonMapper.getModelBase(param));
-    }
-
-    /**
-     * @desc : 获取产品型号、物料型号分页
-     * @author : 常皓宁
-     * @date : 2023/6/15 13:37
-     */
-    public ResponseResultVO<PageList<Map<String, Object>>> getModelBaseByPage(Map<String, Object> param) {
-        this.getLimit(param);
-        return super.mergeListWithCount(param, commonMapper.getModelBase(param),
-                commonMapper.countModelBase(param));
-    }
-
-    /**
-     * @desc : 获取报工项目
-     * @author : 付斌
-     * @date : 2023/6/19 9:12
-     */
-    public ResponseResultVO<List<Map<String, Object>>> getWorkProject(Map<String, Object> param) {
-        // 查询工艺节点数据
-        List<Map<String, Object>> list = commonMapper.getWorkProject(param);
-        return ResponseResultUtil.success(list);
-    }
-
-    /**
-     * @desc : 获取报工项目
-     * @author : 付斌
-     * @date : 2023/6/19 9:12
-     */
-    public ResponseResultVO<PageList<Map<String, Object>>> getWorkProjectByPage(Map<String, Object> param) {
-        // 校验分页参数
-        if (param.get("pageSize") == null || param.get("currentPage") == null) {
-            return ResponseResultUtil.error(ResponseCodeEnum.OPERATE_FAIL, "请检查分页参数!");
-        }
-        // 分页参数赋值
-        param = this.getLimit(param);
-        return super.mergeListWithCount(param, commonMapper.getWorkProjectByPage(param),
-                commonMapper.getWorkProjectCountByPage(param));
-    }
-
-    /**
-     * @desc : 查询产品缺陷
-     * @author : 常皓宁
-     * @date : 2023/6/25 10:05
-     */
-    public ResponseResultVO<PageList<Map<String, Object>>> getProductDefectsByPage(Map<String, Object> param) {
-        this.getLimit(param);
-        return super.mergeListWithCount(param, commonMapper.getProductDefects(param),
-                commonMapper.countProductDefects(param));
-    }
-
-    /**
-     * @desc : 查询产品缺陷
-     * @author : 常皓宁
-     * @date : 2023/6/25 10:05
-     */
-    public ResponseResultVO<List<Map<String, Object>>> getProductDefects(Map<String, Object> param) {
-        return ResponseResultUtil.success(commonMapper.getProductDefects(param));
-    }
-
-    /**
-     * @desc : 获取应用
-     * @author : 洪旭东
-     * @date : 2023-06-30 14:56
-     */
-    public ResponseResultVO<List<Map<String, String>>> getApplication() {
-        return ResponseResultUtil.success(commonMapper.getApplication());
-    }
-
-
-    /**
-     * @desc : 获取产品
-     * @date : 2023/7/14 14:44
-     * @author : 寇珊珊
-     */
-    public ResponseResultVO<Map<String, String>> getProduct(Map<String, Object> param) {
-        return ResponseResultUtil.success(commonMapper.getProduct(param));
-    }
-
-
-    /**
-     * @desc : 获取工位打印机
-     * @date : 2023/7/14 14:44
-     * @author : 寇珊珊
-     */
-    public ResponseResultVO<List<Map<String, String>>> getWsPrinter(Map<String, Object> param) {
-        return ResponseResultUtil.success(commonMapper.getWsPrinter(param));
-    }
-
-
-    /**
-     * @desc : 获取仓位
-     * @author : 洪旭东
-     * @date : 2023-08-09 14:31
-     */
-    public ResponseResultVO<PageList<Map<String, Object>>> getWarehousePlaceByPage(Map<String, Object> param) {
-        this.getLimit(param);
-        return super.mergeListWithCount(param, commonMapper.getWarehousePlaceByPage(param),
-                commonMapper.countWarehousePlaceByPage(param));
-    }
-
-    /**
-     * @desc : 获取单据
-     * @author : 周兴
-     * @date : 2023/9/14 11:06
+     * @desc : 获取单据
+     * @author : 周兴
+     * @date : 2023/9/14 11:06
      */
     public ResponseResultVO<List<Map<String, Object>>> getDoc(Map<String, Object> param) {
         return ResponseResultUtil.success(commonMapper.getDoc(param));
     }
 
     /**
-     * @desc : 获取下拉选
-     * @author : 洪旭东
-     * @date : 2023-09-25 09:03
-     */
-    public ResponseResultVO<List<Map<String, Object>>> getSelectType(Map<String, Object> param) {
-        return ResponseResultUtil.success(commonMapper.getSelectType(param));
-    }
-
-
-    /**
-     * @desc : 获取放大镜
-     * @author : 洪旭东
-     * @date : 2023-09-25 09:03
-     */
-    public ResponseResultVO<List<Map<String, Object>>> getSelectMagnifier(Map<String, Object> param) {
-        return ResponseResultUtil.success(commonMapper.getSelectMagnifier(param));
-    }
-
-    /**
-     * @desc : 获取理化检验单
-     * @author : 洪旭东
-     * @date : 2023-12-01 16:39
-     */
-    public ResponseResultVO<PageList<Map<String, Object>>> getPhysicalCollectByPage(Map<String, Object> param) {
-        this.getLimit(param);
-        return super.mergeListWithCount(param, commonMapper.getPhysicalCollectByPage(param),
-                commonMapper.countPhysicalCollectByPage(param));
-    }
-
-    /**
-     * @desc : 获取生产工单
-     * @author : 洪旭东
-     * @date : 2023-12-25 10:59
-     */
-    public ResponseResultVO<PageList<Map<String, Object>>> getSheetProduceByPage(Map<String, Object> param) {
-        this.getLimit(param);
-        return super.mergeListWithCount(param, commonMapper.getSheetProduceByPage(param),
-                commonMapper.countSheetProduceByPage(param));
-    }
-
-    /**
-     * @desc : 获取载具型号分页查询
-     * @author : 姜宁
-     * @date : 2024/1/3 10:53
-     */
-    public ResponseResultVO<PageList<Map<String, Object>>> getModelCarrierByPage(Map<String, Object> param) {
-        this.getLimit(param);
-        return super.mergeListWithCount(param, commonMapper.getModelCarrierByPage(param),
-                commonMapper.countModelCarrierByPage(param));
-    }
-
-    /**
      * @desc : 获取商品
      * @author : 姜宁
      * @date : 2023/1/9 13:50

Некоторые файлы не были показаны из-за большого количества измененных файлов