Skip to content
切换导航条
切换导航条
当前项目
正在载入...
登录
孙克
/
smf-core
转到一个项目
切换导航栏
切换导航栏固定状态
项目
群组
代码片段
帮助
项目
活动
版本库
流水线
图表
问题
0
合并请求
0
维基
网络
创建新的问题
作业
提交
问题看板
文件
提交
网络
比较
分支
标签
Commit 4e7e8545
由
zshaohui
编写于
2024-08-07 16:29:48 +0800
浏览文件
选项
浏览文件
标签
下载
电子邮件补丁
差异文件
一键导入功能修改
1 个父辈
a926e363
隐藏空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
41 行增加
和
51 行删除
src/main/java/com/neotel/smfcore/core/language/util/MessageUtils.java
src/main/java/com/neotel/smfcore/core/order/LiteOrderCache.java
src/main/java/com/neotel/smfcore/custom/lizhen/report/inner/InnerReportController.java
src/main/resources/config/application.yml
src/main/java/com/neotel/smfcore/core/language/util/MessageUtils.java
查看文件 @
4e7e854
...
...
@@ -142,7 +142,7 @@ public class MessageUtils {
// log.info("获取资源[" + msgKey + "][" + defaultMsg + "][" + lanType + "]失败:未找到code[" + msgKey + "]对应语言[" + lanType + "]");
return
msg
.
getMsg
();
}
log
.
info
(
"获取资源["
+
msgKey
+
"]["
+
defaultMsg
+
"]["
+
lanType
+
"]失败:未找到code["
+
msgKey
+
"]"
);
//
log.info("获取资源[" + msgKey + "][" + defaultMsg + "][" + lanType + "]失败:未找到code[" + msgKey + "]");
}
return
defaultMsg
;
}
...
...
src/main/java/com/neotel/smfcore/core/order/LiteOrderCache.java
查看文件 @
4e7e854
...
...
@@ -176,7 +176,7 @@ public class LiteOrderCache {
String
result
=
checkOutLiteOrder
(
order
.
getOrderNo
(),
false
);
if
(!
ObjectUtil
.
isEmpty
(
result
))
{
String
msg
=
MessageUtils
.
getText
(
result
,
MessageUtils
.
getDefaultLocal
(),
""
);
log
.
info
(
"自动执行工单 【"
+
order
.
getOrderNo
()
+
"】 失败:"
+
msg
);
//
log.info("自动执行工单 【" + order.getOrderNo() + "】 失败:" + msg);
}
else
{
log
.
info
(
"自动执行工单 【"
+
order
.
getOrderNo
()
+
"】 成功"
);
break
;
...
...
src/main/java/com/neotel/smfcore/custom/lizhen/report/inner/InnerReportController.java
查看文件 @
4e7e854
...
...
@@ -197,8 +197,8 @@ public class InnerReportController {
}
}
else
{
resultMap
.
put
(
F2
,
F2
);
resultMap
.
put
(
F3
,
F3
);
resultMap
.
put
(
F5
,
F5
);
//
resultMap.put(F3, F3);
//
resultMap.put(F5, F5);
}
return
ResultBean
.
newOkResult
(
resultMap
);
}
...
...
@@ -209,17 +209,13 @@ public class InnerReportController {
public
ResultBean
linePullDown
(
String
floor
)
{
//得到每一个楼层的线体
String
f2Line
=
dataCache
.
getCache
(
"F2Line"
).
toString
();
String
f3Line
=
dataCache
.
getCache
(
"F3Line"
).
toString
();
String
f5Line
=
dataCache
.
getCache
(
"F5Line"
).
toString
();
//
String f3Line = dataCache.getCache("F3Line").toString();
//
String f5Line = dataCache.getCache("F5Line").toString();
String
resultLine
=
""
;
if
(
F2
.
equals
(
floor
))
{
resultLine
=
f2Line
;
}
else
if
(
F3
.
equals
(
floor
))
{
resultLine
=
f3Line
;
}
else
if
(
F5
.
equals
(
floor
))
{
resultLine
=
f5Line
;
}
else
{
resultLine
=
f2Line
+
","
+
f3Line
+
","
+
f5Line
;
}
else
{
resultLine
=
f2Line
;
}
Map
<
String
,
String
>
resultMap
=
new
LinkedHashMap
<>();
for
(
String
line
:
resultLine
.
split
(
","
))
{
...
...
src/main/resources/config/application.yml
查看文件 @
4e7e854
...
...
@@ -3,57 +3,51 @@ server:
api
:
name
:
Lizhen
inCheckUrl
:
#http://172.30.170.148:8001/Npm/WmsCheckReelfob #禁用料
batchCheckUrl
:
#http://172.30.60.117:8001/Npm/WmsCheckReelfob_Batch #批量禁用料
outNotifyUrl
:
#http://172.30.170.148:8082/SmtAutoWH/Save2DReelInfo #保存物料(外仓配置)
outNotifyUrlPK
:
#http://172.30.170.148:8001/Sct/SaveReelInfo #PK发料保存(外仓配置)
inNotifyUrl
:
#http://172.30.170.148:8082/SmtAutoWH/Save2DReelInfo #保存物料(内仓配置)
fetchOrderUrl
:
#http://172.30.170.148:8082/SmtAutoWH/GetWoPickingList #获取工单
barcodeInfoUrl
:
#http://172.30.170.148:8001/Sct/GetReelInfo #mes数量
fetchGRUrl
:
#http://10.42.25.199:8082/api/wcs/fetchGR #gr标签
brandQtyUrl
:
#http://172.30.170.199:8082/api/wcs/brandQty #gr标签满卷数
importUrl
:
#http://172.30.150.83:8001/smf-core/ext/forward/getDataLogs #内仓导入外仓picking虚拟仓数据
checkReelMeasure
:
#http://172.30.60.117:8001/Sct/CheckReelMeasure #外仓散料仓量测接口
getInDateUrl
:
http://172.30.170.199:8082/api/Mes/GetInDate
plant
:
W337
werks
:
W337
outerFactory
:
B15
inCheckUrl
:
batchCheckUrl
:
outNotifyUrl
:
outNotifyUrlPK
:
inNotifyUrl
:
fetchOrderUrl
:
barcodeInfoUrl
:
fetchGRUrl
:
brandQtyUrl
:
importUrl
:
http://10.68.27.83/smf-core/ext/getDatalogs
#虚拟仓从1F导入数据接口
checkReelMeasure
:
getInDateUrl
:
plant
:
werks
:
outerFactory
:
#缺料预警对应的地址
lizhen
:
F2
:
name
:
2
F
line
:
A05-2FSMT-16S,A05-2FSMT-17S,A05-2FSMT-06S,A05-2FSMT-07S
url
:
http://1
72.30.88.19:800
1/smf-core/api/Mes/machineCallMaterial
name
:
1
F
line
:
C03-1FSMT-01,C03-1FSMT-11,C03-1FSMT-02,C03-1FSMT-12
url
:
http://1
27.0.0.
1/smf-core/api/Mes/machineCallMaterial
F3
:
name
:
3F
line
:
A05-3FSMT-04S,A05-3FSMT-14S,A05-3FSMT-15S,A05-3FSMT-05S
url
:
http://172.30.97.99:8001/smf-core/api/Mes/machineCallMaterial
name
:
line
:
url
:
F5
:
name
:
5F
line
:
A05-5FSMT-13S,A05-5FSMT-03S,A05-5FSMT-02S,A05-5FSMT-12S,A05-5FSMT-01S,A05-5FSMT-11S
#,A05-5FARF-06
url
:
http://172.30.97.63:8001/smf-core/api/Mes/machineCallMaterial
name
:
line
:
url
:
#转发地址
forward
:
f2
:
name
:
2F
url
:
http://172.30.88.19:8001/smf-core
name
:
url
:
f3
:
name
:
3F
url
:
http://172.30.97.99:8001/smf-core
name
:
url
:
f5
:
name
:
5F
url
:
http://172.30.97.63:8001/smf-core
name
:
url
:
b15
:
name
:
B15
url
:
http://10.42.176.209:8001/smf-core
#url: http://10.42.23.23:8001/smf-core
name
:
url
:
...
...
@@ -90,5 +84,5 @@ app:
type
:
"
"
menu
:
show
:
#expiredMaintenance
show
:
imDetailsReport,feeding,virWarehous
hide
:
\ No newline at end of file
编写
预览
支持
Markdown
格式
附加文件
你添加了
0
人
到此讨论。请谨慎行事。
Finish editing this message first!
Cancel
请
注册
或
登录
后发表评论