hangzhoumesParent/common/displayscreen/pom.xml
File was deleted hangzhoumesParent/common/displayscreen/src/main/java/com/mes/displayscreen/controller/DisplayScreenController.java
File was deleted hangzhoumesParent/common/displayscreen/src/main/java/com/mes/displayscreen/service/DisplayScreenService.java
File was deleted hangzhoumesParent/common/displayscreen/src/main/java/com/mes/displayscreen/service/impl/DisplayScreenServiceImpl.java
File was deleted hangzhoumesParent/common/displayscreen/src/main/java/com/mes/order/controller/OrderController.java
File was deleted hangzhoumesParent/common/displayscreen/src/main/java/com/mes/order/entity/Order.java
File was deleted hangzhoumesParent/common/displayscreen/src/main/java/com/mes/order/mapper/OrderMapper.java
File was deleted hangzhoumesParent/common/displayscreen/src/main/java/com/mes/order/mapper/xml/OrderMapper.xml
File was deleted hangzhoumesParent/common/displayscreen/src/main/java/com/mes/order/service/OrderService.java
File was deleted hangzhoumesParent/common/displayscreen/src/main/java/com/mes/order/service/impl/OrderServiceImpl.java
File was deleted hangzhoumesParent/common/displayscreen/src/main/java/com/mes/orderdetail/controller/OrderDetailController.java
File was deleted hangzhoumesParent/common/displayscreen/src/main/java/com/mes/orderdetail/entity/OrderDetail.java
File was deleted hangzhoumesParent/common/displayscreen/src/main/java/com/mes/orderdetail/mapper/OrderDetailMapper.java
File was deleted hangzhoumesParent/common/displayscreen/src/main/java/com/mes/orderdetail/mapper/xml/OrderDetailMapper.xml
File was deleted hangzhoumesParent/common/displayscreen/src/main/java/com/mes/orderdetail/service/OrderDetailService.java
File was deleted hangzhoumesParent/common/displayscreen/src/main/java/com/mes/orderdetail/service/impl/OrderDetailServiceImpl.java
File was deleted hangzhoumesParent/common/displayscreen/src/main/resources/banner.txt
File was deleted hangzhoumesParent/common/pom.xml
@@ -15,7 +15,6 @@ <modules> <module>servicebase</module> <module>springsecurity</module> <module>displayscreen</module> </modules> <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> hangzhoumesParent/common/servicebase/src/main/java/com/mes/glassinfo/entity/GlassInfo.java
@@ -125,7 +125,7 @@ /** * 旋转角度(逆时针) */ private Integer angle; private Double angle; /** * 工程号 hangzhoumesParent/common/servicebase/src/main/java/com/mes/glassinfo/entity/OptimizeGlassinfo.java
@@ -33,6 +33,17 @@ private Double height; /** * 宽 */ private Double oHeight; /** * 高 */ private Double oWidth; /** * 厚度 */ private Double glassThickness; @@ -88,5 +99,13 @@ * 小片编号 */ private String glassId; /** * 订单序号 */ private String orderSort; /** * 旋转角度 */ private Double rotateAngle; } hangzhoumesParent/common/servicebase/src/main/java/com/mes/glassinfo/service/impl/GlassInfoServiceImpl.java
@@ -39,12 +39,13 @@ List<OptimizeGlassinfo> optimizeGlassinfos=null; if (engineeringId != null) { optimizeGlassinfos = optimizeProjectMapper.selectJoinList(OptimizeGlassinfo.class, new MPJQueryWrapper<OptimizeProject>() .select("b.process_id,t.type,b.width,b.height,t.glass_thickness,t.glass_type,b.p_width,b.p_height,b.layer, b.total_layer, b.stock_id,b.heat_layout_id,b.heat_layout_sort,b.x_axis,b.y_axis,b.project_no,b.glass_id") .select("b.process_id,t.glass_type,b.o_width,b.o_height,t.glass_thickness,b.order_sort,b.p_width,b.p_height,b.layer, b.total_layer, b.stock_id,b.heat_layout_id,b.heat_layout_sort,c.x_axis,c.y_axis,b.project_no,b.glass_id,c.rotate_angle") .leftJoin("optimize_detail b on t.project_no=b.project_no") .leftJoin("optimize_heat_detail c on c.project_no=t.project_no and b.heat_layout_id=c.layout_id and b.heat_layout_sort=c.sort") //.eq("t.state",100) .eq("t.project_no", engineeringId)); } //order_sort,o_width,o_height // 创建一个 List 用于保存映射后的实体对象 List<GlassInfo> resultList = new ArrayList<>(); @@ -56,9 +57,9 @@ glassInfo.setEngineerId(map.getProjectNo()); glassInfo.setFlowCardId(map.getProcessId()); glassInfo.setFilmsid(map.getGlassType()); glassInfo.setGlassType(map.getType()); glassInfo.setWidth(map.getWidth()); glassInfo.setHeight(map.getHeight()); glassInfo.setGlassType(map.getOrderSort());//订单序号 glassInfo.setWidth(map.getOWidth());//订单宽 glassInfo.setHeight(map.getOHeight());//订单高 glassInfo.setEdgWidth(map.getPWidth()); glassInfo.setLayer(map.getLayer()); glassInfo.setTotalLayer(map.getTotalLayer()); @@ -69,7 +70,7 @@ glassInfo.setTemperingFeedSequence(map.getHeatLayoutSort());//钢化版图顺序 glassInfo.setXCoordinate(map.getXAxis()); glassInfo.setYCoordinate(map.getYAxis()); glassInfo.setAngle(map.getRotateAngle()); glassInfo.setGlassId(map.getGlassId()); // 将映射后的对象添加到结果列表中 resultList.add(glassInfo); hangzhoumesParent/common/springsecurity/pom.xml
@@ -23,6 +23,7 @@ <artifactId>servicebase</artifactId> <version>1.0-SNAPSHOT</version> </dependency> <!-- Spring Security依赖 --> <dependency> <groupId>org.springframework.boot</groupId> hangzhoumesParent/moduleService/LoadGlassModule/src/main/java/com/mes/workstation/mapper/LoadGlassMapper.java
File was deleted hangzhoumesParent/moduleService/LoadGlassModule/src/main/resources/application-cz.yml
@@ -15,7 +15,7 @@ password: beibo.123/ driver-class-name: com.mysql.cj.jdbc.Driver sd: url: jdbc:mysql://192.168.1.199:3306/pp?serverTimezone=GMT%2b8 url: jdbc:mysql://192.168.1.199:3306/sd?serverTimezone=GMT%2b8 username: root password: beibo.123/ driver-class-name: com.mysql.cj.jdbc.Driver hangzhoumesParent/moduleService/LoadGlassModule/src/main/resources/application-dev.yml
@@ -15,20 +15,10 @@ password: beibo.123/ driver-class-name: com.mysql.cj.jdbc.Driver sd: url: jdbc:mysql://192.168.1.199:3306/pp?serverTimezone=GMT%2b8 url: jdbc:mysql://192.168.1.199:3306/sd?serverTimezone=GMT%2b8 username: root password: beibo.123/ driver-class-name: com.mysql.cj.jdbc.Driver # hangzhoumes: # url: jdbc:mysql://10.153.19.150:3306/hangzhoumes?serverTimezone=GMT%2b8 # username: root # password: beibo.123/ # driver-class-name: com.mysql.cj.jdbc.Driver # pp: # url: jdbc:mysql://10.153.19.150:3306/pp?serverTimezone=GMT%2b8 # username: root # password: beibo.123/ # driver-class-name: com.mysql.cj.jdbc.Driver cloud: nacos: discovery: hangzhoumesParent/moduleService/LoadGlassModule/src/main/resources/application-prod.yml
@@ -15,7 +15,7 @@ password: beibo.123/ driver-class-name: com.mysql.cj.jdbc.Driver sd: url: jdbc:mysql://192.168.1.199:3306/pp?serverTimezone=GMT%2b8 url: jdbc:mysql://192.168.1.199:3306/sd?serverTimezone=GMT%2b8 username: root password: beibo.123/ driver-class-name: com.mysql.cj.jdbc.Driver hangzhoumesParent/moduleService/TemperingGlassModule/src/main/resources/application-cz.yml
@@ -4,14 +4,25 @@ primary: hangzhoumes #设置默认的数据源或者数据源组,默认值即为master strict: false #设置严格模式,默认false不启动. 启动后在未匹配到指定数据源时候回抛出异常,不启动会使用默认数据源. datasource: # hangzhoumes: # url: jdbc:mysql://192.168.1.199:3306/hangzhoumes?serverTimezone=GMT%2b8 # username: root # password: beibo.123/ # driver-class-name: com.mysql.cj.jdbc.Driver # # salve_hangzhoumes: # url: jdbc:sqlserver://192.168.10.2:1433;databasename=hangzhoumes # username: sa # password: beibo.123/ # driver-class-name: com.microsoft.sqlserver.jdbc.SQLServerDriver hangzhoumes: url: jdbc:mysql://192.168.1.199:3306/hangzhoumes?serverTimezone=GMT%2b8 url: jdbc:mysql://10.153.19.150:3306/hangzhoumes?serverTimezone=GMT%2b8 username: root password: beibo.123/ driver-class-name: com.mysql.cj.jdbc.Driver salve_hangzhoumes: url: jdbc:sqlserver://192.168.10.2:1433;databasename=hangzhoumes url: jdbc:sqlserver://10.153.19.150:1433;databasename=hangzhoumes username: sa password: beibo.123/ driver-class-name: com.microsoft.sqlserver.jdbc.SQLServerDriver hangzhoumesParent/moduleService/TemperingGlassModule/src/main/resources/application-dev.yml
@@ -4,13 +4,23 @@ primary: hangzhoumes #设置默认的数据源或者数据源组,默认值即为master strict: false #设置严格模式,默认false不启动. 启动后在未匹配到指定数据源时候回抛出异常,不启动会使用默认数据源. datasource: # hangzhoumes: # url: jdbc:mysql://127.0.0.1:3306/hangzhoumes?serverTimezone=GMT%2b8 # username: root # password: beibo.123/ # driver-class-name: com.mysql.cj.jdbc.Driver # salve_hangzhoumes: # url: jdbc:sqlserver://127.0.0.1:1433;databasename=hangzhoumes # username: sa # password: beibo.123/ # driver-class-name: com.microsoft.sqlserver.jdbc.SQLServerDriver hangzhoumes: url: jdbc:mysql://127.0.0.1:3306/hangzhoumes?serverTimezone=GMT%2b8 url: jdbc:mysql:10.153.19.150:3306/hangzhoumes?serverTimezone=GMT%2b8 username: root password: beibo.123/ driver-class-name: com.mysql.cj.jdbc.Driver salve_hangzhoumes: url: jdbc:sqlserver://127.0.0.1:1433;databasename=hangzhoumes url: jdbc:sqlserver://10.153.19.150:1433;databasename=hangzhoumes username: sa password: beibo.123/ driver-class-name: com.microsoft.sqlserver.jdbc.SQLServerDriver hangzhoumesParent/moduleService/TemperingGlassModule/src/main/resources/application.yml
@@ -2,7 +2,7 @@ port: 8084 spring: profiles: active: cz active: dev application: name: temperingGlass mybatis-plus: hangzhoumesParent/moduleService/TemperingGlassModule/src/test/java/com/mes/TemperingApplicationTest.java
@@ -1,60 +1,60 @@ //package com.mes; // //import com.mes.temperingglass.entity.TemperingGlassInfo; //import com.mes.temperingglass.service.TemperingAgoService; //import lombok.extern.slf4j.Slf4j; //import org.junit.Test; //import org.junit.runner.RunWith; //import org.springframework.beans.factory.annotation.Autowired; //import org.springframework.boot.test.context.SpringBootTest; //import org.springframework.test.context.junit4.SpringRunner; // //import java.util.Arrays; //import java.util.List; // ///** // * @Author : zhoush // * @Date: 2024/3/27 16:37 // * @Description: // */ //@Slf4j //@RunWith(SpringRunner.class) //@SpringBootTest(classes = TemperingGlassModuleApplication.class) //public class TemperingApplicationTest { // // @Autowired // private TemperingAgoService temperingAgoService; // // // @Test // public void testFindPa() { // List<TemperingGlassInfo> glass = temperingAgoService.selectIntoGlass(12); // log.info("进炉中的玻璃:{}", Arrays.asList(glass)); // } // @Test // public void testFindPa2() { // List<TemperingGlassInfo> glass = temperingAgoService.selectOutGlass(); // log.info("已出中的玻璃:{}", Arrays.asList(glass)); // } // // @Test // public void testFindPa3() { // List<TemperingGlassInfo> glass = temperingAgoService.selectWaitingGlass(); // log.info("等待中的玻璃:{}", Arrays.asList(glass)); // } // @Test // public void testFindPa4() { // List<TemperingGlassInfo> glass = temperingAgoService.selectOverGlass(); // log.info("等待中的玻璃:{}", Arrays.asList(glass)); // } // @Test // public void testFindPa5() { // List<TemperingGlassInfo> layoutId = temperingAgoService.selectLayoutId(); // //进炉中的玻璃 // log.info("版图id:{}", Arrays.asList(layoutId.get(0).getTemperingLayoutId())); // List<TemperingGlassInfo> intoGlass = temperingAgoService.selectIntoGlass(layoutId.get(0).getTemperingLayoutId()); // log.info("玻璃版图id:{}", Arrays.asList(intoGlass)); // List<TemperingGlassInfo> intoGlass2 = temperingAgoService.selectIntoGlass(layoutId.get(1).getTemperingLayoutId()); // log.info("玻璃版图id:{}", Arrays.asList(intoGlass2)); // } //} package com.mes; import com.mes.temperingglass.entity.TemperingGlassInfo; import com.mes.temperingglass.service.TemperingAgoService; import lombok.extern.slf4j.Slf4j; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringRunner; import java.util.Arrays; import java.util.List; /** * @Author : zhoush * @Date: 2024/3/27 16:37 * @Description: */ @Slf4j @RunWith(SpringRunner.class) @SpringBootTest(classes = TemperingGlassModuleApplication.class) public class TemperingApplicationTest { @Autowired private TemperingAgoService temperingAgoService; @Test public void testFindPa() { List<TemperingGlassInfo> glass = temperingAgoService.selectIntoGlass(12); log.info("进炉中的玻璃:{}", Arrays.asList(glass)); } @Test public void testFindPa2() { List<TemperingGlassInfo> glass = temperingAgoService.selectOutGlass(); log.info("已出中的玻璃:{}", Arrays.asList(glass)); } @Test public void testFindPa3() { List<TemperingGlassInfo> glass = temperingAgoService.selectWaitingGlass(); log.info("等待中的玻璃:{}", Arrays.asList(glass)); } @Test public void testFindPa4() { List<TemperingGlassInfo> glass = temperingAgoService.selectOverGlass(); log.info("等待中的玻璃:{}", Arrays.asList(glass)); } @Test public void testFindPa5() { List<TemperingGlassInfo> layoutId = temperingAgoService.selectLayoutId(); //进炉中的玻璃 log.info("版图id:{}", Arrays.asList(layoutId.get(0).getTemperingLayoutId())); List<TemperingGlassInfo> intoGlass = temperingAgoService.selectIntoGlass(layoutId.get(0).getTemperingLayoutId()); log.info("玻璃版图id:{}", Arrays.asList(intoGlass)); List<TemperingGlassInfo> intoGlass2 = temperingAgoService.selectIntoGlass(layoutId.get(1).getTemperingLayoutId()); log.info("玻璃版图id:{}", Arrays.asList(intoGlass2)); } }