add:增加烘箱冷却区看板
This commit is contained in:
@@ -0,0 +1,41 @@
|
|||||||
|
package org.nl.config;
|
||||||
|
|
||||||
|
import cn.hutool.core.net.NetUtil;
|
||||||
|
import cn.hutool.crypto.digest.MD5;
|
||||||
|
import org.springframework.context.SmartLifecycle;
|
||||||
|
import org.springframework.context.annotation.Configuration;
|
||||||
|
|
||||||
|
import java.net.InetAddress;
|
||||||
|
import java.security.MessageDigest;
|
||||||
|
import java.util.LinkedHashSet;
|
||||||
|
import java.util.Optional;
|
||||||
|
|
||||||
|
|
||||||
|
public class GeneralConfig implements SmartLifecycle {
|
||||||
|
/**
|
||||||
|
* 雪花算法workId
|
||||||
|
*/
|
||||||
|
public static Long Ip_WorkId = 1L;
|
||||||
|
|
||||||
|
|
||||||
|
public void init(){
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void start() {
|
||||||
|
LinkedHashSet<InetAddress> inetAddresses = NetUtil.localAddressList(null);
|
||||||
|
Optional<InetAddress> any = inetAddresses.stream().findAny();
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void stop() {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean isRunning() {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -56,9 +56,10 @@
|
|||||||
IF 输入.flag = "1"
|
IF 输入.flag = "1"
|
||||||
PAGEQUERY
|
PAGEQUERY
|
||||||
SELECT
|
SELECT
|
||||||
cool.*
|
cool.*, der.description
|
||||||
FROM
|
FROM
|
||||||
st_ivt_coolpointivt cool
|
st_ivt_coolpointivt cool
|
||||||
|
LEFT JOIN PDM_BI_RawFoilWorkOrder der ON cool.container_name = der.container_name
|
||||||
WHERE
|
WHERE
|
||||||
cool.product_area in 输入.in_area_id
|
cool.product_area in 输入.in_area_id
|
||||||
OPTION 输入.point_code <> ""
|
OPTION 输入.point_code <> ""
|
||||||
|
|||||||
@@ -54,9 +54,10 @@
|
|||||||
IF 输入.flag = "1"
|
IF 输入.flag = "1"
|
||||||
PAGEQUERY
|
PAGEQUERY
|
||||||
SELECT
|
SELECT
|
||||||
hot.*
|
hot.*, der.description
|
||||||
FROM
|
FROM
|
||||||
st_ivt_hotpointivt hot
|
st_ivt_hotpointivt hot
|
||||||
|
LEFT JOIN PDM_BI_RawFoilWorkOrder der ON hot.container_name = der.container_name
|
||||||
WHERE
|
WHERE
|
||||||
hot.product_area in 输入.in_area_id
|
hot.product_area in 输入.in_area_id
|
||||||
OPTION 输入.point_location <> ""
|
OPTION 输入.point_location <> ""
|
||||||
|
|||||||
Reference in New Issue
Block a user