Skip to content
切换导航条
切换导航条
当前项目
正在载入...
登录
孙克
/
smf-core
转到一个项目
切换导航栏
切换导航栏固定状态
项目
群组
代码片段
帮助
项目
活动
版本库
流水线
图表
问题
0
合并请求
0
维基
网络
创建新的问题
作业
提交
问题看板
文件
提交
网络
比较
分支
标签
Commit 53978168
由
zshaohui
编写于
2024-06-26 17:26:27 +0800
浏览文件
选项
浏览文件
标签
下载
电子邮件补丁
差异文件
转库问题和储位移转修改
1 个父辈
aa88fe0d
显示空白字符变更
内嵌
并排
正在显示
5 个修改的文件
包含
7 行增加
和
6 行删除
src/main/java/com/neotel/smfcore/custom/lizhen/agvBox/rest/OutLineController.java
src/main/java/com/neotel/smfcore/custom/luxsan/api/LuxsanApi.java
src/main/java/com/neotel/smfcore/custom/luxsan/api/bean/request/BinMoveRequest.java
src/main/java/com/neotel/smfcore/custom/luxsan/factory_c/rawstor/controller/CDeviceController.java
src/main/java/com/neotel/smfcore/custom/luxsan/factory_c/rawstor/controller/TicketController.java
src/main/java/com/neotel/smfcore/custom/lizhen/agvBox/rest/OutLineController.java
查看文件 @
5397816
...
...
@@ -676,7 +676,7 @@ public class OutLineController {
labelList
.
add
(
tickPick
);
request
.
setLABEL_LIST
(
labelList
);
LuxsanApi
.
ticketPick
(
request
);
LuxsanApi
.
ticketPost
(
new
TicketPostRequest
(
CommonUtil
.
plantCode
,
orderItem
.
getTicketCode
()));
//
LuxsanApi.ticketPost(new TicketPostRequest(CommonUtil.plantCode,orderItem.getTicketCode()));
}
else
if
(
liteOrder
.
getCheckType
()
==
LiteorderCheckType
.
PICKING_CHECKOUT
){
...
...
src/main/java/com/neotel/smfcore/custom/luxsan/api/LuxsanApi.java
查看文件 @
5397816
...
...
@@ -322,7 +322,6 @@ public class LuxsanApi extends DefaultSmfApiListener {
log
.
error
(
"ticketPost请求失败:"
+
e
.
getMessage
());
throw
new
ValidateException
(
"smfcore.api.error"
,
"接口请求失败[{0}]"
,
new
String
[]{
e
.
getMessage
()});
}
throw
new
ValidateException
(
"smfcore.api.error"
,
"接口请求失败[{0}]"
,
new
String
[]{
"未找到对应的单据挑料信息"
});
}
...
...
src/main/java/com/neotel/smfcore/custom/luxsan/api/bean/request/BinMoveRequest.java
查看文件 @
5397816
...
...
@@ -19,4 +19,6 @@ public class BinMoveRequest {
private
int
QTY
;
private
String
LABEL_ID
;
}
src/main/java/com/neotel/smfcore/custom/luxsan/factory_c/rawstor/controller/CDeviceController.java
查看文件 @
5397816
...
...
@@ -221,12 +221,12 @@ public class CDeviceController {
//储位移转
else
if
(
MaterialUtil
.
storTransfer
(
materialStr
)){
BinMoveResult
binMoveResult
=
LuxsanApi
.
binMove
(
new
BinMoveRequest
(
CommonUtil
.
plantCode
,
binCodeStr
,
Arrays
.
asList
(
barcode
.
getBarcode
()),
barcode
.
getAmount
()));
BinMoveResult
binMoveResult
=
LuxsanApi
.
binMove
(
new
BinMoveRequest
(
CommonUtil
.
plantCode
,
binCodeStr
,
Arrays
.
asList
(
barcode
.
getBarcode
()),
barcode
.
getAmount
()
,
barcode
.
getLabelId
()
));
if
(
StringUtils
.
isNotEmpty
(
binMoveResult
.
getGR_DATE
())){
Date
grDate
=
DateUtil
.
getNoTimeDate
(
binMoveResult
.
getGR_DATE
());
barcode
.
setProduceDate
(
grDate
);
}
barcode
.
setLabelId
(
binMoveResult
.
getLABEL_ID
());
//
barcode.setLabelId(binMoveResult.getLABEL_ID());
}
//311单据转库
...
...
@@ -246,7 +246,7 @@ public class CDeviceController {
labelList
.
add
(
tickPick
);
request
.
setLABEL_LIST
(
labelList
);
LuxsanApi
.
ticketPick
(
request
);
LuxsanApi
.
ticketPost
(
new
TicketPostRequest
(
CommonUtil
.
plantCode
,
transfer
.
getTicket
()));
//
LuxsanApi.ticketPost(new TicketPostRequest(CommonUtil.plantCode,transfer.getTicket()));
}
//单据退库上架
...
...
src/main/java/com/neotel/smfcore/custom/luxsan/factory_c/rawstor/controller/TicketController.java
查看文件 @
5397816
...
...
@@ -231,7 +231,7 @@ public class TicketController {
String
srcWarehouseCode
=
paramMap
.
get
(
"srcWarehouseCode"
);
//来源库别
String
codeStr
=
paramMap
.
get
(
"codeStr"
);
//料盘信息
log
.
info
(
"单据
退料
绑定信息为:"
+
JSON
.
toJSONString
(
paramMap
));
log
.
info
(
"单据
转库
绑定信息为:"
+
JSON
.
toJSONString
(
paramMap
));
//判断料串信息是否正确
if
(
StringUtils
.
isEmpty
(
materialStr
)
||
!
materialStr
.
startsWith
(
"B00"
))
{
...
...
编写
预览
支持
Markdown
格式
附加文件
你添加了
0
人
到此讨论。请谨慎行事。
Finish editing this message first!
Cancel
请
注册
或
登录
后发表评论