| | |
| | | <artifactId>fastjson</artifactId> |
| | | <version>1.2.33</version> |
| | | </dependency> |
| | | |
| | | <!-- <dependency>--> |
| | | <!-- <groupId>com.github.yulichang</groupId>--> |
| | | <!-- <artifactId>mybatis-plus-join</artifactId>--> |
| | | <!-- <version>1.2.4</version>--> |
| | | <!-- </dependency>--> |
| | | <dependency> |
| | | <groupId>com.github.yulichang</groupId> |
| | | <artifactId>mybatis-plus-join-boot-starter</artifactId> |
| | |
| | | <artifactId>liquibase-core</artifactId> |
| | | <version>3.8.1</version> |
| | | </dependency> |
| | | <dependency> |
| | | <groupId>org.eclipse.milo</groupId> |
| | | <artifactId>sdk-client</artifactId> |
| | | <version>0.6.8</version> |
| | | </dependency> |
| | | <dependency> |
| | | <groupId>org.eclipse.milo</groupId> |
| | | <artifactId>sdk-server</artifactId> |
| | | <version>0.6.8</version> |
| | | </dependency> |
| | | </dependencies> |
| | | |
| | | </project> |
| | |
| | | |
| | | import cn.hutool.json.JSONObject; |
| | | import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; |
| | | import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; |
| | | import com.mes.bigstorage.entity.BigStorageCageDetails; |
| | | import com.mes.bigstorage.service.BigStorageCageDetailsService; |
| | | import com.mes.bigstorage.service.BigStorageCageService; |
| | | import com.mes.common.S7object; |
| | | import com.mes.common.config.Const; |
| | | import com.mes.common.utils.RedisUtil; |
| | | import com.mes.device.PlcParameterObject; |
| | | import com.mes.temperingglass.entity.TemperingGlassInfo; |
| | | import com.mes.temperingglass.service.TemperingGlassInfoService; |
| | | import com.mes.tools.WebSocketServer; |
| | |
| | | spring: |
| | | datasource: |
| | | dynamic: |
| | | primary: salve_hangzhoumes #设置默认的数据源或者数据源组,默认值即为master |
| | | primary: hangzhoumes #设置默认的数据源或者数据源组,默认值即为master |
| | | strict: false #设置严格模式,默认false不启动. 启动后在未匹配到指定数据源时候回抛出异常,不启动会使用默认数据源. |
| | | datasource: |
| | | hangzhoumes: |
| | |
| | | --precondition-sql-check expectedResult:0 SELECT COUNT(*) FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_NAME = 'sys_dict_type'; |
| | | CREATE TABLE sys_dict_type |
| | | ( |
| | | dict_id BIGINT AUTO_INCREMENT PRIMARY KEY, |
| | | dict_id INT AUTO_INCREMENT PRIMARY KEY, |
| | | dict_name VARCHAR(32) NOT NULL, |
| | | dict_type VARCHAR(32) NOT NULL, |
| | | state CHAR(1) NOT NULL DEFAULT TRUE, |
| | |
| | | --precondition-sql-check expectedResult:0 SELECT COUNT(*) FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_NAME = 'sys_dict_data'; |
| | | CREATE TABLE sys_dict_data |
| | | ( |
| | | dict_id BIGINT AUTO_INCREMENT PRIMARY KEY, |
| | | dict_id INT AUTO_INCREMENT PRIMARY KEY, |
| | | dict_sort INT NOT NULL, |
| | | dict_label VARCHAR(32) NOT NULL, |
| | | dict_value VARCHAR(32) NOT NULL, |
| | |
| | | |
| | | --changeset zsh:20240904004 |
| | | --preconditions onFail:CONTINUE onError:CONTINUE |
| | | --precondition-sql-check expectedResult:0 SELECT COUNT(*) FROM sys_dict_data WHERE dict_type in ('clearGlass', 'silver', 'doubleSilver', 'thirdSilver', 'ultraClear', 'heatReflect'); |
| | | -- precondition-sql-check expectedResult:0 SELECT COUNT(*) FROM sys_dict_data WHERE dict_type in ('白玻', '单银', '双银'); |
| | | INSERT INTO sys_dict_data(dict_sort, dict_label, dict_value, dict_type, dict_type_value, state, description, deleted) |
| | | VALUES (1, '白玻', 'clearGlass', '白玻', '0', '1', '1', '0'); |
| | | INSERT INTO sys_dict_data(dict_sort, dict_label, dict_value, dict_type, dict_type_value, state, description, deleted) |
| | |
| | | VALUES (1, '双银lowe', 'doubleSilverLowe', '双银', '2', '1', '1', '0'); |
| | | INSERT INTO sys_dict_data(dict_sort, dict_label, dict_value, dict_type, dict_type_value, state, description, deleted) |
| | | VALUES (2, '超白双银Lowe', 'ultraDoubleSilverLowe', '双银', '2', '1', '1', '0'); |
| | | --rollback DELETE FROM sys_dict_data WHERE dict_type in ('clearGlass', 'silver', 'doubleSilver', 'thirdSilver', 'ultraClear', 'heatReflect'); |
| | | -- rollback DELETE FROM sys_dict_data WHERE dict_type in ('白玻', '单银', '双银'); |
| | | |
| | | |
| | | |
New file |
| | |
| | | <databaseChangeLog |
| | | xmlns="http://www.liquibase.org/xml/ns/dbchangelog" |
| | | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| | | xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog |
| | | http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.1.xsd"> |
| | | |
| | | <!-- 引入第一个SQL配置文件 --> |
| | | <include file="./changelog/changelog.sql" relativeToChangelogFile="false"/> |
| | | |
| | | <!-- 更多的include标签... --> |
| | | |
| | | </databaseChangeLog> |