Skip to content
切换导航条
切换导航条
当前项目
正在载入...
登录
孙克
/
smf-core
转到一个项目
切换导航栏
切换导航栏固定状态
项目
群组
代码片段
帮助
项目
活动
版本库
流水线
图表
问题
0
合并请求
0
维基
网络
创建新的问题
作业
提交
问题看板
文件
提交
网络
比较
分支
标签
Commit 53c553a0
由
LN
编写于
2024-12-13 16:26:21 +0800
浏览文件
选项
浏览文件
标签
下载
电子邮件补丁
差异文件
COMPLETE改为COMPLETED
1 个父辈
3f7a3aa9
显示空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
4 行增加
和
5 行删除
src/main/java/com/neotel/smfcore/core/order/LiteOrderCache.java
src/main/java/com/neotel/smfcore/custom/micron1053/api/MicronApi.java
src/main/java/com/neotel/smfcore/custom/micron1053/loading/LoadingController.java
src/main/java/com/neotel/smfcore/core/order/LiteOrderCache.java
查看文件 @
53c553a
...
...
@@ -456,7 +456,7 @@ public class LiteOrderCache {
log
.
info
(
" mode="
+
order
.
getMode
()
+
"的出库已结束,清空 key="
+
key
+
" 的cache,更改action=COMPLETE"
);
dataCache
.
updateCache
(
key
,
""
);
MicronApi
.
ActionUpdate
(
order
.
getOperationId
(),
MicronApi
.
COMPLETE
);
MicronApi
.
ActionUpdate
(
order
.
getOperationId
(),
MicronApi
.
COMPLETE
D
);
}
clearOrderLock
(
order
);
}
...
...
src/main/java/com/neotel/smfcore/custom/micron1053/api/MicronApi.java
查看文件 @
53c553a
...
...
@@ -31,7 +31,7 @@ import java.util.*;
public
class
MicronApi
{
// 每个流程开始时发START,流程正常结束发COMPLETE,流程异常结束发ABORT
public
static
String
START
=
"START"
;
public
static
String
COMPLETE
=
"COMPLETE
"
;
public
static
String
COMPLETE
D
=
"COMPLETED
"
;
public
static
String
ABORT
=
"ABORT"
;
...
...
@@ -764,7 +764,7 @@ public class MicronApi {
if
(
Debug
)
{
for
(
Barcode
barcode
:
barcodeList
)
{
resultMap
.
put
(
barcode
.
getBarcode
(),
new
MaterialStatus
(
barcode
.
getBarcode
(),
barcode
.
getPartNumber
(),
""
,
""
,
true
,
"
Available
"
));
resultMap
.
put
(
barcode
.
getBarcode
(),
new
MaterialStatus
(
barcode
.
getBarcode
(),
barcode
.
getPartNumber
(),
""
,
""
,
true
,
"
Reserved
"
));
}
return
resultMap
;
}
...
...
src/main/java/com/neotel/smfcore/custom/micron1053/loading/LoadingController.java
查看文件 @
53c553a
...
...
@@ -36,7 +36,6 @@ import org.springframework.beans.factory.annotation.Autowired;
import
org.springframework.web.bind.annotation.*
;
import
javax.servlet.http.HttpServletRequest
;
import
java.lang.reflect.Array
;
import
java.util.*
;
@Slf4j
...
...
@@ -309,7 +308,7 @@ public class LoadingController {
}
else
{
if
(
inList
.
getStatus
()
==
INLIST_STATUS
.
OK
){
log
.
info
(
" 入库单["
+
inList
.
getName
()
+
"]:任务已全部完成,清空当前loadinginfo,更改action=COMPLETE"
);
MicronApi
.
ActionUpdate
(
inList
.
getOperationId
(),
MicronApi
.
COMPLETE
);
MicronApi
.
ActionUpdate
(
inList
.
getOperationId
(),
MicronApi
.
COMPLETE
D
);
dataCache
.
updateCache
(
Constants
.
CACHE_LOADING
,
new
LoadingInfo
());
return
ResultBean
.
newOkResult
(
""
);
}
...
...
编写
预览
支持
Markdown
格式
附加文件
你添加了
0
人
到此讨论。请谨慎行事。
Finish editing this message first!
Cancel
请
注册
或
登录
后发表评论