出库下拉选择模具sql优化

main
judy 10 months ago
parent b9af870f71
commit 4b67419dce
  1. 2
      shkj-admin/src/main/resources/application-yun.yml
  2. 2
      shkj-admin/src/main/resources/application.yml
  3. 1
      shkj-wms/src/main/java/com/shkj/wcs/plc/PlcEventTask.java

@ -71,7 +71,7 @@ spring:
# 数据库索引
database: 3
# 密码
password:
password: rvGUoUFAIg4nESp9
# 连接超时时间
timeout: 10s
lettuce:

@ -45,7 +45,7 @@ spring:
# 国际化资源文件路径
basename: i18n/messages
profiles:
active: test
active: yun
# 文件上传
servlet:
multipart:

@ -210,6 +210,7 @@ public class PlcEventTask {
String address = property.getAddress();
businPlcException = new BusinPlcException();
if (pointType.equals("99")) {
log.info("地址:"+address+" 报警内容:"+devpName);
if (pointMap.containsKey(address) && Boolean.valueOf((pointMap.get(address).toString()))) {
businPlcException.setPlcPoint(address);
businPlcException.setExecMsg(MessageUtils.message(devpName));

Loading…
Cancel
Save