Skip to content
切换导航条
切换导航条
当前项目
正在载入...
登录
孙克
/
smf-core
转到一个项目
切换导航栏
切换导航栏固定状态
项目
群组
代码片段
帮助
项目
活动
版本库
流水线
图表
问题
0
合并请求
0
维基
网络
创建新的问题
作业
提交
问题看板
文件
提交
网络
比较
分支
标签
Commit 35bc2d24
由
zshaohui
编写于
2025-04-23 13:11:24 +0800
浏览文件
选项
浏览文件
标签
下载
电子邮件补丁
差异文件
1.出入库通知mes地址修改
2.对接接料机修改
1 个父辈
7a31efad
隐藏空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
19 行增加
和
14 行删除
src/main/java/com/neotel/smfcore/core/order/LiteOrderCache.java
src/main/java/com/neotel/smfcore/custom/lizhen/third/maicheng/controller/MaiZhengController.java
src/main/resources/config/application-21088prod.yml
src/main/resources/config/application-21088test.yml
src/main/java/com/neotel/smfcore/core/order/LiteOrderCache.java
查看文件 @
35bc2d2
...
...
@@ -668,19 +668,23 @@ public class LiteOrderCache {
String
model
=
orderItem
.
getModel
();
if
(
StringUtils
.
isEmpty
(
model
))
{
//C02-3FSMT-18,C02-3FSMT-19,C02-3FSMT-09,C02-3FSMT-08
if
(
"C02-3FSMT-18"
.
equals
(
cacheOrder
.
getLine
())
||
"C02-3FSMT-19"
.
equals
(
cacheOrder
.
getLine
())
||
"C02-3FSMT-08"
.
equals
(
cacheOrder
.
getLine
())
||
"C02-3FSMT-09"
.
equals
(
cacheOrder
.
getLine
())
)
{
model
=
"X8"
;
String
orderLine
=
cacheOrder
.
getLine
();
if
(
StringUtils
.
isNotEmpty
(
orderLine
))
{
if
(
orderLine
.
startsWith
(
"C02-3FSMT-18"
)
||
orderLine
.
startsWith
(
"C02-3FSMT-19"
)
||
orderLine
.
startsWith
(
"C02-3FSMT-08"
)
||
orderLine
.
startsWith
(
"C02-3FSMT-09"
))
{
model
=
"X8"
;
}
else
{
model
=
"EVEREST"
;
}
}
else
{
model
=
"EVEREST"
;
}
}
//如果是迈征工单,不是满料,不出库
if
(
cacheOrder
.
isMaiZheng
()){
/*
if (cacheOrder.isMaiZheng()){
Barcode barcode = pos.getBarcode();
BrandQtyResult result = lizhenApi.brandQty(new BrandQtyRequest(barcode.getPartNumber(), barcode.getProvider()));
int qty = result.getQty();
...
...
@@ -688,7 +692,7 @@ public class LiteOrderCache {
if (qty != barcode.getAmount()){
throw new ValidateException("",barcode.getBarcode()+"不是满卷数量,不允许出库");
}
}
}
*/
List
<
String
>
batchCheckReel
=
lizhenApi
.
batchCheckReel
(
Arrays
.
asList
(
pos
.
getBarcode
()),
""
,
model
);
if
(
batchCheckReel
!=
null
&&
!
batchCheckReel
.
isEmpty
()){
...
...
src/main/java/com/neotel/smfcore/custom/lizhen/third/maicheng/controller/MaiZhengController.java
查看文件 @
35bc2d2
...
...
@@ -150,6 +150,7 @@ public class MaiZhengController {
liteOrder
.
setCount
(
askReelBox
.
getCount
());
liteOrder
.
setStartTime
(
askReelBox
.
getStartTime
());
liteOrder
.
setMaiZheng
(
true
);
liteOrder
.
setServerId
(
askReelBox
.
getServerId
());
liteOrder
=
liteOrderManager
.
save
(
liteOrder
);
...
...
src/main/resources/config/application-21088prod.yml
查看文件 @
35bc2d2
...
...
@@ -14,11 +14,11 @@ api:
barcodeInfoUrl
:
http://10.68.25.42:8001/Sct/GetReelInfo
#入库
save2DReelInfoUrl
:
http://10.68.2
7.68
:8002/SmtAutoWH/Save2DReelInfo
save2DReelInfoUrl
:
http://10.68.2
5.40
:8002/SmtAutoWH/Save2DReelInfo
#发料
commonGIRecordUrl
:
http://10.68.2
7.68
:8002/Sct/CommonGIRecord
commonGIRecordUrl
:
http://10.68.2
5.40
:8002/Sct/CommonGIRecord
#退料
commonRMRecordUrl
:
http://10.68.2
7.68
:8002/Sct/CommonRMRecord
commonRMRecordUrl
:
http://10.68.2
5.40
:8002/Sct/CommonRMRecord
#获取有限期
getInDateUrl
:
http://10.68.30.22:8082/api/mes/GetInDate
#散料是否量测
...
...
src/main/resources/config/application-21088test.yml
查看文件 @
35bc2d2
...
...
@@ -15,11 +15,11 @@ api:
barcodeInfoUrl
:
http://10.68.25.42:8001/Sct/GetReelInfo
#入库
save2DReelInfoUrl
:
http://10.68.2
7.68
:8002/SmtAutoWH/Save2DReelInfo
save2DReelInfoUrl
:
http://10.68.2
5.40
:8002/SmtAutoWH/Save2DReelInfo
#发料
commonGIRecordUrl
:
http://10.68.2
7.68
:8002/Sct/CommonGIRecord
commonGIRecordUrl
:
http://10.68.2
5.40
:8002/Sct/CommonGIRecord
#退料
commonRMRecordUrl
:
http://10.68.2
7.68
:8002/Sct/CommonRMRecord
commonRMRecordUrl
:
http://10.68.2
5.40
:8002/Sct/CommonRMRecord
#获取有限期
getInDateUrl
:
http://10.42.220.171:8082/api/mes/GetInDate
#散料是否量测
...
...
编写
预览
支持
Markdown
格式
附加文件
你添加了
0
人
到此讨论。请谨慎行事。
Finish editing this message first!
Cancel
请
注册
或
登录
后发表评论