ZengTao
2024-10-23 e1d6144afd4ca507749fc2a1679e311246270fc8
hangzhoumesParent/moduleService/CacheGlassModule/src/test/java/com/mes/CacheGlassModuleApplicationTest.java
@@ -49,7 +49,7 @@
    @Autowired
    TaskCacheServiceImpl taskCacheServiceImpl;
    @Autowired
    @Resource
    OptimizeDetailMapper optimizeDetailMapper;
    @Autowired
    GlassInfoService glassInfoService;
@@ -143,15 +143,26 @@
    }
    @Test
    public void testEngineerTerritory() {
        List<Map<String, Object>> map = edgStorageCageDetailsService.selectTemperingTerritory("P24052203");
        log.info("钢化工程版图信息:{}", Arrays.asList(map));
    }
    @Test
    public void testidentWorn() {
        Map<String, Object> arguments=new HashMap<>();
        arguments.put("glassId","NG24051802A002-1-4-2-4");//玻璃ID
        arguments.put("state","8");        //拿走:200/破损:201
        arguments.put("line","1001");             //线路:
        arguments.put("workingProcedure","识别");           //设备名称:
        edgStorageCageDetailsService.identWorn(arguments);
//        edgStorageCageDetailsService.identWorn(arguments);
        log.info("识别台【破损/拿走】:{}", 1);
    }
    @Test
    public void testInToVerify() {
        boolean result=edgStorageCageDetailsService.inToVerify("P24060405|30|1");
        log.info("是否存在重复ID 》允许进片:{}", result);
    }
    @Test
    public void testPpOptimizeDetail() {