Skip to content
切换导航条
切换导航条
当前项目
正在载入...
登录
孙克
/
smf-core
转到一个项目
切换导航栏
切换导航栏固定状态
项目
群组
代码片段
帮助
项目
活动
版本库
流水线
图表
问题
0
合并请求
0
维基
网络
创建新的问题
作业
提交
问题看板
文件
提交
网络
比较
分支
标签
Commit 802303cc
由
孙克
编写于
2024-05-08 10:39:44 +0800
浏览文件
选项
浏览文件
标签
下载
电子邮件补丁
差异文件
原材料同一个料格增加库别验证
1 个父辈
2725366b
隐藏空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
7 行增加
和
2 行删除
src/main/java/com/neotel/smfcore/custom/luxsan/factory_c/rawstor/controller/CDeviceController.java
src/main/java/com/neotel/smfcore/custom/luxsan/factory_c/wipstor/controller/WipStorCheckOutController.java
src/main/java/com/neotel/smfcore/custom/luxsan/factory_c/rawstor/controller/CDeviceController.java
查看文件 @
802303c
...
@@ -258,7 +258,7 @@ public class CDeviceController {
...
@@ -258,7 +258,7 @@ public class CDeviceController {
if
(
dataLog
.
isPutInTask
())
{
if
(
dataLog
.
isPutInTask
())
{
return
ResultBean
.
newOkResult
(
dataLog
);
return
ResultBean
.
newOkResult
(
dataLog
);
}
else
{
}
else
{
return
ResultBean
.
newErrorResult
(-
1
,
""
,
boxStr
+
"已经有出库任务,请
继续入库
"
);
return
ResultBean
.
newErrorResult
(-
1
,
""
,
boxStr
+
"已经有出库任务,请
先完成出库任务
"
);
}
}
}
}
}
}
...
@@ -547,6 +547,8 @@ public class CDeviceController {
...
@@ -547,6 +547,8 @@ public class CDeviceController {
//将GR日期设置为生产日期
//将GR日期设置为生产日期
Date
grDate
=
DateUtil
.
getNoTimeDate
(
bindGrInfo
.
getGrDate
());
Date
grDate
=
DateUtil
.
getNoTimeDate
(
bindGrInfo
.
getGrDate
());
stackerBarcode
.
setProduceDate
(
grDate
);
stackerBarcode
.
setProduceDate
(
grDate
);
String
warhouseCode
=
MaterialUtil
.
getWarhouseCode
(
stackerId
);
stackerBarcode
.
setWarehouseCode
(
warhouseCode
);
String
[]
binList
=
binListStr
.
split
(
","
);
String
[]
binList
=
binListStr
.
split
(
","
);
for
(
String
binId
:
binList
)
{
for
(
String
binId
:
binList
)
{
...
@@ -555,6 +557,8 @@ public class CDeviceController {
...
@@ -555,6 +557,8 @@ public class CDeviceController {
String
canPutIn
=
canMaterialPutInBin
(
stackerBarcode
,
boxBarcode
,
binId
);
String
canPutIn
=
canMaterialPutInBin
(
stackerBarcode
,
boxBarcode
,
binId
);
if
(
canPutIn
.
isEmpty
()){
if
(
canPutIn
.
isEmpty
()){
validBinList
.
add
(
binId
);
validBinList
.
add
(
binId
);
}
else
{
log
.
info
(
canPutIn
);
}
}
}
}
...
@@ -574,7 +578,7 @@ public class CDeviceController {
...
@@ -574,7 +578,7 @@ public class CDeviceController {
//该料格已放满, 不可以再放料
//该料格已放满, 不可以再放料
return
"料格["
+
binId
+
"]已满,不可放入物料["
+
reelBarcode
.
getBarcode
()+
"]"
;
return
"料格["
+
binId
+
"]已满,不可放入物料["
+
reelBarcode
.
getBarcode
()+
"]"
;
}
}
if
(
BinCacheUtil
.
canPutInBinCode
(
binId
,
reelBarcode
.
getWarehouseCode
()))
{
if
(
!
BinCacheUtil
.
canPutInBinCode
(
binId
,
reelBarcode
.
getWarehouseCode
()))
{
return
"库别["
+
reelBarcode
.
getWarehouseCode
()+
"]不可放入料格["
+
binId
+
"]"
;
return
"库别["
+
reelBarcode
.
getWarehouseCode
()+
"]不可放入料格["
+
binId
+
"]"
;
}
}
List
<
Barcode
>
subCodeList
=
boxBarcode
.
getSubCodeList
();
List
<
Barcode
>
subCodeList
=
boxBarcode
.
getSubCodeList
();
...
...
src/main/java/com/neotel/smfcore/custom/luxsan/factory_c/wipstor/controller/WipStorCheckOutController.java
查看文件 @
802303c
...
@@ -133,6 +133,7 @@ public class WipStorCheckOutController {
...
@@ -133,6 +133,7 @@ public class WipStorCheckOutController {
List
<
FetchShipmentInfoResult
>
resultList
=
LuxsanApi
.
fetchShipmentInfo
(
new
FetchShipmentInfoRequest
(
CommonUtil
.
plantCode
,
odn
));
List
<
FetchShipmentInfoResult
>
resultList
=
LuxsanApi
.
fetchShipmentInfo
(
new
FetchShipmentInfoRequest
(
CommonUtil
.
plantCode
,
odn
));
for
(
FetchShipmentInfoResult
result
:
resultList
)
{
for
(
FetchShipmentInfoResult
result
:
resultList
)
{
LiteOrderItem
orderItem
=
new
LiteOrderItem
();
LiteOrderItem
orderItem
=
new
LiteOrderItem
();
orderItem
.
setPn
(
result
.
getMATERIAL_CODE
());
orderItem
.
setRtvId
(
result
.
getRTV_ID
());
orderItem
.
setRtvId
(
result
.
getRTV_ID
());
orderItem
.
setPlantCode
(
result
.
getPLANT_CODE
());
orderItem
.
setPlantCode
(
result
.
getPLANT_CODE
());
orderItem
.
setTicketCode
(
result
.
getTICKET_CODE
());
orderItem
.
setTicketCode
(
result
.
getTICKET_CODE
());
...
...
编写
预览
支持
Markdown
格式
附加文件
你添加了
0
人
到此讨论。请谨慎行事。
Finish editing this message first!
Cancel
请
注册
或
登录
后发表评论