Skip to content
切换导航条
切换导航条
当前项目
正在载入...
登录
孙克
/
smf-core
转到一个项目
切换导航栏
切换导航栏固定状态
项目
群组
代码片段
帮助
项目
活动
版本库
流水线
图表
问题
0
合并请求
0
维基
网络
创建新的问题
作业
提交
问题看板
文件
提交
网络
比较
分支
标签
Commit 98ddbcd9
由
zshaohui
编写于
2025-09-16 11:40:29 +0800
浏览文件
选项
浏览文件
标签
下载
电子邮件补丁
差异文件
1.移库问题慢提交
1 个父辈
8fac544b
隐藏空白字符变更
内嵌
并排
正在显示
8 个修改的文件
包含
23 行增加
和
13 行删除
src/main/java/com/neotel/smfcore/core/storage/rest/StoragePosController.java
src/main/java/com/neotel/smfcore/core/system/util/TaskService.java
src/main/java/com/neotel/smfcore/custom/Jkem21481/controller/JkemController.java
src/main/resources/messages.properties
src/main/resources/messages_en_US.properties
src/main/resources/messages_ja_JP.properties
src/main/resources/messages_zh_CN.properties
src/main/resources/messages_zh_TW.properties
src/main/java/com/neotel/smfcore/core/storage/rest/StoragePosController.java
查看文件 @
98ddbcd
...
...
@@ -682,7 +682,8 @@ public class StoragePosController {
header
.
add
(
Lists
.
newArrayList
(
MessageUtils
.
getText
(
"smfcore.storagePos.partNumber"
,
locale
,
"料件编号"
)));
header
.
add
(
Lists
.
newArrayList
(
MessageUtils
.
getText
(
"smfcore.storagePos.plateSize"
,
locale
,
"料盘尺寸"
)));
header
.
add
(
Lists
.
newArrayList
(
MessageUtils
.
getText
(
"smfcore.storagePos.w"
,
locale
,
"直径"
)));
header
.
add
(
Lists
.
newArrayList
(
MessageUtils
.
getText
(
"smfcore.storagePos.h"
,
locale
,
"厚度"
)));
header
.
add
(
Lists
.
newArrayList
(
MessageUtils
.
getText
(
"smfcore.storagePos.h"
,
locale
,
"厚度"
)));
header
.
add
(
Lists
.
newArrayList
(
MessageUtils
.
getText
(
"smfcore.storagePos.lock"
,
locale
,
"是否锁定"
)));
return
header
;
}
...
...
@@ -693,13 +694,17 @@ public class StoragePosController {
List
<
Map
<
String
,
Object
>>
list
=
new
ArrayList
<>();
PageData
<
StoragePos
>
pages
=
storagePosManager
.
findByPage
(
query
,
pageable
);
List
<
StoragePosDto
>
StoragePosDtos
=
storagePosMapper
.
toDto
(
pages
.
getContent
());
Set
<
String
>
allLockPosIds
=
ReelLockPosUtil
.
getAllLockPosIds
();
for
(
int
i
=
0
;
i
<
StoragePosDtos
.
size
();
i
++){
Storage
storage
=
dataCache
.
getStorageById
(
StoragePosDtos
.
get
(
i
).
getStorageId
());
if
(
storage
!=
null
){
StoragePosDtos
.
get
(
i
).
setStorageName
(
storage
.
getName
());
if
(
allLockPosIds
.
contains
(
StoragePosDtos
.
get
(
i
).
getId
())){
StoragePosDtos
.
get
(
i
).
setLock
(
true
);
}
}
}
for
(
StoragePosDto
pos
:
StoragePosDtos
)
{
List
<
Object
>
data
=
new
ArrayList
<>();
data
.
add
(
pos
.
getStorageName
());
...
...
@@ -721,6 +726,7 @@ public class StoragePosController {
}
data
.
add
(
pos
.
getW
());
data
.
add
(
pos
.
getH
());
data
.
add
(
pos
.
isLock
());
dataList
.
add
(
data
);
}
return
dataList
;
...
...
src/main/java/com/neotel/smfcore/core/system/util/TaskService.java
查看文件 @
98ddbcd
...
...
@@ -963,9 +963,9 @@ public class TaskService {
//新增外侧有料,里侧没料,排除里侧的库位信息
List
<
StoragePos
>
allUsePosList
=
new
ArrayList
<>();
List
<
Map
<
String
,
StoragePos
>>
allUsedPosMapList
=
dataCache
.
getAllUsedPosMap
();
for
(
Map
<
String
,
StoragePos
>
map
:
allUsedPosMapList
)
{
for
(
StoragePos
pos
:
map
.
values
())
{
for
(
Storage
storage
:
availbleStorageList
)
{
Map
<
String
,
StoragePos
>
usedPosList
=
dataCache
.
getUsedPosList
(
storage
.
getCid
());
for
(
StoragePos
pos
:
usedPosList
.
values
())
{
allUsePosList
.
add
(
pos
);
}
}
...
...
@@ -975,18 +975,17 @@ public class TaskService {
boolean
hasEndBPos
=
false
;
String
posName_B
=
posName
.
substring
(
0
,
posName
.
length
()
-
1
)
+
"B"
;
for
(
StoragePos
usePos
:
allUsePosList
)
{
if
(
usePos
.
getPosName
().
equals
(
posName_B
))
{
if
(
posName_B
.
equals
(
usePos
.
getPosName
()))
{
hasEndBPos
=
true
;
break
;
}
}
if
(!
hasEndBPos
){
if
(!
hasEndBPos
)
{
needExcludePosName
.
add
(
posName_B
);
}
}
}
//第一遍查找,先不查找有出库任务的料仓
for
(
Storage
storage
:
availbleStorageList
)
{
if
(!
storage
.
isSmdDuo
()){
//DUO料仓无论是否有出库任务,都可以查找空库位
...
...
src/main/java/com/neotel/smfcore/custom/Jkem21481/controller/JkemController.java
查看文件 @
98ddbcd
...
...
@@ -869,7 +869,7 @@ public class JkemController {
public
static
String
generateSecureTimeBasedRandom
(
int
length
)
{
String
ALPHA_NUMERIC
=
"
0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ
"
;
String
ALPHA_NUMERIC
=
"
ZYXWVUTSRQPONMLKJIHGFEDCBA9876543210
"
;
// 使用纳秒级时间作为种子的一部分
long
nanoTime
=
System
.
nanoTime
();
SecureRandom
random
=
new
SecureRandom
();
...
...
src/main/resources/messages.properties
查看文件 @
98ddbcd
...
...
@@ -408,3 +408,4 @@ smfcore.order.quantityAfterIssuance=\u56DE\u5E93\u540E\u6570\u91CF
smfcore.order.lackOfQuantity
=
\u
7F3A
\u
5C11
\u6570\u
91CF
smfcore.barcode.noMatchFeeder
=
\u
51FA
\u6599\u
53E3feeder[{0}]
\u
4E0E
\u
5F53
\u
524D
\u7269\u6599
feeder[{1}]
\u
4E0D
\u5339\u
914D
smf.barcode.msd.noMsdvalidate
=
\u
8BE5
\u7269\u6599\u
4E0D
\u9700\u8981
MSD
\u
7BA1
\u
63A7
\u
4E0D
\u
80FD
\u5728\u
672C
\u6599\u
4ED3
\u5165\u
5E93
smfcore.storagePos.lock
=
\u
662F
\u5426\u9501\u
5B9A
\ No newline at end of file
src/main/resources/messages_en_US.properties
查看文件 @
98ddbcd
...
...
@@ -397,4 +397,5 @@ smfcore.order.quantityIssued =Issued quantity
smfcore.order.quantityAfterIssuance
=
Remaining quantity after issuance
smfcore.order.lackOfQuantity
=
Insufficient Quantity
smfcore.barcode.noMatchFeeder
=
The feeder [{0}] at the outlet does not match the current material feeder [{1}]
smf.barcode.msd.noMsdvalidate
=
This material is not MSD-controlled and cannot be stored in this warehouse
\ No newline at end of file
smf.barcode.msd.noMsdvalidate
=
This material is not MSD-controlled and cannot be stored in this warehouse
smfcore.storagePos.lock
=
Whether to lock
\ No newline at end of file
src/main/resources/messages_ja_JP.properties
查看文件 @
98ddbcd
...
...
@@ -393,4 +393,5 @@ smfcore.order.quantityIssued=\u51FA\u5EAB\u6570\u91CF
smfcore.order.quantityAfterIssuance
=
\u
51FA
\u
5EAB
\u
5F8C
\u
306E
\u6570\u
91CF
smfcore.order.lackOfQuantity
=
\u6570\u
91CF
\u
4E0D
\u
8DB3
smfcore.barcode.noMatchFeeder
=
\u
51FA
\u
529B
\u
53E3
\u
306E
\u
30D5
\u
30A3
\u
30FC
\u
30C0
\u
30FC[{0}]
\u
304C
\u
73FE
\u5728\u
306E
\u6750\u6599\u
30D5
\u
30A3
\u
30FC
\u
30C0
\u
30FC[{1}]
\u3068\u
4E00
\u
81F4
\u3057\u
307E
\u
305B
\u3093
smf.barcode.msd.noMsdvalidate
=
\u3053\u
306E
\u
90E8
\u
54C1
\u
306FMSD
\u
7BA1
\u7406\u
5BFE
\u
8C61
\u5916\u
306E
\u
305F
\u3081\u3001\u3053\u
306E
\u5009\u
5EAB
\u
306B
\u
306F
\u5165\u
5EAB
\u3067\u
304D
\u
307E
\u
305B
\u3093
\ No newline at end of file
smf.barcode.msd.noMsdvalidate
=
\u3053\u
306E
\u
90E8
\u
54C1
\u
306FMSD
\u
7BA1
\u7406\u
5BFE
\u
8C61
\u5916\u
306E
\u
305F
\u3081\u3001\u3053\u
306E
\u5009\u
5EAB
\u
306B
\u
306F
\u5165\u
5EAB
\u3067\u
304D
\u
307E
\u
305B
\u3093
smfcore.storagePos.lock
=
\u
30ED
\u
30C3
\u
30AF
\u3059\u
308B
\u
304B
\u3069\u3046\u
304B
\ No newline at end of file
src/main/resources/messages_zh_CN.properties
查看文件 @
98ddbcd
...
...
@@ -393,4 +393,5 @@ smfcore.order.quantityIssued=\u51FA\u5E93\u6570\u91CF
smfcore.order.quantityAfterIssuance
=
\u
56DE
\u
5E93
\u
540E
\u6570\u
91CF
smfcore.order.lackOfQuantity
=
\u
7F3A
\u
5C11
\u6570\u
91CF
smfcore.barcode.noMatchFeeder
=
\u
51FA
\u6599\u
53E3feeder[{0}]
\u
4E0E
\u
5F53
\u
524D
\u7269\u6599
feeder[{1}]
\u
4E0D
\u5339\u
914D
smf.barcode.msd.noMsdvalidate
=
\u
8BE5
\u7269\u6599\u
4E0D
\u9700\u8981
MSD
\u
7BA1
\u
63A7
\u
4E0D
\u
80FD
\u5728\u
672C
\u6599\u
4ED3
\u5165\u
5E93
\ No newline at end of file
smf.barcode.msd.noMsdvalidate
=
\u
8BE5
\u7269\u6599\u
4E0D
\u9700\u8981
MSD
\u
7BA1
\u
63A7
\u
4E0D
\u
80FD
\u5728\u
672C
\u6599\u
4ED3
\u5165\u
5E93
smfcore.storagePos.lock
=
\u
662F
\u5426\u9501\u
5B9A
\ No newline at end of file
src/main/resources/messages_zh_TW.properties
查看文件 @
98ddbcd
...
...
@@ -393,4 +393,5 @@ smfcore.order.quantityIssued=\u51FA\u5EAB\u6578\u91CF
smfcore.order.quantityAfterIssuance
=
\u
56DE
\u
5EAB
\u
5F8C
\u6578\u
91CF
smfcore.order.lackOfQuantity
=
\u
7F3A
\u
5C11
\u6578\u
91CF
smfcore.barcode.noMatchFeeder
=
\u
51FA
\u6599\u
53E3feeder[{0}]
\u8207\u7576\u
524D
\u7269\u6599
feeder[{1}]
\u
4E0D
\u5339\u
914D
smf.barcode.msd.noMsdvalidate
=
\u
8A72
\u7269\u6599\u
4E0D
\u9700\u8981
MSD
\u
7BA1
\u
63A7
\u
FF0C
\u
4E0D
\u
80FD
\u5728\u
672C
\u6599\u5009\u5165\u
5EAB
\ No newline at end of file
smf.barcode.msd.noMsdvalidate
=
\u
8A72
\u7269\u6599\u
4E0D
\u9700\u8981
MSD
\u
7BA1
\u
63A7
\u
FF0C
\u
4E0D
\u
80FD
\u5728\u
672C
\u6599\u5009\u5165\u
5EAB
smfcore.storagePos.lock
=
\u
662F
\u5426\u9396\u
5B9A
\ No newline at end of file
编写
预览
支持
Markdown
格式
附加文件
你添加了
0
人
到此讨论。请谨慎行事。
Finish editing this message first!
Cancel
请
注册
或
登录
后发表评论