*
L
2026-04-22 9bd96eb8f9e11fa3ca024b82c718b104a1545f25
src/main/java/com/zy/asrs/controller/ConsoleController.java
@@ -76,14 +76,15 @@
            if (!systemSign){
                if (new LicenseVerify().verify()){
                    SystemProperties.WCS_RUNNING_STATUS.set(Boolean.TRUE);
                    return R.ok().add(Cools.add("status", SystemProperties.WCS_RUNNING_STATUS.get()));
                    return R.ok();
                }
            }
        } catch (Exception e){
            log.error("许可证验证失败!!异常:{}",e.getMessage());
            return R.error();
        }
        SystemProperties.WCS_RUNNING_STATUS.set(Boolean.FALSE);
        return R.ok().add(Cools.add("status", SystemProperties.WCS_RUNNING_STATUS.get()));
        return R.ok();
    }
    /****************************************************************/
@@ -179,7 +180,7 @@
            if (null != devpThread) {
                StaProtocol staProtocol = devpThread.getStation().get(siteId);
                if (staProtocol != null) {
                    BasDevp basDevp = basDevpService.selectById(siteId);
                    BasDevp basDevp = basDevpService.getById(siteId);
                    if (basDevp == null) {
                        return R.error("数据库维护异常");
                    }
@@ -187,7 +188,7 @@
                    vo.setWorkNo(staProtocol.getWorkNo());   // 工作号
                    if (staProtocol.getWorkNo() > 0) {
                        WrkMast wrkMast = wrkMastService.selectById(staProtocol.getWorkNo());
                        WrkMast wrkMast = wrkMastService.getById(staProtocol.getWorkNo());
                        if (wrkMast != null) {
                            vo.setWrkSts(wrkMast.getWrkSts$());   // 工作状态
                            vo.setIoType(wrkMast.getIoType$());   //  入出库类型