iailab-module-model/iailab-module-model-api/src/main/java/com/iailab/api/IFeignModelApi.java
文件已删除 iailab-module-model/iailab-module-model-api/src/main/java/com/iailab/api/IFeignProddispApi.java
文件已删除 iailab-module-model/iailab-module-model-api/src/main/java/com/iailab/dto/FeignConsumeTargetDTO.java
文件已删除 iailab-module-model/iailab-module-model-api/src/main/java/com/iailab/dto/FeignHourVolumeDTO.java
文件已删除 iailab-module-model/iailab-module-model-api/src/main/java/com/iailab/dto/FeignMcMzDTO.java
文件已删除 iailab-module-model/iailab-module-model-api/src/main/java/com/iailab/dto/FeignPowerConsumeDTO.java
文件已删除 iailab-module-model/iailab-module-model-api/src/main/java/com/iailab/dto/FeignRunTimeDTO.java
文件已删除 iailab-module-model/iailab-module-model-api/src/main/java/com/iailab/dto/FeignWarehouseItemDTO.java
文件已删除 iailab-module-model/iailab-module-model-api/src/main/java/com/iailab/dto/FeignWarehousePositionDTO.java
文件已删除 iailab-module-model/iailab-module-model-api/src/main/java/com/iailab/dto/FeignWarehouseStockDTO.java
文件已删除 iailab-module-model/iailab-module-model-api/src/main/java/com/iailab/dto/FeignWashProdVolumeDTO.java
文件已删除 iailab-module-model/iailab-module-model-api/src/main/java/com/iailab/dto/FeignWashToWashDTO.java
文件已删除 iailab-module-model/iailab-module-model-api/src/main/java/com/iailab/dto/FeignWashTransferInDTO.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/ModelServiceApplication.java
@@ -3,8 +3,6 @@ import org.springframework.boot.CommandLineRunner; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.cloud.client.discovery.EnableDiscoveryClient; import org.springframework.cloud.openfeign.EnableFeignClients; @SpringBootApplication public class ModelServiceApplication implements CommandLineRunner { iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/common/aspect/DictAspect.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/common/config/MybatisPlusConfig.java
@@ -1,43 +1,35 @@ ///** // * Copyright (c) 2018 人人开源 All rights reserved. // * // * https://www.renren.io // * // * 版权所有,侵权必究! // */ // //package com.iailab.common.config; // //import com.baomidou.mybatisplus.extension.plugins.MybatisPlusInterceptor; //import com.baomidou.mybatisplus.extension.plugins.inner.BlockAttackInnerInterceptor; //import com.baomidou.mybatisplus.extension.plugins.inner.OptimisticLockerInnerInterceptor; //import com.baomidou.mybatisplus.extension.plugins.inner.PaginationInnerInterceptor; //import com.iailab.common.interceptor.DataFilterInterceptor; //import org.springframework.context.annotation.Bean; //import org.springframework.context.annotation.Configuration; // ///** // * mybatis-plus配置 // * // * @author Mark sunlightcs@gmail.com // * @since 1.0.0 // */ //@Configuration //public class MybatisPlusConfig { // // @Bean // public MybatisPlusInterceptor mybatisPlusInterceptor() { // MybatisPlusInterceptor mybatisPlusInterceptor = new MybatisPlusInterceptor(); // // 数据权限 // mybatisPlusInterceptor.addInnerInterceptor(new DataFilterInterceptor()); // // 分页插件 // mybatisPlusInterceptor.addInnerInterceptor(new PaginationInnerInterceptor()); // // 乐观锁 // mybatisPlusInterceptor.addInnerInterceptor(new OptimisticLockerInnerInterceptor()); // // 防止全表更新与删除 // mybatisPlusInterceptor.addInnerInterceptor(new BlockAttackInnerInterceptor()); // // return mybatisPlusInterceptor; // } // //} package com.iailab.common.config; import com.baomidou.mybatisplus.extension.plugins.MybatisPlusInterceptor; import com.baomidou.mybatisplus.extension.plugins.inner.BlockAttackInnerInterceptor; import com.baomidou.mybatisplus.extension.plugins.inner.OptimisticLockerInnerInterceptor; import com.baomidou.mybatisplus.extension.plugins.inner.PaginationInnerInterceptor; import com.iailab.framework.mybatis.interceptor.DataFilterInterceptor; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; /** * mybatis-plus配置 * * @author Mark sunlightcs@gmail.com * @since 1.0.0 */ @Configuration public class MybatisPlusConfig { @Bean public MybatisPlusInterceptor mybatisPlusInterceptor() { MybatisPlusInterceptor mybatisPlusInterceptor = new MybatisPlusInterceptor(); // 数据权限 mybatisPlusInterceptor.addInnerInterceptor(new DataFilterInterceptor()); // 分页插件 mybatisPlusInterceptor.addInnerInterceptor(new PaginationInnerInterceptor()); // 乐观锁 mybatisPlusInterceptor.addInnerInterceptor(new OptimisticLockerInnerInterceptor()); // 防止全表更新与删除 mybatisPlusInterceptor.addInnerInterceptor(new BlockAttackInnerInterceptor()); return mybatisPlusInterceptor; } } iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/common/constant/BusinessConstant.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/common/dto/IndexQueryDTO.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/common/dto/IndexStatisticDTO.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/common/dto/echarts/BarLineDTO.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/common/dto/echarts/SeriesItem.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/common/dto/vue/CascaderOptionDTO.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/common/enums/CdbmEnum.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/common/enums/CommonConstant.java
@@ -6,428 +6,4 @@ */ public interface CommonConstant { String STA_TRUE = "true"; String ZX_RES = "res"; String CJS_SYS = "system"; /** * 启用 */ public static final int IS_ENABLE = 1; /** * 删除标志 */ public static final Integer BPM_FLAG_1 = 1; /** * 正常状态 */ public static final Integer STATUS_NORMAL = 0; /** * 禁用状态 */ public static final Integer STATUS_DISABLE = -1; /** * 删除标志 */ public static final Integer DEL_FLAG_1 = 1; /** * 未删除 */ public static final Integer DEL_FLAG_0 = 0; /** * 未提交 */ public static final Integer SUBMINT_STATUS_0 = 0; /** * 系统日志类型: 登录 */ public static final int LOG_TYPE_1 = 1; /** * 系统日志类型: 操作 */ public static final int LOG_TYPE_2 = 2; /** * 操作日志类型: 查询 */ public static final int OPERATE_TYPE_1 = 1; /** * 操作日志类型: 添加 */ public static final int OPERATE_TYPE_2 = 2; /** * 操作日志类型: 更新 */ public static final int OPERATE_TYPE_3 = 3; /** * 操作日志类型: 删除 */ public static final int OPERATE_TYPE_4 = 4; /** * 操作日志类型: 倒入 */ public static final int OPERATE_TYPE_5 = 5; /** * 操作日志类型: 导出 */ public static final int OPERATE_TYPE_6 = 6; /** * 提交 */ public static final int SUBMIT_FLAG_1 = 1; /** * 通过 */ public static final int SUBMIT_FLAG_2 = 2; /** * 驳回 */ public static final int SUBMIT_FLAG_3 = 3; /** * 提交 */ public static final int SUBMIT_FLAG_0 = 0; public static final int SUBMIT_FLAG_4 = 4; public static final int SUBMIT_FLAG_5 = 5; public static final int SUBMIT_FLAG_6 = 6; public static final Integer DANGER_STATUS = 1; public static final Integer DANGER_STATUS_2 = 2; /** {@code 500 Server Error} (HTTP/1.0 - RFC 1945) */ public static final Integer SC_INTERNAL_SERVER_ERROR_500 = 500; /** {@code 200 OK} (HTTP/1.0 - RFC 1945) */ public static final Integer SC_OK_200 = 200; /**访问权限认证未通过 510*/ public static final Integer SC_JEECG_NO_AUTHZ=510; /** 登录用户Shiro权限缓存KEY前缀 */ public static String PREFIX_USER_SHIRO_CACHE = "shiro:cache:org.jeecg.config.shiro.ShiroRealm.authorizationCache:"; /** 登录用户Token令牌缓存KEY前缀 */ public static final String PREFIX_USER_TOKEN = "prefix_user_token_"; // /** Token缓存时间:3600秒即一小时 */ // public static final int TOKEN_EXPIRE_TIME = 3600; /** 登录二维码 */ public static final String LOGIN_QRCODE_PRE = "QRCODELOGIN:"; public static final String LOGIN_QRCODE = "LQ:"; /** 登录二维码token */ public static final String LOGIN_QRCODE_TOKEN = "LQT:"; /** * 0:一级菜单 */ public static final Integer MENU_TYPE_0 = 0; /** * 1:子菜单 */ public static final Integer MENU_TYPE_1 = 1; /** * 2:按钮权限 */ public static final Integer MENU_TYPE_2 = 2; /**通告对象类型(USER:指定用户,ALL:全体用户)*/ public static final String MSG_TYPE_UESR = "USER"; public static final String MSG_TYPE_ALL = "ALL"; /**发布状态(0未发布,1已发布,2已撤销)*/ public static final String NO_SEND = "0"; public static final String HAS_SEND = "1"; public static final String HAS_CANCLE = "2"; /**阅读状态(0未读,1已读)*/ public static final String HAS_READ_FLAG = "1"; public static final String NO_READ_FLAG = "0"; /**优先级(L低,M中,H高)*/ public static final String PRIORITY_L = "L"; public static final String PRIORITY_M = "M"; public static final String PRIORITY_H = "H"; /** * 短信模板方式 0 .登录模板、1.注册模板、2.忘记密码模板 */ public static final String SMS_TPL_TYPE_0 = "0"; public static final String SMS_TPL_TYPE_1 = "1"; public static final String SMS_TPL_TYPE_2 = "2"; /** * 状态(0无效1有效) */ public static final String STATUS_0 = "0"; public static final String STATUS_1 = "1"; /** * 状态(0无效1有效) */ public static final Integer INT_STATUS_0 = 0; public static final Integer INT_STATUS_1 = 1; /** * 同步工作流引擎1同步0不同步 */ public static final Integer ACT_SYNC_1 = 1; public static final Integer ACT_SYNC_0 = 0; /** * 消息类型1:通知公告2:系统消息 */ public static final String MSG_CATEGORY_1 = "1"; public static final String MSG_CATEGORY_2 = "2"; /** * 是否配置菜单的数据权限 1是0否 */ public static final Integer RULE_FLAG_0 = 0; public static final Integer RULE_FLAG_1 = 1; /** * 是否用户已被冻结 1正常(解冻) 2冻结 */ public static final Integer USER_UNFREEZE = 1; public static final Integer USER_FREEZE = 2; /**字典翻译文本后缀*/ public static final String DICT_TEXT_SUFFIX = "_dictText"; /** * 表单设计器主表类型 */ public static final Integer DESIGN_FORM_TYPE_MAIN = 1; /** * 表单设计器子表表类型 */ public static final Integer DESIGN_FORM_TYPE_SUB = 2; /** * 表单设计器URL授权通过 */ public static final Integer DESIGN_FORM_URL_STATUS_PASSED = 1; /** * 表单设计器URL授权未通过 */ public static final Integer DESIGN_FORM_URL_STATUS_NOT_PASSED = 2; /** * 表单设计器新增 Flag */ public static final String DESIGN_FORM_URL_TYPE_ADD = "add"; /** * 表单设计器修改 Flag */ public static final String DESIGN_FORM_URL_TYPE_EDIT = "edit"; /** * 表单设计器详情 Flag */ public static final String DESIGN_FORM_URL_TYPE_DETAIL = "detail"; /** * 表单设计器复用数据 Flag */ public static final String DESIGN_FORM_URL_TYPE_REUSE = "reuse"; /** * 表单设计器编辑 Flag (已弃用) */ public static final String DESIGN_FORM_URL_TYPE_VIEW = "view"; /** * online参数值设置(是:Y, 否:N) */ public static final String ONLINE_PARAM_VAL_IS_TURE = "Y"; public static final String ONLINE_PARAM_VAL_IS_FALSE = "N"; /** * 文件上传类型(本地:local,Minio:minio,阿里云:alioss) */ public static final String UPLOAD_TYPE_LOCAL = "local"; public static final String UPLOAD_TYPE_MINIO = "minio"; public static final String UPLOAD_TYPE_OSS = "alioss"; /** * 文档上传自定义桶名称 */ public static final String UPLOAD_CUSTOM_BUCKET = "eoafile"; /** * 文档上传自定义路径 */ public static final String UPLOAD_CUSTOM_PATH = "eoafile"; /** * 文件外链接有效天数 */ public static final Integer UPLOAD_EFFECTIVE_DAYS = 1; /** * 员工身份 (1:普通员工 2:上级) */ public static final Integer USER_IDENTITY_1 = 1; public static final Integer USER_IDENTITY_2 = 2; /** sys_user 表 username 唯一键索引 */ public static final String SQL_INDEX_UNIQ_SYS_USER_USERNAME = "uniq_sys_user_username"; /** sys_user 表 work_no 唯一键索引 */ public static final String SQL_INDEX_UNIQ_SYS_USER_WORK_NO = "uniq_sys_user_work_no"; /** sys_user 表 phone 唯一键索引 */ public static final String SQL_INDEX_UNIQ_SYS_USER_PHONE = "uniq_sys_user_phone"; /** 达梦数据库升提示。违反表[SYS_USER]唯一性约束 */ public static final String SQL_INDEX_UNIQ_SYS_USER = "唯一性约束"; /** sys_user 表 email 唯一键索引 */ public static final String SQL_INDEX_UNIQ_SYS_USER_EMAIL = "uniq_sys_user_email"; /** sys_quartz_job 表 job_class_name 唯一键索引 */ public static final String SQL_INDEX_UNIQ_JOB_CLASS_NAME = "uniq_job_class_name"; /** sys_position 表 code 唯一键索引 */ public static final String SQL_INDEX_UNIQ_CODE = "uniq_code"; /** sys_role 表 code 唯一键索引 */ public static final String SQL_INDEX_UNIQ_SYS_ROLE_CODE = "uniq_sys_role_role_code"; /** sys_depart 表 code 唯一键索引 */ public static final String SQL_INDEX_UNIQ_DEPART_ORG_CODE = "uniq_depart_org_code"; /** sys_category 表 code 唯一键索引 */ public static final String SQL_INDEX_UNIQ_CATEGORY_CODE = "idx_sc_code"; /** * 在线聊天 是否为默认分组 */ public static final String IM_DEFAULT_GROUP = "1"; /** * 在线聊天 图片文件保存路径 */ public static final String IM_UPLOAD_CUSTOM_PATH = "imfile"; /** * 在线聊天 用户状态 */ public static final String IM_STATUS_ONLINE = "online"; /** * 在线聊天 SOCKET消息类型 */ public static final String IM_SOCKET_TYPE = "chatMessage"; /** * 在线聊天 是否开启默认添加好友 1是 0否 */ public static final String IM_DEFAULT_ADD_FRIEND = "1"; /** * 在线聊天 用户好友缓存前缀 */ public static final String IM_PREFIX_USER_FRIEND_CACHE = "sys:cache:im:im_prefix_user_friend_"; /** * 考勤补卡业务状态 (1:同意 2:不同意) */ public static final String SIGN_PATCH_BIZ_STATUS_1 = "1"; public static final String SIGN_PATCH_BIZ_STATUS_2 = "2"; /** * 公文文档上传自定义路径 */ public static final String UPLOAD_CUSTOM_PATH_OFFICIAL = "officialdoc"; /** * 公文文档下载自定义路径 */ public static final String DOWNLOAD_CUSTOM_PATH_OFFICIAL = "officaldown"; /** * WPS存储值类别(1 code文号 2 text(WPS模板还是公文发文模板)) */ public static final String WPS_TYPE_1="1"; public static final String WPS_TYPE_2="2"; public final static String X_ACCESS_TOKEN = "X-Access-Token"; public final static String X_SIGN = "X-Sign"; public final static String X_TIMESTAMP = "X-TIMESTAMP"; public final static String TOKEN_IS_INVALID_MSG = "Token失效,请重新登录!"; /** * 多租户 请求头 */ public final static String TENANT_ID = "tenant-id"; /** * 微服务读取配置文件属性 服务地址 */ public final static String CLOUD_SERVER_KEY = "spring.cloud.nacos.discovery.server-addr"; /** * 第三方登录 验证密码/创建用户 都需要设置一个操作码 防止被恶意调用 */ public final static String THIRD_LOGIN_CODE = "third_login_code"; /** * 第三方APP同步方向:本地 --> 第三方APP */ String THIRD_SYNC_TO_APP = "SYNC_TO_APP"; /** * 第三方APP同步方向:第三方APP --> 本地 */ String THIRD_SYNC_TO_LOCAL = "SYNC_TO_LOCAL"; /** 系统通告消息状态:0=未发布 */ String ANNOUNCEMENT_SEND_STATUS_0 = "0"; /** 系统通告消息状态:1=已发布 */ String ANNOUNCEMENT_SEND_STATUS_1 = "1"; /** 系统通告消息状态:2=已撤销 */ String ANNOUNCEMENT_SEND_STATUS_2 = "2"; /**ONLINE 报表权限用 从request中获取地址栏后的参数*/ String ONL_REP_URL_PARAM_STR="onlRepUrlParamStr"; /**POST请求*/ String HTTP_POST = "POST"; /**PUT请求*/ String HTTP_PUT = "PUT"; /**PATCH请求*/ String HTTP_PATCH = "PATCH"; /**未知的*/ String UNKNOWN = "unknown"; /**字符串http*/ String STR_HTTP = "http"; /**String 类型的空值*/ String STRING_NULL = "null"; /**java.util.Date 包*/ String JAVA_UTIL_DATE = "java.util.Date"; /**.do*/ String SPOT_DO = ".do"; /**前端vue版本标识*/ String VERSION="X-Version"; /**前端vue版本*/ String VERSION_VUE3="vue3"; } iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/common/enums/DataAshType.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/common/enums/DataTypeEnum.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/common/enums/PostalStatus.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/common/enums/SourceTypeEnum.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/common/enums/SuperAdminEnum.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/common/enums/WatchDogStsEnum.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/common/utils/DateUtils.java
@@ -1,14 +1,5 @@ /** * Copyright (c) 2018 人人开源 All rights reserved. * <p> * https://www.renren.io * <p> * 版权所有,侵权必究! */ package com.iailab.common.utils; import com.iailab.common.constant.BusinessConstant; import org.apache.commons.lang3.StringUtils; import org.joda.time.DateTime; import org.joda.time.LocalDate; @@ -201,12 +192,6 @@ return days; } public static Date getTime(Date date) { Calendar calendar = Calendar.getInstance(); calendar.setTime(date); return calendar.getTime(); } public static List<String> getYearTime(Date startDate, Date endDate) { List<String> days = new ArrayList<String>(); Calendar calendar = Calendar.getInstance(); @@ -229,74 +214,6 @@ calendar.add(Calendar.MONTH, 1); } return days; } public static List<String> getDayTime(Date startDate, Date endDate) { List<String> days = new ArrayList<String>(); Calendar calendar = Calendar.getInstance(); calendar.setTime(startDate); while (calendar.getTime().compareTo(endDate) <= 0) { days.add(DateUtils.format(calendar.getTime(), DATE_PATTERN)); calendar.add(Calendar.DAY_OF_YEAR, 1); } return days; } public static List<String> getDayTime(Date startDate, Date endDate, int seconds) { List<String> days = new ArrayList<String>(); Calendar calendar = Calendar.getInstance(); calendar.setTime(startDate); while (calendar.getTime().compareTo(endDate) <= 0) { days.add(DateUtils.format(calendar.getTime(), DATE_TIME_PATTERN)); calendar.add(Calendar.SECOND, seconds); } return days; } public static List<String> getClassTime(Date startDate, Date endDate) { List<String> days = new ArrayList<String>(); Calendar calendar = Calendar.getInstance(); calendar.setTime(startDate); while (calendar.getTime().compareTo(endDate) <= 0) { days.add(DateUtils.format(calendar.getTime(), DATE_PATTERN) + " 0点班"); days.add(DateUtils.format(calendar.getTime(), DATE_PATTERN) + " 8点班"); days.add(DateUtils.format(calendar.getTime(), DATE_PATTERN) + " 16点班"); calendar.add(Calendar.DAY_OF_YEAR, 1); } return days; } public static Map<String, Date> getIntervalDate() { Date tEndDate = getTime(addDateDays(new Date(), BusinessConstant.SCHEDULEDCLEANDAYS)); //当前时间前10天 Date tStartDate = getTime(addDateHours(tEndDate, -1));//当前时间前10天前一个小时 Map<String, Date> tMap = new HashMap<String, Date>(); tMap.put("startdate", tStartDate); tMap.put("enddate", tEndDate); return tMap; } public static Map<String, Date> getIntervalDate(int days) { Calendar calendar = Calendar.getInstance(); calendar.add(Calendar.DAY_OF_YEAR, days); calendar.set(Calendar.MILLISECOND, 0); calendar.set(Calendar.SECOND, 0); Date tEndDate = calendar.getTime(); calendar.add(Calendar.HOUR_OF_DAY, -1); Date tStartDate = calendar.getTime(); Map<String, Date> tMap = new HashMap<String, Date>(2); tMap.put("startdate", tStartDate); tMap.put("enddate", tEndDate); return tMap; } public static boolean isNotBlank(Date date) { if (date == null) { return false; } return true; } } iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/any/controller/AnyController.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/any/controller/AnyProcCardController.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/any/controller/AnyProcReportController.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/any/dao/AnyProcCardDao.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/any/dao/AnyProcParamDao.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/any/dao/AnyProcReportDao.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/any/dao/AnyProcReportDetDao.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/any/dao/AnySugLibDao.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/any/dto/AnyAllEvaluationDTO.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/any/dto/AnyProcCardDTO.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/any/dto/AnyProcParamDTO.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/any/dto/AnyProcReportDTO.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/any/dto/AnyProcReportDetDTO.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/any/dto/AnyStoreReliabilityDTO.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/any/dto/AnySugLibDTO.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/any/dto/AnyTrendResultDTO.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/any/entity/AnyProcCardEntity.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/any/entity/AnyProcParamEntity.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/any/entity/AnyProcReportDetEntity.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/any/entity/AnyProcReportEntity.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/any/entity/AnySugLibEntity.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/any/service/AnyProcCardService.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/any/service/AnyProcParamService.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/any/service/AnyProcReportDetService.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/any/service/AnyProcReportService.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/any/service/AnySugLibService.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/any/service/impl/AnyProcCardServiceImpl.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/any/service/impl/AnyProcParamServiceImpl.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/any/service/impl/AnyProcReportDetServiceImpl.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/any/service/impl/AnyProcReportServiceImpl.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/any/service/impl/AnySugLibServiceImpl.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/cons/dao/ConsDayDataDao.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/cons/dto/ConsDayDataDTO.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/cons/entity/ConsDayDataEntity.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/cons/service/ConsDayDataService.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/cons/service/impl/ConsDayDataServiceImpl.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/device/commons/HealthIndexTypeEnum.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/device/commons/HealthLevelEnum.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/device/controller/DeviceAbnormalHistoryController.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/device/controller/DeviceAccountController.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/device/controller/DeviceAccountHistoryController.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/device/controller/DeviceFaultController.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/device/controller/DeviceHealthAlarmController.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/device/controller/DeviceHealthEvaluateController.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/device/controller/DeviceHealthReportController.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/device/controller/DeviceHealthStateController.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/device/controller/DeviceInfoController.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/device/controller/DeviceRunStateController.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/device/controller/DeviceStatNewnessController.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/device/dao/DeviceAbnormalHistoryDao.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/device/dao/DeviceAccountDao.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/device/dao/DeviceAccountHistoryDao.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/device/dao/DeviceEvaluateIndexDao.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/device/dao/DeviceFaultDao.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/device/dao/DeviceHealthAlarmDao.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/device/dao/DeviceHealthAlarmDetailDao.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/device/dao/DeviceHealthEvaluateDao.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/device/dao/DeviceHealthReportDao.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/device/dao/DeviceHealthReportDataDao.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/device/dao/DeviceHealthStateDao.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/device/dao/DeviceIndexDao.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/device/dao/DeviceInfoDao.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/device/dao/DeviceMainDao.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/device/dao/DeviceRunStateDao.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/device/dao/DeviceStatCountDao.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/device/dao/DeviceStatNewnessDao.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/device/dao/DeviceStatUsageDao.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/device/dto/DeviceAbnormalHistoryDTO.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/device/dto/DeviceAccountDTO.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/device/dto/DeviceAccountHistoryDTO.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/device/dto/DeviceCurrentRateDTO.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/device/dto/DeviceEvaluateIndexDTO.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/device/dto/DeviceFaultDTO.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/device/dto/DeviceHealthAlarmDTO.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/device/dto/DeviceHealthAlarmDetailDTO.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/device/dto/DeviceHealthEvaluateDTO.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/device/dto/DeviceHealthReportDTO.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/device/dto/DeviceHealthReportDataDTO.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/device/dto/DeviceHealthStateDTO.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/device/dto/DeviceIndexDTO.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/device/dto/DeviceInfoDTO.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/device/dto/DeviceListJsonDto.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/device/dto/DeviceMainDTO.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/device/dto/DeviceRunStateDTO.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/device/dto/DeviceStatCountDTO.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/device/dto/DeviceStatNewnessDTO.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/device/entity/DeviceAbnormalHistoryEntity.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/device/entity/DeviceAccountEntity.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/device/entity/DeviceAccountHistoryEntity.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/device/entity/DeviceEvaluateIndexEntity.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/device/entity/DeviceFaultEntity.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/device/entity/DeviceFaultHistoryEntity.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/device/entity/DeviceHealthAlarmDetailEntity.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/device/entity/DeviceHealthAlarmEntity.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/device/entity/DeviceHealthEvaluateEntity.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/device/entity/DeviceHealthReportDataEntity.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/device/entity/DeviceHealthReportEntity.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/device/entity/DeviceHealthStateEntity.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/device/entity/DeviceIndexEntity.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/device/entity/DeviceInfoEntity.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/device/entity/DeviceMainEntity.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/device/entity/DeviceRunStateEntity.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/device/entity/DeviceStatCountEntity.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/device/entity/DeviceStatNewnessEntity.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/device/entity/DeviceStatUsageEntity.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/device/excel/DeviceAbnormalHistoryExcel.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/device/excel/DeviceAccountExcel.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/device/excel/DeviceAccountHistoryExcel.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/device/excel/DeviceFaultExcel.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/device/excel/DeviceHealthStateExcel.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/device/excel/DeviceInfoExcel.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/device/excel/DeviceRunStateExcel.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/device/service/DeviceAbnormalHistoryService.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/device/service/DeviceAccountHistoryService.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/device/service/DeviceAccountService.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/device/service/DeviceEvaluateIndexService.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/device/service/DeviceFaultService.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/device/service/DeviceHealthAlarmDetailService.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/device/service/DeviceHealthAlarmService.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/device/service/DeviceHealthEvaluateService.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/device/service/DeviceHealthReportDataService.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/device/service/DeviceHealthReportService.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/device/service/DeviceHealthStateService.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/device/service/DeviceIndexService.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/device/service/DeviceInfoService.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/device/service/DeviceMainService.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/device/service/DeviceRunStateService.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/device/service/DeviceStatCountService.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/device/service/DeviceStatNewnessService.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/device/service/DeviceStatUsageService.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/device/service/impl/DeviceAbnormalHistoryServiceImpl.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/device/service/impl/DeviceAccountHistoryServiceImpl.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/device/service/impl/DeviceAccountServiceImpl.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/device/service/impl/DeviceEvaluateIndexServiceImpl.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/device/service/impl/DeviceFaultServiceImpl.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/device/service/impl/DeviceHealthAlarmDetailServiceImpl.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/device/service/impl/DeviceHealthAlarmServiceImpl.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/device/service/impl/DeviceHealthEvaluateServiceImpl.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/device/service/impl/DeviceHealthReportDataServiceImpl.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/device/service/impl/DeviceHealthReportServiceImpl.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/device/service/impl/DeviceHealthStateServiceImpl.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/device/service/impl/DeviceIndexServiceImpl.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/device/service/impl/DeviceInfoServiceImpl.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/device/service/impl/DeviceMainServiceImpl.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/device/service/impl/DeviceRunStateServiceImpl.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/device/service/impl/DeviceStatCountServiceImpl.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/device/service/impl/DeviceStatNewnessServiceImpl.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/device/service/impl/DeviceStatUsageServiceImpl.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/event/dao/EventInfoDao.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/event/dto/EventInfoDTO.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/event/entity/EventInfoEntity.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/event/service/EventInfoService.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/event/service/impl/EventInfoServiceImpl.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/event/ws/EventWebSocketClient.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/event/ws/EventWsBean.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/event/ws/ReconnectThreadEnum.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/feign/FeignModelImpl.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/framework/package-info.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/framework/rpc/config/RpcConfiguration.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/framework/rpc/package-info.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/framework/security/config/SecurityConfiguration.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/framework/security/core/package-info.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/job/controller/ScheduleJobLogController.java
@@ -1,11 +1,3 @@ /** * Copyright (c) 2018 人人开源 All rights reserved. * * https://www.renren.io * * 版权所有,侵权必究! */ package com.iailab.module.job.controller; import com.iailab.framework.common.page.PageData; iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/job/dao/ScheduleJobDao.java
@@ -1,11 +1,3 @@ /** * Copyright (c) 2018 人人开源 All rights reserved. * * https://www.renren.io * * 版权所有,侵权必究! */ package com.iailab.module.job.dao; import com.iailab.framework.common.dao.BaseDao; iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/job/dao/ScheduleJobLogDao.java
@@ -1,11 +1,3 @@ /** * Copyright (c) 2018 人人开源 All rights reserved. * * https://www.renren.io * * 版权所有,侵权必究! */ package com.iailab.module.job.dao; import com.iailab.framework.common.dao.BaseDao; iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/job/dto/ScheduleJobDTO.java
@@ -1,11 +1,3 @@ /** * Copyright (c) 2018 人人开源 All rights reserved. * * https://www.renren.io * * 版权所有,侵权必究! */ package com.iailab.module.job.dto; import com.fasterxml.jackson.annotation.JsonProperty; iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/job/dto/ScheduleJobLogDTO.java
@@ -1,11 +1,3 @@ /** * Copyright (c) 2018 人人开源 All rights reserved. * * https://www.renren.io * * 版权所有,侵权必究! */ package com.iailab.module.job.dto; import io.swagger.v3.oas.annotations.media.Schema; iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/job/task/AnyProc1Task.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/job/task/AnyProc2Task.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/job/task/AnyProc3Task.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/job/task/AnyProc4Task.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/job/task/AnyProc5Task.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/job/task/AnyProc6Task.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/job/task/AnyProc7Task.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/job/task/DeviceHealthTask.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/job/task/FakeDataTask.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/job/task/MigrationTableDataTask.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/job/task/ModelAllEvaluationTask.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/job/task/ModelBlowerTask.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/job/task/ModelControlReliabilityTask.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/job/task/ModelQCThickenerTask.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/job/task/ModelSeparationTask.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/job/task/ModelShallowTask.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/job/task/ModelStorageReliabilityTask.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/job/task/ModelWarehouseTask.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/job/task/ModelXLFilterTask.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/job/task/ModelXLThickenerTask.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/job/task/SyncConsDayDataTask.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/job/task/SyncDeviceInfoTask.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/job/task/SyncDeviceStatUsageTask.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/job/task/SyncPrdCurrentSaleTask.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/job/task/SyncPrdDayDutyTask.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/job/task/SyncPrdDayProdTask.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/job/task/SyncPrdPerformanceTask.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/job/task/SyncPrdPlanTask.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/job/task/SyncPrdStorageDayTask.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/job/task/SyncPrdTimeDayTask.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/job/task/SyncQualityTrendDayTask.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/job/task/WatchControllerOn1Task.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/job/task/WatchControllerOn2Task.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/job/task/WatchControllerOn3Task.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/job/task/WatchControllerOn4Task.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/job/task/WatchControllerOn5Task.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/job/task/WatchControllerOn6Task.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/job/task/WatchControllerOn7Task.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/job/task/WatchDogZX1Task.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/job/task/WatchDogZX2Task.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/knowledge/controller/KnowledgeDetController.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/knowledge/controller/KnowledgePathController.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/knowledge/dao/KnowledgeDetDao.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/knowledge/dao/KnowledgePathDao.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/knowledge/dto/KnowledgeDetDTO.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/knowledge/dto/KnowledgePathDTO.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/knowledge/entity/KnowledgeDetEntity.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/knowledge/entity/KnowledgePathEntity.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/knowledge/service/KnowledgeDetService.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/knowledge/service/KnowledgePathService.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/knowledge/service/impl/KnowledgeDetServiceImpl.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/knowledge/service/impl/KnowledgePathServiceImpl.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/mcs/controller/StModelController.java
对比新文件 @@ -0,0 +1,250 @@ package com.iailab.module.mcs.controller; import com.iailab.common.annotation.LogOperation; import com.iailab.common.enums.IsEnableEnum; import com.iailab.framework.common.page.PageData; import com.iailab.common.utils.Constant; import com.iailab.framework.common.util.object.ConvertUtils; import com.iailab.framework.common.pojo.CommonResult; import com.iailab.framework.common.util.validation.ValidationUtils; import com.iailab.framework.common.validation.group.AddGroup; import com.iailab.framework.common.validation.group.DefaultGroup; import com.iailab.framework.common.validation.group.UpdateGroup; import com.iailab.framework.security.core.util.SecurityFrameworkUtils; import com.iailab.module.mcs.dto.StModelDTO; import com.iailab.module.mcs.dto.StModelOutDTO; import com.iailab.module.mcs.dto.StModelParamDTO; import com.iailab.module.mcs.dto.StModelSettingDTO; import com.iailab.module.mcs.entity.StModelOutEntity; import com.iailab.module.mcs.entity.StModelParamEntity; import com.iailab.module.mcs.entity.StModelSettingEntity; import com.iailab.module.mcs.service.StModelOutService; import com.iailab.module.mcs.service.StModelParamService; import com.iailab.module.mcs.service.StModelService; import com.iailab.module.mcs.service.StModelSettingService; import io.swagger.v3.oas.annotations.Operation; import io.swagger.v3.oas.annotations.Parameter; import io.swagger.v3.oas.annotations.Parameters; import javax.annotation.Resource; import org.springframework.transaction.annotation.Transactional; import org.springframework.web.bind.annotation.*; import org.springframework.web.multipart.MultipartFile; import java.io.IOException; import java.util.*; import static com.iailab.framework.common.pojo.CommonResult.success; /** * @author lirm 1343021927@qq.com * @since 1.0.0 2023-05-10 */ @RestController @RequestMapping("/model/mcs/st-model") public class StModelController { @Resource private StModelService stModelService; @Resource private StModelParamService stModelParamService; @Resource private StModelSettingService stModelSettingService; @Resource private StModelOutService stModelOutService; @GetMapping("page") @Operation(summary = "分页") @Parameters({ @Parameter(name = Constant.PAGE, description = "当前页码,从1开始", required = true), @Parameter(name = Constant.LIMIT, description = "每页显示记录数", required = true), @Parameter(name = Constant.ORDER_FIELD, description = "排序字段"), @Parameter(name = Constant.ORDER, description = "排序方式,可选值(asc、desc)") }) public CommonResult<PageData<StModelDTO>> page(@RequestParam Map<String, Object> params) { PageData<StModelDTO> page = stModelService.page(params); return success(page); } @GetMapping("{id}") @Operation(summary = "信息") public CommonResult<StModelDTO> get(@PathVariable("id") String id) { StModelDTO data = stModelService.get(id); List<StModelParamDTO> tParamPage = stModelParamService.getByModelId(id); data.setModelParamList(tParamPage); Map<String, Object> params = new HashMap<String, Object>(1); params.put("modelId", data.getId()); List<StModelSettingDTO> tSettingPage = stModelSettingService.getAll(params); data.setModelSettingList(tSettingPage); Map<String, Object> out = new HashMap<String, Object>(1); out.put("modelId", data.getId()); List<StModelOutDTO> tOutPage = stModelOutService.getAll(out); data.setModelOutList(tOutPage); return new CommonResult<StModelDTO>().setData(data); } @PostMapping @Operation(summary = "保存") @LogOperation("保存") @Transactional public CommonResult save(@RequestBody StModelDTO dto) { //效验数据 ValidationUtils.validate(dto, AddGroup.class, DefaultGroup.class); dto.setId(UUID.randomUUID().toString()); List<StModelParamDTO> tParamList = dto.getModelParamList(); if (tParamList != null) { for (int i = 0; i < tParamList.size(); i++) { StModelParamDTO tParamDTO = new StModelParamDTO(); tParamDTO = tParamList.get(i); StModelParamEntity tParamEntity = new StModelParamEntity(); tParamEntity.setModelId(dto.getId()); tParamEntity.setParamName(tParamDTO.getParamName()); tParamEntity.setParamId(tParamDTO.getParamId()); tParamEntity.setParamOrder(tParamDTO.getParamOrder()); tParamEntity.setParamPortOrder(tParamDTO.getParamPortOrder()); tParamEntity.setDataLength(tParamDTO.getDataLength()); tParamEntity.setParamType(tParamDTO.getParamType()); stModelParamService.insert(tParamEntity); } } List<StModelSettingDTO> tSettingList = dto.getModelSettingList(); if (tSettingList != null) { for (int i = 0; i < tSettingList.size(); i++) { StModelSettingEntity tSettingEntity = ConvertUtils.sourceToTarget(tSettingList.get(i), StModelSettingEntity.class); tSettingEntity.setModelId(dto.getId()); stModelSettingService.insert(tSettingEntity); } } List<StModelOutDTO> tOutList = dto.getModelOutList(); if (tOutList != null) { for (int i = 0; i < tOutList.size(); i++) { StModelOutEntity tOutEntity = ConvertUtils.sourceToTarget(tOutList.get(i), StModelOutEntity.class); tOutEntity.setModelId(dto.getId()); tOutEntity.setSort(i+1); stModelOutService.insert(tOutEntity); } } dto.setCreator(SecurityFrameworkUtils.getLoginUserId()); dto.setCreateDate(new Date()); dto.setUpdater(SecurityFrameworkUtils.getLoginUserId()); dto.setUpdateDate(new Date()); dto.setIsEnable(IsEnableEnum.ENABLE.value()); stModelService.save(dto); return new CommonResult(); } @PutMapping @Operation(summary = "修改") @LogOperation("修改") @Transactional public CommonResult update(@RequestBody StModelDTO dto) { //效验数据 ValidationUtils.validate(dto, UpdateGroup.class, DefaultGroup.class); List<StModelParamDTO> tParamList = dto.getModelParamList(); if (tParamList != null) { stModelParamService.deleteByModelId(dto.getId()); for (int i = 0; i < tParamList.size(); i++) { StModelParamDTO tParamDTO = new StModelParamDTO(); tParamDTO = tParamList.get(i); StModelParamEntity tParamEntity = new StModelParamEntity(); tParamEntity.setModelId(dto.getId()); tParamEntity.setParamName(tParamDTO.getParamName()); tParamEntity.setParamId(tParamDTO.getParamId()); tParamEntity.setParamOrder(tParamDTO.getParamOrder()); tParamEntity.setParamPortOrder(tParamDTO.getParamPortOrder()); tParamEntity.setDataLength(tParamDTO.getDataLength()); tParamEntity.setParamType(tParamDTO.getParamType()); stModelParamService.insert(tParamEntity); } } List<StModelSettingDTO> tSettingList = dto.getModelSettingList(); if (tSettingList != null) { stModelSettingService.deleteByModelId(dto.getId()); for (int i = 0; i < tSettingList.size(); i++) { StModelSettingEntity tSettingEntity = ConvertUtils.sourceToTarget(tSettingList.get(i), StModelSettingEntity.class); tSettingEntity.setModelId(dto.getId()); stModelSettingService.insert(tSettingEntity); } } List<StModelOutDTO> tOutList = dto.getModelOutList(); if (tOutList != null) { stModelOutService.deleteByModelId(dto.getId()); for (int i = 0; i < tOutList.size(); i++) { StModelOutEntity tOutEntity = ConvertUtils.sourceToTarget(tOutList.get(i), StModelOutEntity.class); tOutEntity.setModelId(dto.getId()); tOutEntity.setSort(i+1); stModelOutService.insert(tOutEntity); } } Long id = SecurityFrameworkUtils.getLoginUserId(); dto.setUpdater(id); dto.setUpdateDate(new Date()); stModelService.update(dto); return new CommonResult<Object>(); } @DeleteMapping @Operation(summary = "删除") @LogOperation("删除") @Transactional public CommonResult delete(@RequestBody String[] ids) { List<String> idsList = Arrays.asList(ids); for (int i = 0; i < idsList.size(); i++) { stModelParamService.deleteByModelId(idsList.get(i));//删除模型参数表数据 stModelSettingService.deleteByModelId(idsList.get(i));//删除模型设置表数据 } stModelService.deleteByIds(ids);//删除模型表数据 return new CommonResult(); } @PutMapping("/enable") @Operation(summary = "启用") @LogOperation("启用") @Transactional public CommonResult enable(@RequestBody String[] ids) { stModelService.enableByIds(ids); return new CommonResult(); } @PutMapping("/disable") @Operation(summary = "禁用") @LogOperation("禁用") @Transactional public CommonResult disable(@RequestBody String[] ids) { stModelService.disableByIds(ids); return new CommonResult(); } /** * 上传模型 */ @Operation(summary = "上传模型") @PostMapping("/upload") public CommonResult<Map<String, Object>> upload(@RequestParam("file") MultipartFile file) throws IOException { Map<String, Object> data = stModelService.upload(file); return new CommonResult<Map<String, Object>>().setData(data); } @Operation(summary = "上传模型") @GetMapping("/relation") public CommonResult getRelation() { Map<String, Object> data = stModelService.getRelation(); return new CommonResult().setData(data); } } iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/mcs/controller/StModelDocController.java
对比新文件 @@ -0,0 +1,51 @@ package com.iailab.module.mcs.controller; import com.iailab.common.annotation.LogOperation; import com.iailab.framework.common.pojo.CommonResult; import com.iailab.framework.common.util.validation.ValidationUtils; import com.iailab.framework.common.validation.group.DefaultGroup; import com.iailab.framework.common.validation.group.UpdateGroup; import com.iailab.module.mcs.dto.StModelDocDTO; import com.iailab.module.mcs.service.StModelDocService; import io.swagger.v3.oas.annotations.Operation; import javax.annotation.Resource; import org.springframework.transaction.annotation.Transactional; import org.springframework.web.bind.annotation.*; @RestController @RequestMapping("/model/mcs/st-model-doc") public class StModelDocController { @Resource private StModelDocService stModelDocService; @GetMapping("{id}") @Operation(summary = "信息") public CommonResult<StModelDocDTO> get(@PathVariable("id") String id) { StModelDocDTO data = stModelDocService.get(id); return new CommonResult<StModelDocDTO>().setData(data); } @PutMapping @Operation(summary = "修改") @LogOperation("修改") public CommonResult update(@RequestBody StModelDocDTO dto){ //效验数据 ValidationUtils.validate(dto, UpdateGroup.class, DefaultGroup.class); stModelDocService.update(dto); return new CommonResult(); } @PostMapping @Operation(summary = "保存") @LogOperation("保存") @Transactional public CommonResult save(@RequestBody StModelDocDTO dto){ //效验数据 ValidationUtils.validate(dto, UpdateGroup.class, DefaultGroup.class); stModelDocService.save(dto); return new CommonResult(); } } iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/mcs/controller/StModelRequestLogController.java
对比新文件 @@ -0,0 +1,46 @@ package com.iailab.module.mcs.controller; import com.iailab.framework.common.constant.Constant; import com.iailab.framework.common.page.PageData; import com.iailab.framework.common.pojo.CommonResult; import com.iailab.module.mcs.dto.StModelRequestLogDTO; import com.iailab.module.mcs.service.StModelRequestLogService; import io.swagger.v3.oas.annotations.tags.Tag; import io.swagger.v3.oas.annotations.Operation; import io.swagger.v3.oas.annotations.Parameter; import io.swagger.v3.oas.annotations.Parameters; import javax.annotation.Resource; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestParam; import org.springframework.web.bind.annotation.RestController; import java.util.Map; /** * @author PanZhibao * @Description * @createTime 2024年05月22日 */ @RestController @RequestMapping("/model/mcs/model-request-log") @Tag(name = "模型调用日志表") public class StModelRequestLogController { @Resource private StModelRequestLogService stModelRequestLogService; @GetMapping("page") @Operation(summary = "分页") @Parameters({ @Parameter(name = Constant.PAGE, description = "当前页码,从1开始", required = true) , @Parameter(name = Constant.LIMIT, description = "每页显示记录数", required = true) , @Parameter(name = Constant.ORDER_FIELD, description = "排序字段") , @Parameter(name = Constant.ORDER, description = "排序方式,可选值(asc、desc)") }) public CommonResult<PageData<StModelRequestLogDTO>> page(@RequestParam Map<String, Object> params){ PageData<StModelRequestLogDTO> page = stModelRequestLogService.page(params); return new CommonResult<PageData<StModelRequestLogDTO>>().setData(page); } } iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/mcs/controller/StModelRunlogController.java
对比新文件 @@ -0,0 +1,96 @@ package com.iailab.module.mcs.controller; import com.iailab.common.annotation.LogOperation; import com.iailab.framework.common.page.PageData; import com.iailab.common.utils.Constant; import com.iailab.framework.common.pojo.CommonResult; import com.iailab.framework.common.util.validation.ValidationUtils; import com.iailab.framework.common.validation.group.AddGroup; import com.iailab.framework.common.validation.group.DefaultGroup; import com.iailab.framework.common.validation.group.UpdateGroup; import com.iailab.module.mcs.dto.StModelRunlogDTO; import com.iailab.module.mcs.service.StModelRunlogService; import io.swagger.v3.oas.annotations.tags.Tag; import io.swagger.v3.oas.annotations.Operation; import io.swagger.v3.oas.annotations.Parameter; import io.swagger.v3.oas.annotations.Parameters; import javax.annotation.Resource; import org.springframework.security.access.prepost.PreAuthorize; import org.springframework.web.bind.annotation.*; import java.util.Map; /** * 运行日志表 * * @author lirm ${email} * @since 1.0.0 2023-07-04 */ @RestController @RequestMapping("/model/mcs/runlog") @Tag(name = "运行日志表") public class StModelRunlogController { @Resource private StModelRunlogService runlogService; @GetMapping("page") @Operation(summary = "分页") @Parameters({ @Parameter(name = Constant.PAGE, description = "当前页码,从1开始", required = true) , @Parameter(name = Constant.LIMIT, description = "每页显示记录数", required = true) , @Parameter(name = Constant.ORDER_FIELD, description = "排序字段") , @Parameter(name = Constant.ORDER, description = "排序方式,可选值(asc、desc)") }) public CommonResult<PageData<StModelRunlogDTO>> page(@RequestParam Map<String, Object> params){ PageData<StModelRunlogDTO> page = runlogService.queryPage(params); return new CommonResult<PageData<StModelRunlogDTO>>().setData(page); } @GetMapping("{id}") @Operation(summary = "信息") @PreAuthorize("@ss.hasPermission('mcs:runlog:info')") public CommonResult<StModelRunlogDTO> get(@PathVariable("id") Long id){ StModelRunlogDTO data = runlogService.get(id); return new CommonResult<StModelRunlogDTO>().setData(data); } @PostMapping @Operation(summary = "保存") @LogOperation("保存") @PreAuthorize("@ss.hasPermission('mcs:runlog:save')") public CommonResult save(@RequestBody StModelRunlogDTO dto){ //效验数据 ValidationUtils.validate(dto, AddGroup.class, DefaultGroup.class); runlogService.save(dto); return new CommonResult(); } @PutMapping @Operation(summary = "修改") @LogOperation("修改") @PreAuthorize("@ss.hasPermission('mcs:runlog:update')") public CommonResult update(@RequestBody StModelRunlogDTO dto){ //效验数据 ValidationUtils.validate(dto, UpdateGroup.class, DefaultGroup.class); runlogService.update(dto); return new CommonResult(); } @DeleteMapping @Operation(summary = "删除") @LogOperation("删除") @PreAuthorize("@ss.hasPermission('mcs:runlog:delete')") public CommonResult delete(@RequestBody Long[] ids){ runlogService.delete(ids); return new CommonResult(); } } iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/mcs/controller/admin/StModelController.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/mcs/controller/admin/StModelDocController.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/mcs/controller/admin/StModelRequestLogController.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/mcs/controller/admin/StModelRunlogController.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/mcs/controller/package-info.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/mcs/dao/StModelResultDao.java
@@ -1,16 +1,10 @@ package com.iailab.module.mcs.dao; import com.baomidou.mybatisplus.core.metadata.IPage; import com.iailab.module.any.dto.AnyAllEvaluationDTO; import com.iailab.module.any.dto.AnyStoreReliabilityDTO; import com.iailab.module.data.dto.FeignQueryPointDTO; import com.iailab.common.dto.IndexStatisticDTO; import com.iailab.framework.common.dao.BaseDao; import com.iailab.module.mcs.dto.StModelResultDTO; import com.iailab.module.mcs.entity.StModelResultEntity; import org.apache.ibatis.annotations.Mapper; import java.util.Date; import java.util.List; import java.util.Map; @@ -29,16 +23,7 @@ List<StModelResultDTO> getResultByCodeDate(Map<String, Object> params); void cleanModelResult(Map<String, Date> tMap); void insertList(List<StModelResultEntity> list); List<IndexStatisticDTO> getModelResultList(FeignQueryPointDTO feignQueryPointDTO); IPage<AnyStoreReliabilityDTO> getStorePageList(IPage<StModelResultEntity> page, Map<String, Object> params); IPage<AnyAllEvaluationDTO> getEvaluationPageList(IPage<StModelResultEntity> page, Map<String, Object> params); // @DataSource("slave1") void migrationModelResult(List<StModelResultEntity> list); void cleanModelResult(Map<String, Object> params); } iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/mcs/dao/StModelRunlogDao.java
@@ -20,9 +20,6 @@ @Mapper public interface StModelRunlogDao extends BaseDao<StModelRunlogEntity> { List<StModelRunlogDTO> getLastFxLog(); List<StModelRunlogDTO> getLastJyLog(); List<StModelRunlogDTO> getLastLog(Map<String, Object> params); @@ -31,7 +28,4 @@ IPage<StModelRunlogEntity> queryList(IPage<StModelRunlogEntity> page, @Param("params") Map<String, Object> params); List<StModelRunlogDTO> listAll(Map<String, Object> params); // @DataSource("slave1") void migrationModelRunlog(List<StModelRunlogEntity> list); } iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/mcs/dto/StModelDocDTO.java
@@ -1,7 +1,5 @@ package com.iailab.module.mcs.dto; import com.baomidou.mybatisplus.annotation.IdType; import com.baomidou.mybatisplus.annotation.TableId; import io.swagger.v3.oas.annotations.media.Schema; import lombok.Data; @@ -20,66 +18,39 @@ public class StModelDocDTO implements Serializable { private static final long serialVersionUID = 1L; /** * id */ @TableId(type = IdType.ASSIGN_UUID) @Schema(name = "id") private String id; /** * 模型ID */ @Schema(name = "模型ID") private String modelId; /** * URL */ @Schema(name = "URL") private String url; /** * 方法 */ @Schema(name = "方法") private String method; /** * 输入参数 */ @Schema(name = "输入参数") private String params; /** * 参数示例 */ @Schema(name = "参数示例") private String paramsExample; /** * 输出结果 */ @Schema(name = "输出结果") private String result; /** * 结果示例 */ @Schema(name = "结果示例") private String resultExample; /** * 创建人 */ @Schema(name = "创建人") private Long creator; /** * 创建时间 */ @Schema(name = "创建时间") private Date createDate; /** * 修改人 */ @Schema(name = "修改人") private Long updater; /** * 修改时间 */ @Schema(name = "修改时间") private Date updateDate; } iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/mcs/excel/StModelRunlogExcel.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/mcs/service/StModelResultService.java
@@ -1,10 +1,5 @@ package com.iailab.module.mcs.service; import com.iailab.common.dto.IndexStatisticDTO; import com.iailab.module.any.dto.AnyAllEvaluationDTO; import com.iailab.module.any.dto.AnyStoreReliabilityDTO; import com.iailab.module.data.dto.FeignQueryPointDTO; import com.iailab.framework.common.page.PageData; import com.iailab.framework.common.service.CrudService; import com.iailab.module.mcs.dto.StModelResultDTO; import com.iailab.module.mcs.entity.StModelResultEntity; @@ -22,27 +17,13 @@ */ public interface StModelResultService extends CrudService<StModelResultEntity, StModelResultDTO> { Map<String, List<IndexStatisticDTO>> getResultList(Map<String, Object> params); Map<String, Object> getLastResultMap(Map<String, Object> params); Map<String, Object> getResultByCodeDate(Map<String, Object> params); List<StModelResultDTO> getLastResultByCode(Map<String, Object> params); void migrationModelResult(Map<String, Date> params); void addPy(String modelId, List<String> lines, Date runTime); List<DataEntity> getValueList(String resultKey, Date startTime, Date endTime); void addML(String id, Map<String, Object> result, Date runTime); List<IndexStatisticDTO> getModelResultList(FeignQueryPointDTO feignQueryPointDTO); PageData<AnyStoreReliabilityDTO> getStorePage(Map<String, Object> params); PageData<AnyAllEvaluationDTO> getAllEvaluationPage(Map<String, Object> params); List<Map<String, Object>> getList(Map<String, Object> params); } iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/mcs/service/StModelRunlogService.java
@@ -16,18 +16,9 @@ * @since 1.0.0 2023-06-21 */ public interface StModelRunlogService extends CrudService<StModelRunlogEntity, StModelRunlogDTO> { List<StModelRunlogDTO> getLastFxLog(Integer limit); List<StModelRunlogDTO> getLastJyLog(Integer limit); void cleanRunlogTask(Map<String, Date> tMap); void add(StModelRunlogDTO dto); PageData<StModelRunlogDTO> queryPage(Map<String, Object> params); PageData<StModelRunlogDTO> queryPage(Map<String, Object> params); List<StModelRunlogDTO> listAll(Map<String, Object> params); void add(StModelRunlogDTO dto); void migrationModelRunlog(Map<String, Date> tMap); } iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/mcs/service/impl/StModelResultServiceImpl.java
@@ -1,13 +1,6 @@ package com.iailab.module.mcs.service.impl; import com.alibaba.fastjson.JSONObject; import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; import com.baomidou.mybatisplus.core.metadata.IPage; import com.iailab.common.dto.IndexStatisticDTO; import com.iailab.module.any.dto.AnyAllEvaluationDTO; import com.iailab.module.any.dto.AnyStoreReliabilityDTO; import com.iailab.module.data.dto.FeignQueryPointDTO; import com.iailab.framework.common.page.PageData; import com.iailab.framework.common.service.impl.CrudServiceImpl; import com.iailab.common.utils.DateUtils; import com.iailab.module.mcs.dao.StModelResultDao; @@ -20,7 +13,6 @@ import org.springframework.util.CollectionUtils; import javax.annotation.Resource; import java.math.BigDecimal; import java.util.*; import java.util.stream.Collectors; @@ -47,31 +39,6 @@ } @Override public Map<String, List<IndexStatisticDTO>> getResultList(Map<String, Object> params) { params.put("sortType", "asc"); Map<String, List<IndexStatisticDTO>> result = new HashMap<>(5); List<StModelResultEntity> list = stModelResultDao.getResultList(params); if (CollectionUtils.isEmpty(list)) { return result; } Map<String, List<StModelResultEntity>> groupList = list.stream().collect(Collectors.groupingBy(StModelResultEntity::getResultKey)); groupList.forEach((k, v) -> { try{ List<IndexStatisticDTO> itemList = v.stream().map(item -> { IndexStatisticDTO dto = new IndexStatisticDTO(); dto.setData(new BigDecimal(item.getResultValue())); dto.setDateTime(item.getResultTime()); return dto; }).collect(Collectors.toList()); result.put(k, itemList); } catch (Exception ex) { ex.printStackTrace(); } }); return result; } @Override public List<Map<String, Object>> getList(Map<String, Object> params) { if (params.get("isAsc") != null && params.get("isAsc").toString().equals("false")) { params.put("sortType", "desc"); @@ -91,11 +58,6 @@ result.add(vt); }); return result; } @Override public List<StModelResultDTO> getLastResultByCode(Map<String, Object> params) { return baseDao.getLastResultByCode(params); } @Override @@ -124,39 +86,6 @@ }); result.put("result_time", list.get(0).getResultTime()); return result; } @Override public void migrationModelResult(Map<String, Date> params) { List<StModelResultEntity> list = stModelResultDao.selectList(getDateWrapper(params)); if (CollectionUtils.isEmpty(list)){ return; } stModelResultDao.migrationModelResult(list); stModelResultDao.delete(getDateWrapper(params)); } @Override public void addPy(String modelId, List<String> lines, Date runTime) { List<StModelResultEntity> list = new ArrayList<>(); if (CollectionUtils.isEmpty(lines)) { return; } for (int i = 0; i < lines.size(); i ++) { JSONObject josnObject = JSONObject.parseObject(lines.get(i)); for (String key : josnObject.keySet()) { StModelResultEntity entity = new StModelResultEntity(); entity.setId(UUID.randomUUID().toString()); entity.setModelId(modelId); entity.setLineIndex(i); entity.setResultKey(key); entity.setResultValue(josnObject.getString(key)); entity.setResultTime(runTime); list.add(entity); } } baseDao.insertList(list); } @Override @@ -201,30 +130,6 @@ baseDao.insertList(list); } @Override public List<IndexStatisticDTO> getModelResultList(FeignQueryPointDTO feignQueryPointDTO) { return baseDao.getModelResultList(feignQueryPointDTO); } @Override public PageData<AnyStoreReliabilityDTO> getStorePage(Map<String, Object> params) { IPage<AnyStoreReliabilityDTO> page = baseDao.getStorePageList( getPage(params, "dateTime", false), params ); return getPageData(page, AnyStoreReliabilityDTO.class); } @Override public PageData<AnyAllEvaluationDTO> getAllEvaluationPage(Map<String, Object> params) { IPage<AnyAllEvaluationDTO> page = baseDao.getEvaluationPageList( getPage(params, "dateTime", false), params ); return getPageData(page, AnyAllEvaluationDTO.class); } public QueryWrapper<StModelResultEntity> getDateWrapper(Map<String, Date> params) { String startDate = DateUtils.format(params.get("startdate"),DateUtils.DATE_TIME_PATTERN); iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/mcs/service/impl/StModelRunlogServiceImpl.java
@@ -3,23 +3,18 @@ import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; import com.baomidou.mybatisplus.core.metadata.IPage; import com.baomidou.mybatisplus.extension.plugins.pagination.Page; import com.iailab.common.utils.Constant; import com.iailab.framework.common.page.PageData; import com.iailab.framework.common.service.impl.CrudServiceImpl; import com.iailab.common.utils.Constant; import com.iailab.framework.common.util.object.ConvertUtils; import com.iailab.common.utils.DateUtils; import com.iailab.module.mcs.dao.StModelRunlogDao; import com.iailab.module.mcs.dto.StModelRunlogDTO; import com.iailab.module.mcs.entity.StModelRunlogEntity; import com.iailab.module.mcs.service.StModelRunlogService; import org.apache.commons.lang3.StringUtils; import org.springframework.stereotype.Service; import org.springframework.util.CollectionUtils; import javax.annotation.Resource; import java.util.Date; import java.util.HashMap; import java.util.List; import java.util.Map; @@ -32,9 +27,22 @@ @Service public class StModelRunlogServiceImpl extends CrudServiceImpl<StModelRunlogDao, StModelRunlogEntity, StModelRunlogDTO> implements StModelRunlogService { @Resource private StModelRunlogDao runlogDao; @Override public PageData<StModelRunlogDTO> queryPage(Map<String, Object> params) { long curPage = 1; long limit = 10; if(params.get(Constant.PAGE) != null){ curPage = Long.parseLong((String)params.get(Constant.PAGE)); } if(params.get(Constant.LIMIT) != null){ limit = Long.parseLong((String)params.get(Constant.LIMIT)); } IPage<StModelRunlogEntity> page = baseDao.queryList(new Page<>(curPage, limit), params); return getPageData(page, StModelRunlogDTO.class); } @Override public QueryWrapper<StModelRunlogEntity> getWrapper(Map<String, Object> params){ String modelCode = (String)params.get("modelCode"); @@ -48,71 +56,9 @@ } @Override public List<StModelRunlogDTO> getLastFxLog(Integer limit) { Map<String, Object> params = new HashMap<>(1); params.put("runType", "separation_control"); params.put("limit", limit == null ? 5 : limit); return runlogDao.getLastLog(params); } @Override public List<StModelRunlogDTO> getLastJyLog(Integer limit) { Map<String, Object> params = new HashMap<>(1); params.put("runType", "dosing_control"); params.put("limit", limit == null ? 5 : limit); return runlogDao.getLastLog(params); } @Override public void cleanRunlogTask(Map<String, Date> tMap) { runlogDao.cleanRunlogTask(tMap); } @Override public PageData<StModelRunlogDTO> queryPage(Map<String, Object> params) { long curPage = 1; long limit = 10; if(params.get(Constant.PAGE) != null){ curPage = Long.parseLong((String)params.get(Constant.PAGE)); } if(params.get(Constant.LIMIT) != null){ limit = Long.parseLong((String)params.get(Constant.LIMIT)); } IPage<StModelRunlogEntity> page = baseDao.queryList(new Page<>(curPage, limit), params); return getPageData(page, StModelRunlogDTO.class); } @Override public List<StModelRunlogDTO> listAll(Map<String, Object> params) { return runlogDao.listAll(params); } @Override public void add(StModelRunlogDTO dto) { StModelRunlogEntity entity = ConvertUtils.sourceToTarget(dto, StModelRunlogEntity.class); baseDao.insert(entity); } @Override public void migrationModelRunlog(Map<String, Date> tMap) { List<StModelRunlogEntity> list = runlogDao.selectList(getDateWrapper(tMap)); if (CollectionUtils.isEmpty(list)){ return; } runlogDao.migrationModelRunlog(list); runlogDao.delete(getDateWrapper(tMap)); } public QueryWrapper<StModelRunlogEntity> getDateWrapper(Map<String, Date> params) { String startDate = DateUtils.format(params.get("startdate"),DateUtils.DATE_TIME_PATTERN); String endDate = DateUtils.format(params.get("enddate"),DateUtils.DATE_TIME_PATTERN); QueryWrapper<StModelRunlogEntity> wrapper = new QueryWrapper<>(); wrapper.ge(StringUtils.isNotBlank(startDate), "run_time", startDate); wrapper.le(StringUtils.isNotBlank(endDate), "run_time", endDate); return wrapper; } } iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/api/ApiModelController.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/enums/ModelResultEnum.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/sample/constructor/SampleDataConstructor.java
@@ -1,17 +1,14 @@ package com.iailab.module.model.sample.constructor; import com.iailab.module.data.dto.ApiDataDTO; import com.iailab.module.data.api.IFeignDataApi; import com.iailab.module.data.dto.ApiDataPointDTO; import com.iailab.module.data.dto.FeignQueryPointDTO; import com.iailab.module.device.service.DeviceMainService; import com.iailab.module.event.service.EventInfoService; import com.iailab.module.data.api.point.DataPointApi; import com.iailab.module.data.api.point.dto.ApiPointValueDTO; import com.iailab.module.data.api.point.dto.ApiPointValueQueryDTO; import com.iailab.module.data.api.point.dto.ApiPointDTO; import com.iailab.module.mcs.service.StModelResultService; import com.iailab.module.model.sample.dto.ColumnItem; import com.iailab.module.model.sample.dto.ColumnItemPort; import com.iailab.module.model.sample.dto.SampleData; import com.iailab.module.model.sample.dto.SampleInfo; import com.iailab.module.model.sample.entity.DataEntity; import com.iailab.module.prod.service.IndexEvaluateSystemService; import lombok.extern.slf4j.Slf4j; import javax.annotation.Resource; import org.springframework.stereotype.Component; @@ -31,22 +28,10 @@ public class SampleDataConstructor { @Resource private IFeignDataApi iFeignDataApi; private DataPointApi dataPointApi; @Resource private StModelResultService modelResultService; @Resource private EventInfoService eventInfoService; @Resource private DeviceMainService deviceMainService; @Resource private IndexEvaluateSystemService indexEvaluateSystemService; @Resource private IFeignDataApi feignDataController; public List<SampleData> prepareSampleData(SampleInfo sampleInfo) { List<SampleData> sampleDataList = new ArrayList<>(); @@ -83,90 +68,20 @@ break; case "point": // 测点值 FeignQueryPointDTO dto = new FeignQueryPointDTO(); dto.setEndTime(columnItem.endTime); dto.setStartTime(columnItem.startTime); dto.setPointCode(columnItem.getParamId()); List<ApiDataDTO> pointValues = iFeignDataApi.queryPointValues(dto); ApiPointValueQueryDTO dto = new ApiPointValueQueryDTO(); dto.setEnd(columnItem.endTime); dto.setStart(columnItem.startTime); dto.setPointNo(columnItem.getParamId()); List<ApiPointValueDTO> pointValues = dataPointApi.getValue(dto); List<DataEntity> tempList = new ArrayList<>(); pointValues.forEach(item -> { DataEntity dataEntity = new DataEntity(); dataEntity.setDataValue(item.getDataValue()); dataEntity.setTimeStamp(item.getTimeStamp()); dataEntity.setTimeStamp(item.getDataTime()); tempList.add(dataEntity); }); dataEntityList = tempList; break; case "wz": FeignQueryPointDTO queryTag = new FeignQueryPointDTO(); queryTag.setEndTime(columnItem.endTime); queryTag.setStartTime(columnItem.startTime); queryTag.setPointCode(columnItem.getParamId()); List<ApiDataDTO> tagValues = iFeignDataApi.querySimTagValues(queryTag); List<DataEntity> tempListTag = new ArrayList<>(); tagValues.forEach(item -> { DataEntity dataEntity = new DataEntity(); dataEntity.setDataValue(item.getDataValue()); dataEntity.setTimeStamp(item.getTimeStamp()); tempListTag.add(dataEntity); }); dataEntityList = tempListTag; break; case "real": // 实时值 List<String> pointNos = new ArrayList<>(); pointNos.add(columnItem.getParamId()); Map<String, Object> data = iFeignDataApi.getCurrentValue(pointNos); DataEntity realData = new DataEntity(); realData.setTimeStamp(new Date()); realData.setDataValue(Double.parseDouble(data.get(columnItem.getParamId()).toString())); dataEntityList.add(realData); break; case "ind": // 指标数据 FeignQueryPointDTO dto1 = new FeignQueryPointDTO(); dto1.setEndTime(columnItem.endTime); dto1.setStartTime(columnItem.startTime); dto1.setPointCode(columnItem.getParamId()); List<ApiDataDTO> indItemValues = iFeignDataApi.queryIndItemValues(dto1); List<DataEntity> tempList1 = new ArrayList<>(); indItemValues.forEach(item -> { DataEntity dataEntity = new DataEntity(); dataEntity.setDataValue(item.getDataValue()); dataEntity.setTimeStamp(item.getTimeStamp()); tempList1.add(dataEntity); }); dataEntityList = tempList1; break; case "device-main": // 检修记录 Integer mainTimes = deviceMainService.getCount(columnItem.getParamId(), columnItem.startTime, columnItem.endTime); DataEntity mainData = new DataEntity(); mainData.setTimeStamp(columnItem.endTime); mainData.setDataValue(mainTimes.doubleValue()); dataEntityList.add(mainData); break; case "event": // 报警事件 Long eventTimes = eventInfoService.getCount(columnItem.getParamId(), columnItem.startTime, columnItem.endTime); DataEntity eventData = new DataEntity(); eventData.setTimeStamp(columnItem.endTime); eventData.setDataValue(eventTimes.doubleValue()); dataEntityList.add(eventData); break; case "evaluate_weight": // 指标权重 List<Double> weightList = indexEvaluateSystemService.getWeight(); List<DataEntity> weightDataList = new ArrayList<>(); weightList.forEach(item -> { DataEntity weightData = new DataEntity(); weightData.setTimeStamp(columnItem.endTime); weightData.setDataValue(item); weightDataList.add(weightData); }); dataEntityList = weightDataList; break; default: break; @@ -187,10 +102,10 @@ if (CollectionUtils.isEmpty(dataEntityList) || length <= dataEntityList.size()) { return dataEntityList; } // log.info("补全数据, length =" + length + "; size = " + dataEntityList.size() + "; startTime = " + startTime + "; endTime = " + endTime); // log.info("补全前:" + dataEntityList); /*log.info("补全数据, length =" + length + "; size = " + dataEntityList.size() + "; startTime = " + startTime + "; endTime = " + endTime); log.info("补全前:" + dataEntityList);*/ ApiDataPointDTO dataPoint = feignDataController.getPoint(paramId); ApiPointDTO dataPoint = dataPointApi.getPoint(paramId); Map<Long, Double> sourceDataMap = new HashMap<>(dataEntityList.size()); for (DataEntity dataEntity : dataEntityList) { iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/sample/constructor/SampleInfoConstructor.java
@@ -1,9 +1,8 @@ package com.iailab.module.model.sample.constructor; import com.iailab.module.data.api.IFeignDataApi; import com.iailab.module.data.dto.ApiDataPointDTO; import com.iailab.module.data.api.IFeignDataApi; import com.iailab.module.data.api.point.DataPointApi; import com.iailab.module.data.api.point.dto.ApiPointDTO; import com.iailab.module.mcs.dto.StModelParamDTO; import com.iailab.module.mcs.service.StModelParamService; import com.iailab.module.model.sample.dto.ColumnItem; @@ -27,7 +26,7 @@ private StModelParamService stModelParamService; @Resource private IFeignDataApi feignDataApi; private DataPointApi dataPointApi; public static final Map<String, Integer> minFreqMap = new HashMap<>(); @@ -100,23 +99,23 @@ calendar.setTime(originalTime); switch (columnItem.getParamType()) { case "point": ApiDataPointDTO dataPoint = feignDataApi.getPoint(columnItem.paramId); ApiPointDTO dataPoint = dataPointApi.getPoint(columnItem.paramId); if (dataPoint == null) { throw new Exception("apiDataPointDTO is null"); } dateTime = calculateTime(dateTime, true, columnItem.getDataLength(), minFreqMap.get(dataPoint.getMinfreqid())); dateTime = calculateTime(calendar.getTime(), true, columnItem.getDataLength(), minFreqMap.get(dataPoint.getMinfreqid())); break; case "predict": dateTime = calendar.getTime(); break; case "ind": dateTime = calculateTime(dateTime, true, columnItem.getDataLength(), DAY_SECOND); dateTime = calculateTime(calendar.getTime(), true, columnItem.getDataLength(), DAY_SECOND); break; case "device-main": dateTime = calculateTime(dateTime, true, columnItem.getDataLength(), DAY_SECOND); dateTime = calculateTime(calendar.getTime(), true, columnItem.getDataLength(), DAY_SECOND); break; case "event": dateTime = calculateTime(dateTime, true, columnItem.getDataLength(), DAY_SECOND); dateTime = calculateTime(calendar.getTime(), true, columnItem.getDataLength(), DAY_SECOND); break; default: break; @@ -130,7 +129,7 @@ calendar.setTime(originalTime); switch (columnItem.getParamType()) { case "point": ApiDataPointDTO dataPoint = feignDataApi.getPoint(columnItem.paramId); ApiPointDTO dataPoint = dataPointApi.getPoint(columnItem.paramId); if (dataPoint == null) { throw new Exception("apiDataPointDTO is null"); } iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/utils/DcsUtils.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/oss/controller/OssFileController.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/oss/dao/OssFileDao.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/oss/dto/OssFileDTO.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/oss/entity/OssFileEntity.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/oss/service/OssFileService.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/oss/service/impl/OssFileServiceImpl.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/package-info.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/param/controller/PageParamController.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/param/dao/PageParamDao.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/param/dto/PageParamDTO.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/param/dto/PageParamResultValueDTO.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/param/dto/PointDataValueDTO.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/param/dto/ResultPointAndTrendDataDTO.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/param/entity/PageParamEntity.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/param/service/PageParmService.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/param/service/impl/PageParamServiceImpl.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/prod/controller/IndexEvaluateSystemController.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/prod/controller/PageCharsController.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/prod/controller/StoreDependableAnalysisController.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/prod/dao/IndexEvaluateSystemDao.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/prod/dao/PrdCurrentPerformanceDao.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/prod/dao/PrdCurrentSaleDao.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/prod/dao/PrdDayDutyDao.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/prod/dao/PrdDayProdDao.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/prod/dao/PrdPlanMonDao.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/prod/dao/PrdPlanYearDao.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/prod/dao/PrdTimeDayDao.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/prod/dao/StorageDayDao.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/prod/dto/IndexEvaluateSystemDTO.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/prod/dto/PageCharsDTO.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/prod/dto/PrdCurrentPerformanceDTO.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/prod/dto/PrdCurrentSaleDTO.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/prod/dto/PrdDayDutyDTO.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/prod/dto/PrdDayProdDTO.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/prod/dto/PrdPlanMonDTO.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/prod/dto/PrdPlanYearDTO.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/prod/dto/StorageDayDTO.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/prod/entity/IndexEvaluateSystemEntity.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/prod/entity/PrdCurrentPerformanceEntity.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/prod/entity/PrdCurrentSaleEntity.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/prod/entity/PrdDayDutyEntity.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/prod/entity/PrdDayProdEntity.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/prod/entity/PrdPlanMonEntity.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/prod/entity/PrdPlanYearEntity.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/prod/entity/PrdTimeDayEntity.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/prod/entity/StorageDayEntity.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/prod/service/IndexEvaluateSystemService.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/prod/service/PageCharsService.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/prod/service/PrdCurrentPerformanceService.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/prod/service/PrdCurrentSaleService.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/prod/service/PrdDayDutyService.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/prod/service/PrdDayProdService.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/prod/service/PrdPlanMonService.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/prod/service/PrdPlanYearService.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/prod/service/PrdTimeDayService.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/prod/service/StorageDayService.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/prod/service/impl/IndexEvaluateSystemServiceImpl.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/prod/service/impl/PageCharsServiceImpl.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/prod/service/impl/PrdCurrentPerformanceServiceImpl.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/prod/service/impl/PrdCurrentSaleServiceImpl.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/prod/service/impl/PrdDayDutyServiceImpl.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/prod/service/impl/PrdDayProdServiceImpl.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/prod/service/impl/PrdPlanMonServiceImpl.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/prod/service/impl/PrdPlanYearServiceImpl.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/prod/service/impl/PrdTimeDayServiceImpl.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/prod/service/impl/StorageDayServiceImpl.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/quality/dao/QualityQualityTrendDayDao.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/quality/dto/QualityQualityTrendDayDTO.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/quality/entity/QualityQualityTrendDayEntity.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/quality/service/QualityQualityTrendDayService.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/quality/service/impl/QualityQualityTrendDayServiceImpl.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/watch/WatchConstant.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/watch/WatchDog.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/websocket/api/dto/ApiMsgDTO.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/websocket/config/ServerEncoder.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/websocket/config/WebSocketConfig.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/websocket/server/WebSocketServer.java
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/resources/mapper/device/DeviceAbnormalHistoryDao.xml
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/resources/mapper/device/DeviceAccountDao.xml
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/resources/mapper/device/DeviceAccountHistoryDao.xml
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/resources/mapper/device/DeviceFaultDao.xml
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/resources/mapper/device/DeviceHealthAlarmDao.xml
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/resources/mapper/device/DeviceHealthStateDao.xml
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/resources/mapper/device/DeviceInfoDao.xml
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/resources/mapper/device/DeviceRunStateDao.xml
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/resources/mapper/device/DeviceStatCountDao.xml
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/resources/mapper/device/DeviceStatNewnessDao.xml
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/resources/mapper/device/DeviceStatUsageDao.xml
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/resources/mapper/knowledge/KnowledgePathDao.xml
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/resources/mapper/mcs/StModelDao.xml
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/resources/mapper/mcs/StModelResultDao.xml
@@ -3,140 +3,68 @@ <mapper namespace="com.iailab.module.mcs.dao.StModelResultDao"> <resultMap id="StModelResultEntity" type="com.iailab.module.mcs.entity.StModelResultEntity"> <result property="modelId" column="model_id"/> <result property="resultKey" column="result_key"/> <result property="resultValue" column="result_value"/> <result property="resultTime" column="result_time"/> </resultMap> <resultMap id="StModelResultEntity" type="com.iailab.module.mcs.entity.StModelResultEntity"> <result property="modelId" column="model_id"/> <result property="resultKey" column="result_key"/> <result property="resultValue" column="result_value"/> <result property="resultTime" column="result_time"/> </resultMap> <resultMap id="StoreDependableAnalysisDTO" type="com.iailab.module.any.dto.AnyStoreReliabilityDTO"> <result property="dateTime" column="dateTime"/> <result property="grade" column="grade"/> <result property="state" column="state"/> <result property="analysis" column="analysis"/> </resultMap> <resultMap id="StoreDependableAnalysisDTO" type="com.iailab.module.any.dto.AnyStoreReliabilityDTO"> <result property="dateTime" column="dateTime"/> <result property="grade" column="grade"/> <result property="state" column="state"/> <result property="analysis" column="analysis"/> </resultMap> <select id="getLastResultByCode" parameterType="map" resultType="com.iailab.module.mcs.dto.StModelResultDTO"> select t2.result_key resultKey, t2.result_value resultValue, t2.result_time resultTime from t_st_model t1 inner join t_st_model_result t2 on t2.model_id = t1.id and t2.result_time = t1.run_time where t1.model_code = #{modelCode} </select> <select id="getResultByCodeDate" parameterType="map" resultType="com.iailab.module.mcs.dto.StModelResultDTO"> select t2.result_key resultKey, t2.result_value resultValue, t2.result_time resultTime from t_st_model t1 inner join t_st_model_result t2 on t2.model_id = t1.id where t1.model_code = #{modelCode} and DATE_FORMAT(t2.result_time, '%Y-%m-%d') = #{resultTime} </select> <select id="getLastResultByCode" parameterType="map" resultType="com.iailab.module.mcs.dto.StModelResultDTO"> select t2.result_key resultKey, t2.result_value resultValue, t2.result_time resultTime from t_st_model t1 inner join t_st_model_result t2 on t2.model_id = t1.id and t2.result_time = t1.run_time where t1.model_code = #{modelCode} </select> <select id="getResultByCodeDate" parameterType="map" resultType="com.iailab.module.mcs.dto.StModelResultDTO"> select t2.result_key resultKey, t2.result_value resultValue, t2.result_time resultTime from t_st_model t1 inner join t_st_model_result t2 on t2.model_id = t1.id where t1.model_code = #{modelCode} and DATE_FORMAT(t2.result_time, '%Y-%m-%d') = #{resultTime} </select> <select id="getResultList" parameterType="map" resultMap="StModelResultEntity"> SELECT b.model_id, b.result_key, b.result_value, b.result_time FROM t_st_model_result b left JOIN t_st_model a ON a.id = b.model_id WHERE b.result_key not in ('status', 'tips') <if test="modelId != null and modelId != ''"> AND b.model_id = #{modelId} </if> <if test="modelCode != null and modelCode != ''"> AND a.model_code = #{modelCode} </if> AND result_time BETWEEN #{startDate} AND #{endDate} ORDER BY b.result_time ${sortType} </select> <select id="getModelResultList" resultType="com.iailab.common.dto.IndexStatisticDTO"> SELECT b.result_time dateTime,b.result_value data FROM t_st_model a, t_st_model_result b WHERE a.id = b.model_id AND b.line_index = '0' AND b.result_key = #{key} AND result_time BETWEEN #{startDate} AND #{endDate} ORDER BY b.result_time </select> <select id="getResultList" parameterType="map" resultMap="StModelResultEntity"> SELECT b.model_id, b.result_key, b.result_value, b.result_time FROM t_st_model_result b left JOIN t_st_model a ON a.id = b.model_id WHERE b.result_key not in ('status', 'tips') <if test="modelId != null and modelId != ''"> AND b.model_id = #{modelId} </if> <if test="modelCode != null and modelCode != ''"> AND a.model_code = #{modelCode} </if> AND result_time BETWEEN #{startDate} AND #{endDate} ORDER BY b.result_time ${sortType} </select> <delete id="cleanModelResult" parameterType="map"> delete from t_st_model_result <delete id="cleanModelResult" parameterType="map"> delete from t_st_model_result where result_time between #{startdate} and #{enddate} </delete> <insert id="insertList" parameterType="list"> INSERT INTO `t_st_model_result` (id, `model_id`, `line_index`, `result_key`, `result_value`, `result_time`) VALUES <foreach item="item" collection="list" separator=","> (#{item.id},#{item.modelId},#{item.lineIndex},#{item.resultKey},#{item.resultValue},#{item.resultTime}) </foreach> </insert> <insert id="migrationModelResult" parameterType="java.util.List"> INSERT INTO `t_st_model_result` (id, `model_id`, `line_index`, `result_key`, `result_value`, `result_time`) VALUES <foreach item="item" collection="list" separator=","> (#{item.id},#{item.modelId},#{item.lineIndex},#{item.resultKey},#{item.resultValue},#{item.resultTime}) </foreach> </insert> <select id="getStorePageList" resultType="com.iailab.module.any.dto.AnyStoreReliabilityDTO"> select t.* from ( SELECT result_time as 'dateTime', MAX(CASE WHEN result_key = 'score' THEN result_value END) AS 'score', MAX(CASE WHEN result_key = 'analysis' THEN result_value END) AS 'analysis', MAX(CASE WHEN result_key = 'judgement' THEN result_value END) AS 'judgement' FROM `t_st_model_result` <where> model_id = #{params.modelId} <if test="params.startTime != null and params.startTime != ''"> and result_time >= #{params.startTime} </if> <if test="params.endTime != null and params.endTime != ''"> and result_time <= #{params.endTime} </if> </where> GROUP BY result_time ) as t <where> <if test="params.judgement != null and params.judgement != ''"> t.judgement like concat('%',#{params.judgement},'%') </if> </where> </select> <select id="getEvaluationPageList" resultType="com.iailab.module.any.dto.AnyAllEvaluationDTO"> select * from ( SELECT result_time as 'dateTime', MAX(CASE WHEN result_key = 'first_level' THEN result_value END) AS 'first_level', MAX(CASE WHEN result_key = 'zong_level' THEN result_value END) AS 'zong_level', MAX(CASE WHEN result_key = 'shu_liang_fen' THEN result_value END) AS 'shu_liang_fen', MAX(CASE WHEN result_key = 'zhi_liang_fen' THEN result_value END) AS 'zhi_liang_fen', MAX(CASE WHEN result_key = 'sheng_chan_fen' THEN result_value END) AS 'sheng_chan_fen', MAX(CASE WHEN result_key = 'guo_cheng_fen' THEN result_value END) AS 'guo_cheng_fen', MAX(CASE WHEN result_key = 'guan_li_fen' THEN result_value END) AS 'guan_li_fen' FROM `t_st_model_result` <where> model_id = #{params.modelId} <if test="params.startDate != null and params.startDate != ''"> and result_time >= #{params.startDate} </if> <if test="params.endDate != null and params.endDate != ''"> and result_time <= #{params.endDate} </if> </where> GROUP BY result_time ) as t <where> <if test="params.state != null and params.state != ''"> state like concat('%',#{params.state},'%') </if> </where> </select> <insert id="insertList" parameterType="list"> INSERT INTO `t_st_model_result` (id, `model_id`, `line_index`, `result_key`, `result_value`, `result_time`) VALUES <foreach item="item" collection="list" separator=","> (#{item.id},#{item.modelId},#{item.lineIndex},#{item.resultKey},#{item.resultValue},#{item.resultTime}) </foreach> </insert> </mapper> iailab-module-model/iailab-module-model-biz/src/main/resources/mapper/mcs/StModelRunlogDao.xml
@@ -2,29 +2,6 @@ <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> <mapper namespace="com.iailab.module.mcs.dao.StModelRunlogDao"> <insert id="migrationModelRunlog" parameterType="java.util.List"> INSERT INTO `t_st_model_runlog` (id, `modelid`, `run_time`, `run_type`, `run_result`) VALUES <foreach item="item" collection="list" separator=","> (#{item.id},#{item.modelid},#{item.runTime},#{item.runType},#{item.runCommonResult}) </foreach> </insert> <select id="getLastFxLog" resultType="com.iailab.module.mcs.dto.StModelRunlogDTO"> select * from t_st_model_runlog where run_type in ('separation_control','DensityPredict') order by run_time desc limit 10 </select> <select id="getLastJyLog" resultType="com.iailab.module.mcs.dto.StModelRunlogDTO"> select * from t_st_model_runlog where run_type in ('dosing_control','Dosingsystempre') order by run_time desc limit 10 </select> <select id="getLastLog" parameterType="map" resultType="com.iailab.module.mcs.dto.StModelRunlogDTO"> select * from t_st_model_runlog iailab-module-model/iailab-module-model-biz/src/main/resources/mapper/report/AnyProcReportDao.xml
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/resources/mapper/report/AnyProcReportDetDao.xml
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/resources/mapper/report/DeviceHealthReportDao.xml
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/resources/mapper/report/DeviceHealthReportDataDao.xml
文件已删除