diff --git a/shapelight-admin/src/main/java/net/shapelight/modules/ten/service/impl/TenCellServiceImpl.java b/shapelight-admin/src/main/java/net/shapelight/modules/ten/service/impl/TenCellServiceImpl.java index b8e2f85..8597887 100644 --- a/shapelight-admin/src/main/java/net/shapelight/modules/ten/service/impl/TenCellServiceImpl.java +++ b/shapelight-admin/src/main/java/net/shapelight/modules/ten/service/impl/TenCellServiceImpl.java @@ -79,14 +79,14 @@ public class TenCellServiceImpl extends ServiceImpl i public boolean save(TenCellEntity entity) { String cellId = entity.getCellId().toString(); String tenantId = entity.getTenantId().toString(); -// tenCellDao.createTenBuild(cellId); -// tenCellDao.createTenRoom(cellId); -// tenCellDao.createTenPerson(tenantId); - tenCellDao.createTenRecord(tenantId); + tenCellDao.createTenBuild(cellId); + tenCellDao.createTenRoom(cellId); + tenCellDao.createTenPerson(cellId); + tenCellDao.createTenRecord(cellId); // tenCellDao.createTenCar(cellId); // tenCellDao.createTenPackRecord(cellId); -// tenCellDao.createTenPersonExtract(tenantId); - tenCellDao.createTenPersonSync(tenantId); + tenCellDao.createTenPersonExtract(cellId); + tenCellDao.createTenPersonSync(cellId); return super.save(entity); } diff --git a/shapelight-admin/src/main/resources/application-dev.yml b/shapelight-admin/src/main/resources/application-dev.yml index 8d521c9..279a2d5 100644 --- a/shapelight-admin/src/main/resources/application-dev.yml +++ b/shapelight-admin/src/main/resources/application-dev.yml @@ -3,7 +3,7 @@ spring: type: com.alibaba.druid.pool.DruidDataSource druid: driver-class-name: com.mysql.cj.jdbc.Driver - url: jdbc:mysql://192.168.10.20:3306/cell_db_v11?useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai&useSSL=false&rewriteBatchedStatements=true + url: jdbc:mysql://192.168.10.20:3306/cell_db_v11_2?useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai&useSSL=false&rewriteBatchedStatements=true username: user password: user@server001 # url: jdbc:mysql://39.96.9.232:3306/cell_db_v8_http?useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai&useSSL=false&rewriteBatchedStatements=true diff --git a/shapelight-admin/src/main/resources/application.yml b/shapelight-admin/src/main/resources/application.yml index 55e03be..fad7dc1 100644 --- a/shapelight-admin/src/main/resources/application.yml +++ b/shapelight-admin/src/main/resources/application.yml @@ -5,11 +5,11 @@ server: max-threads: 1000 min-spare-threads: 30 max-connections: 2000 - port: 8018 + port: 8020 servlet: context-path: /cell http: - port: 8019 + port: 8021 # ssl: # key-store: classpath:4145009_c.shapelight.net.pfx # key-store-password: 8n8bU823