Skip to content
切换导航条
切换导航条
当前项目
正在载入...
登录
孙克
/
smf-core
转到一个项目
切换导航栏
切换导航栏固定状态
项目
群组
代码片段
帮助
项目
活动
版本库
流水线
图表
问题
0
合并请求
0
维基
网络
创建新的问题
作业
提交
问题看板
文件
提交
网络
比较
分支
标签
Commit 19e57cd6
由
sunke
编写于
2022-11-25 15:12:06 +0800
浏览文件
选项
浏览文件
标签
下载
电子邮件补丁
差异文件
单盘入库页面按最空位数排序
增加入库类型
1 个父辈
2abd90dc
隐藏空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
9 行增加
和
3 行删除
src/main/java/com/neotel/smfcore/core/barcode/service/po/Barcode.java
src/main/java/com/neotel/smfcore/core/device/handler/impl/BaseDeviceHandler.java
src/main/java/com/neotel/smfcore/core/hik/bean/ShelfPosInfo.java
src/main/java/com/neotel/smfcore/hikvision/HikApiCache.java
src/main/java/com/neotel/smfcore/core/barcode/service/po/Barcode.java
查看文件 @
19e57cd
...
...
@@ -147,6 +147,11 @@ public class Barcode extends BasePo implements Serializable {
private
Date
putInDate
;
/**
* 入库类型:1=普通入库,2=并盘入库,3=截料入库,4=退料入库, 5=转储单入库
*/
private
int
putInType
;
/**
* 入库操作人
*/
private
String
inOpor
;
...
...
src/main/java/com/neotel/smfcore/core/device/handler/impl/BaseDeviceHandler.java
查看文件 @
19e57cd
...
...
@@ -627,6 +627,7 @@ public class BaseDeviceHandler implements IDeviceHandler {
if
(
barcode
!=
null
)
{
barcode
.
setUsedCount
(
barcode
.
getUsedCount
()
+
1
);
barcode
.
setPutInTime
(
System
.
currentTimeMillis
());
barcode
.
setPutInType
(
task
.
getInType
());
barcode
.
updateSluggishTime
(
dataCache
.
getPNsluggishDay
(
barcode
.
getPartNumber
()));
barcode
.
setInOpor
(
task
.
getOperator
());
barcode
.
setCheckOutDate
(
null
,
""
);
...
...
src/main/java/com/neotel/smfcore/core/hik/bean/ShelfPosInfo.java
查看文件 @
19e57cd
...
...
@@ -36,7 +36,7 @@ public class ShelfPosInfo implements Serializable ,Comparable<ShelfPosInfo> {
@Override
public
int
compareTo
(
ShelfPosInfo
o
)
{
if
(
this
.
getPosEmptySlots
()
!=
o
.
getPosEmptySlots
())
{
return
this
.
posEmptySlots
-
o
.
getPosEmptySlots
()
;
return
o
.
getPosEmptySlots
()
-
this
.
posEmptySlots
;
}
return
this
.
getId
().
compareTo
(
o
.
getId
());
}
...
...
src/main/java/com/neotel/smfcore/hikvision/HikApiCache.java
查看文件 @
19e57cd
...
...
@@ -104,7 +104,7 @@ public class HikApiCache {
int
failed
=
0
;
for
(
HikApiRequestError
apiRequest
:
failedList
)
{
int
index
=
ok
+
failed
;
resendProcessMsg
=
"共["
+
total
+
"]个重发任务,已重发["
+
index
+
"]个,
其中
成功["
+
ok
+
"]个,NG["
+
failed
+
"]个"
;
resendProcessMsg
=
"共["
+
total
+
"]个重发任务,已重发["
+
index
+
"]个,成功["
+
ok
+
"]个,NG["
+
failed
+
"]个"
;
ResponseParam
responseParam
=
reSendRequest
(
apiRequest
);
if
(
responseParam
!=
null
&&
responseParam
.
getCode
()
==
0
){
ok
=
ok
+
1
;
...
...
@@ -112,7 +112,7 @@ public class HikApiCache {
failed
=
failed
+
1
;
}
index
=
index
+
1
;
resendProcessMsg
=
"共["
+
total
+
"]个重发任务,已重发["
+
index
+
"]个,
其中
成功["
+
ok
+
"]个,NG["
+
failed
+
"]个"
;
resendProcessMsg
=
"共["
+
total
+
"]个重发任务,已重发["
+
index
+
"]个,成功["
+
ok
+
"]个,NG["
+
failed
+
"]个"
;
}
resendProcessMsg
=
""
;
}
...
...
编写
预览
支持
Markdown
格式
附加文件
你添加了
0
人
到此讨论。请谨慎行事。
Finish editing this message first!
Cancel
请
注册
或
登录
后发表评论