Skip to content
切换导航条
切换导航条
当前项目
正在载入...
登录
孙克
/
smf-core
转到一个项目
切换导航栏
切换导航栏固定状态
项目
群组
代码片段
帮助
项目
活动
版本库
流水线
图表
问题
0
合并请求
0
维基
网络
创建新的问题
作业
提交
问题看板
文件
提交
网络
比较
分支
标签
Commit 752330a6
由
LN
编写于
2023-04-03 13:38:16 +0800
浏览文件
选项
浏览文件
标签
下载
电子邮件补丁
差异文件
NL料架:出库任务与料架不一致时增加提示。
1 个父辈
b2c15dd3
隐藏空白字符变更
内嵌
并排
正在显示
6 个修改的文件
包含
22 行增加
和
6 行删除
src/main/java/com/neotel/smfcore/core/device/handler/impl/NLShelfHandler.java
src/main/resources/messages.properties
src/main/resources/messages_en_US.properties
src/main/resources/messages_ja_JP.properties
src/main/resources/messages_zh_CN.properties
src/main/resources/messages_zh_TW.properties
src/main/java/com/neotel/smfcore/core/device/handler/impl/NLShelfHandler.java
查看文件 @
752330a
...
...
@@ -313,7 +313,7 @@ public class NLShelfHandler extends BaseDeviceHandler {
}
}
else
{
//先判断库存中有没有此条码
ResultBean
resultBean
=
outProcess
(
code
,
sourceId
,
loginUser
,
request
);
ResultBean
resultBean
=
outProcess
(
storageId
,
code
,
sourceId
,
loginUser
,
request
);
if
(
resultBean
!=
null
){
return
resultBean
;
}
...
...
@@ -325,7 +325,7 @@ public class NLShelfHandler extends BaseDeviceHandler {
return
ResultBean
.
newOkResult
(
""
);
}
private
ResultBean
outProcess
(
String
code
,
String
sourceId
,
String
loginUser
,
HttpServletRequest
request
){
private
ResultBean
outProcess
(
String
storageId
,
String
code
,
String
sourceId
,
String
loginUser
,
HttpServletRequest
request
){
String
barcodeStr
=
"=1x1="
+
code
;
Barcode
barcode
=
codeResolve
.
resolveOneValideBarcode
(
barcodeStr
);
StoragePos
inPos
=
storagePosManager
.
getByBarcode
(
barcode
.
getBarcode
());
...
...
@@ -341,6 +341,12 @@ public class NLShelfHandler extends BaseDeviceHandler {
return
ResultBean
.
newErrorResult
(
1
,
"smfcore.shelf.error.orderError"
,
"任务与指定工单[{0}]不一致"
,
new
String
[]{
sourceId
});
}
}
//是否是同一个料架
if
(!
task
.
getStorageId
().
equals
(
storageId
)){
Storage
storage
=
dataCache
.
getStorageById
(
storageId
);
return
ResultBean
.
newErrorResult
(
1
,
"smfcore.shelf.error.storageError"
,
"任务与指定料架[{0}]不一致"
,
new
String
[]{
storage
.
getName
()});
}
taskService
.
addTaskToFinished
(
inPos
,
null
,
loginUser
);
opPosLight
(
"close"
,
inPos
,
""
);
log
.
info
(
code
+
" 出库完成, 库位["
+
inPos
.
getPosName
()
+
"]灭灯"
);
...
...
src/main/resources/messages.properties
查看文件 @
752330a
...
...
@@ -339,6 +339,8 @@ smfcore.selfAudit.notExist=\u672A\u627E\u5230\u6279\u6B21\u53F7[{0}]\u7684\u76D8
smfcore.selfAudit.hasEnd
=
[{0}]
\u
76D8
\u
70B9
\u
5DF2
\u
5B8C
\u6210
smfcore.selfAudit.notFind
=
\u
672A
\u
627E
\u5230\u
76D8
\u
70B9
\u
4FE1
\u
606F
smfcore.selfAudit.pause
=
\u
76D8
\u
70B9{0}
\u
5DF2
\u6682\u
505C
smfcore.shelf.error.orderError
=
\u
4EFB
\u
52A1
\u
4E0E
\u6307\u
5B9A
\u
5DE5
\u5355
[{0}]
\u
4E0D
\u
4E00
\u
81F4
smfcore.shelf.error.storageError
=
\u
4EFB
\u
52A1
\u
4E0E
\u6307\u
5B9A
\u6599\u
67B6[{0}]
\u
4E0D
\u
4E00
\u
81F4
#smfclient.nlp.onlyOneTray=\u4E0D\u53EF\u540C\u65F6\u653E\u5165\u591A\u76D8\u7269\u6599:{0}
#smfclient.nlp.cannotFindPos={0}\u672A\u627E\u5230\u5E93\u4F4D:{1}
#smfclient.nlp.inputOk={0}\u5165\u5E93\u5230{1}\u6210\u529F
...
...
src/main/resources/messages_en_US.properties
查看文件 @
752330a
...
...
@@ -337,4 +337,6 @@ smfcore.selfAudit.noStorage=Please select the equipment to be self audit
smfcore.selfAudit.notExist
=
[{0}] self audit information not found
smfcore.selfAudit.hasEnd
=
[{0}] self audit is complete
smfcore.selfAudit.notFind
=
self audit is not found
smfcore.selfAudit.pause
=
self audit {0} has Paused
\ No newline at end of file
smfcore.selfAudit.pause
=
self audit {0} has Paused
smfcore.shelf.error.orderError
=
Task does not match the assigned work order [{0}]
smfcore.shelf.error.storageError
=
Task does not match the specified shelf [{0}]
\ No newline at end of file
src/main/resources/messages_ja_JP.properties
查看文件 @
752330a
...
...
@@ -334,4 +334,6 @@ smfcore.selfAudit.noStorage=\u30A4\u30F3\u30D9\u30F3\u30C8\u30EA\u5316\u3059\u30
smfcore.selfAudit.notExist
=
\u
30ED
\u
30C3
\u
30C8
\u
756A
\u
53F7[{0}]
\u
306E
\u
30A4
\u
30F3
\u
30D9
\u
30F3
\u
30C8
\u
30EA
\u
60C5
\u5831\u
304C
\u
898B
\u3064\u
304B
\u3089\u
306A
\u3044
smfcore.selfAudit.hasEnd
=
[{0}]
\u
30A4
\u
30F3
\u
30D9
\u
30F3
\u
30C8
\u
30EA
\u
30FC
\u
5B8C
\u6210
smfcore.selfAudit.notFind
=
\u
30A4
\u
30F3
\u
30D9
\u
30F3
\u
30C8
\u
30EA
\u
60C5
\u5831\u
304C
\u
898B
\u3064\u
304B
\u3089\u
306A
\u3044
smfcore.selfAudit.pause=
\u
30BB
\u
30EB
\u
30D5
\u
30C6
\u
30B9
\u
30C8{0}
\u
304C
\u
4E2D
\u
65AD
\u3055\u
308C
\u
307E
\u3057\u
305F
\ No newline at end of file
smfcore.selfAudit.pause=
\u
30BB
\u
30EB
\u
30D5
\u
30C6
\u
30B9
\u
30C8{0}
\u
304C
\u
4E2D
\u
65AD
\u3055\u
308C
\u
307E
\u3057\u
305F
smfcore.shelf.error.orderError
=
\u
4EFB
\u
52A1
\u
4E0E
\u6307\u
5B9A
\u
5DE5
\u5355
[{0}]
\u
4E0D
\u
4E00
\u
81F4
smfcore.shelf.error.storageError
=
\u
4EFB
\u
52A1
\u
4E0E
\u6307\u
5B9A
\u6599\u
67B6[{0}]
\u
4E0D
\u
4E00
\u
81F4
\ No newline at end of file
src/main/resources/messages_zh_CN.properties
查看文件 @
752330a
...
...
@@ -334,4 +334,6 @@ smfcore.selfAudit.noStorage=\u8BF7\u9009\u62E9\u8981\u76D8\u70B9\u7684\u8BBE\u59
smfcore.selfAudit.notExist
=
\u
672A
\u
627E
\u5230\u6279\u
6B21
\u
53F7[{0}]
\u7684\u
76D8
\u
70B9
\u
4FE1
\u
606F
smfcore.selfAudit.hasEnd
=
[{0}]
\u
76D8
\u
70B9
\u
5DF2
\u
5B8C
\u6210
smfcore.selfAudit.notFind
=
\u
672A
\u
627E
\u5230\u
76D8
\u
70B9
\u
4FE1
\u
606F
smfcore.selfAudit.pause
=
\u
76D8
\u
70B9{0}
\u
5DF2
\u6682\u
505C
\ No newline at end of file
smfcore.selfAudit.pause
=
\u
76D8
\u
70B9{0}
\u
5DF2
\u6682\u
505C
smfcore.shelf.error.orderError
=
\u
4EFB
\u
52A1
\u
4E0E
\u6307\u
5B9A
\u
5DE5
\u5355
[{0}]
\u
4E0D
\u
4E00
\u
81F4
smfcore.shelf.error.storageError
=
\u
4EFB
\u
52A1
\u
4E0E
\u6307\u
5B9A
\u6599\u
67B6[{0}]
\u
4E0D
\u
4E00
\u
81F4
\ No newline at end of file
src/main/resources/messages_zh_TW.properties
查看文件 @
752330a
...
...
@@ -335,4 +335,6 @@ smfcore.selfAudit.noStorage=\u8ACB\u9078\u64C7\u8981\u76E4\u9EDE\u7684\u8A2D\u50
smfcore.selfAudit.notExist
=
\u
672A
\u
627E
\u5230\u6279\u
6B21
\u
865F[{0}]
\u7684\u
76E4
\u
9EDE
\u
4FE1
\u
606F
smfcore.selfAudit.hasEnd
=
[{0}]
\u
76E4
\u
9EDE
\u
5DF2
\u
5B8C
\u6210
smfcore.selfAudit.notFind
=
\u
672A
\u
627E
\u5230\u
76E4
\u
9EDE
\u
4FE1
\u
606F
smfcore.selfAudit.pause
=
\u
76E4
\u
9EDE{0}
\u
5DF2
\u
66AB
\u
505C
\ No newline at end of file
smfcore.selfAudit.pause
=
\u
76E4
\u
9EDE{0}
\u
5DF2
\u
66AB
\u
505C
smfcore.shelf.error.orderError
=
\u
4EFB
\u
52D9
\u8207\u6307\u
5B9A
\u
5DE5
\u
55AE[{0}]
\u
4E0D
\u
4E00
\u
81F4
smfcore.shelf.error.storageError
=
\u
4EFB
\u
52D9
\u8207\u6307\u
5B9A
\u6599\u
67B6[{0}]
\u
4E0D
\u
4E00
\u
81F4
\ No newline at end of file
编写
预览
支持
Markdown
格式
附加文件
你添加了
0
人
到此讨论。请谨慎行事。
Finish editing this message first!
Cancel
请
注册
或
登录
后发表评论