Skip to content
切换导航条
切换导航条
当前项目
正在载入...
登录
孙克
/
smf-core
转到一个项目
切换导航栏
切换导航栏固定状态
项目
群组
代码片段
帮助
项目
活动
版本库
流水线
图表
问题
0
合并请求
0
维基
网络
创建新的问题
作业
提交
问题看板
文件
提交
网络
比较
分支
标签
Commit 5ec39e93
由
张少辉
编写于
2025-12-29 10:54:22 +0800
浏览文件
选项
浏览文件
标签
下载
电子邮件补丁
差异文件
1.异常出库提示语想修改
2.uid出库,有任务的时候 提示红色
1 个父辈
09926fa2
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
15 行增加
和
3 行删除
src/main/java/com/neotel/smfcore/core/storage/rest/StoragePosController.java
src/main/java/com/neotel/smfcore/core/storage/rest/dto/StoragePosDto.java
src/main/java/com/neotel/smfcore/custom/luxsan/factory_c/rawstor/controller/CDeviceController.java
src/main/java/com/neotel/smfcore/core/storage/rest/StoragePosController.java
查看文件 @
5ec39e9
...
...
@@ -563,6 +563,7 @@ public class StoragePosController {
Query
query
=
getPosFindCriteria
(
criteria
);
PageData
<
StoragePos
>
pages
=
storagePosManager
.
findByPage
(
query
,
pageable
);
List
<
StoragePosDto
>
StoragePosDtos
=
storagePosMapper
.
toDto
(
pages
.
getContent
());
List
<
DataLog
>
allTasks
=
taskService
.
getAllTasks
();
for
(
StoragePosDto
storagePosDto
:
StoragePosDtos
)
{
BarcodeDto
barcodeDto
=
storagePosDto
.
getBarcode
();
if
(
barcodeDto
!=
null
)
{
...
...
@@ -580,6 +581,15 @@ public class StoragePosController {
barcodeDto
.
setReelAmount
(
0
);
}
}
for
(
DataLog
dataLog
:
allTasks
)
{
if
(
storagePosDto
.
getId
().
equals
(
dataLog
.
getPosId
())){
if
(!
dataLog
.
isFinished
()
&&
!
dataLog
.
isCancel
()){
storagePosDto
.
setHasTask
(
true
);
break
;
}
}
}
}
return
new
PageData
(
StoragePosDtos
,
pages
.
getTotalElements
());
}
...
...
src/main/java/com/neotel/smfcore/core/storage/rest/dto/StoragePosDto.java
查看文件 @
5ec39e9
...
...
@@ -93,4 +93,6 @@ public class StoragePosDto implements Serializable {
@ApiModelProperty
(
"库别"
)
private
String
wareHouseCode
;
private
boolean
hasTask
=
false
;
}
src/main/java/com/neotel/smfcore/custom/luxsan/factory_c/rawstor/controller/CDeviceController.java
查看文件 @
5ec39e9
...
...
@@ -1742,10 +1742,10 @@ public class CDeviceController {
barcode
=
clearCurrentBarcodeInfo
(
barcode
);
barcodeManager
.
save
(
barcode
);
if
(
StringUtils
.
isNotEmpty
(
errorMsg
))
{
return
ResultBean
.
newErrorResult
(-
1
,
""
,
barcode
.
getBarcode
()
+
"通知WMS报错:"
+
errorMsg
+
",SMF库存已经清空,请
手动拿走
,重新入库,不要放到料串上"
);
return
ResultBean
.
newErrorResult
(-
1
,
""
,
barcode
.
getBarcode
()
+
"通知WMS报错:"
+
errorMsg
+
",SMF库存已经清空,请
库存处理后
,重新入库,不要放到料串上"
);
}
//返回给客户端信息
return
ResultBean
.
newErrorResult
(-
1
,
""
,
barcode
.
getBarcode
()
+
"不在当前隔口:"
+
boxPar
+
"中,SMF库存已经清空,请
手动拿走
,重新入库,不要放到料串上"
);
return
ResultBean
.
newErrorResult
(-
1
,
""
,
barcode
.
getBarcode
()
+
"不在当前隔口:"
+
boxPar
+
"中,SMF库存已经清空,请
库存处理后
,重新入库,不要放到料串上"
);
}
else
{
//如果是相同的隔口,判断是否是当前要出库的物料
String
currentBoxStr
=
BoxHandleUtil
.
getBoxStr
(
boxPar
,
true
);
...
...
@@ -1817,7 +1817,7 @@ public class CDeviceController {
barcodeManager
.
save
(
barcode
);
if
(
StringUtils
.
isNotEmpty
(
errorMsg
))
{
return
ResultBean
.
newErrorResult
(-
1
,
""
,
barcode
.
getBarcode
()
+
"通知WMS报错:"
+
errorMsg
+
",SMF库存已经清空,请
手动拿走
,重新入库,不要放到料串上"
);
return
ResultBean
.
newErrorResult
(-
1
,
""
,
barcode
.
getBarcode
()
+
"通知WMS报错:"
+
errorMsg
+
",SMF库存已经清空,请
库存处理后
,重新入库,不要放到料串上"
);
}
Map
<
String
,
String
>
resultMap
=
new
HashMap
<>();
...
...
编写
预览
支持
Markdown
格式
附加文件
你添加了
0
人
到此讨论。请谨慎行事。
Finish editing this message first!
Cancel
请
注册
或
登录
后发表评论