Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
D
device-back
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
1
议题
1
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
Matrix
device-back
Commits
917dd642
提交
917dd642
authored
2月 25, 2021
作者:
邓砥奕
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
更新
上级
ecac129d
隐藏空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
10 行增加
和
8 行删除
+10
-8
DeviceInLibVo.java
...tykj/dev/device/confirmcheck/entity/vo/DeviceInLibVo.java
+1
-1
DeviceNotInLibVo.java
...j/dev/device/confirmcheck/entity/vo/DeviceNotInLibVo.java
+1
-1
ObjTransUtil.java
.../com/tykj/dev/device/confirmcheck/utils/ObjTransUtil.java
+2
-5
StatisticalController.java
...ykj/dev/statistical/controller/StatisticalController.java
+6
-1
没有找到文件。
dev-confirmcheck/src/main/java/com/tykj/dev/device/confirmcheck/entity/vo/DeviceInLibVo.java
浏览文件 @
917dd642
...
@@ -36,7 +36,7 @@ public class DeviceInLibVo {
...
@@ -36,7 +36,7 @@ public class DeviceInLibVo {
private
int
invisibleRange
;
private
int
invisibleRange
;
private
int
styl
e
;
private
int
typ
e
;
private
int
secretLevel
;
private
int
secretLevel
;
}
}
dev-confirmcheck/src/main/java/com/tykj/dev/device/confirmcheck/entity/vo/DeviceNotInLibVo.java
浏览文件 @
917dd642
...
@@ -37,7 +37,7 @@ public class DeviceNotInLibVo {
...
@@ -37,7 +37,7 @@ public class DeviceNotInLibVo {
private
int
invisibleRange
;;
private
int
invisibleRange
;;
private
int
styl
e
;
private
int
typ
e
;
private
int
secretLevel
;
private
int
secretLevel
;
...
...
dev-confirmcheck/src/main/java/com/tykj/dev/device/confirmcheck/utils/ObjTransUtil.java
浏览文件 @
917dd642
...
@@ -10,7 +10,6 @@ import com.tykj.dev.device.confirmcheck.entity.vo.*;
...
@@ -10,7 +10,6 @@ import com.tykj.dev.device.confirmcheck.entity.vo.*;
import
com.tykj.dev.device.library.repository.DeviceLibraryDao
;
import
com.tykj.dev.device.library.repository.DeviceLibraryDao
;
import
com.tykj.dev.device.library.subject.domin.DeviceLibrary
;
import
com.tykj.dev.device.library.subject.domin.DeviceLibrary
;
import
com.tykj.dev.device.packing.service.PackingLibraryService
;
import
com.tykj.dev.device.packing.service.PackingLibraryService
;
import
com.tykj.dev.device.packing.subject.domin.PackingLibrary
;
import
com.tykj.dev.device.task.repository.TaskDao
;
import
com.tykj.dev.device.task.repository.TaskDao
;
import
com.tykj.dev.device.task.service.TaskService
;
import
com.tykj.dev.device.task.service.TaskService
;
import
com.tykj.dev.device.task.subject.domin.Task
;
import
com.tykj.dev.device.task.subject.domin.Task
;
...
@@ -308,7 +307,6 @@ public class ObjTransUtil {
...
@@ -308,7 +307,6 @@ public class ObjTransUtil {
}
}
public
DeviceInLibVo
toCheckInLibVo
(
DeviceLibrary
device
,
int
proofResult
)
{
public
DeviceInLibVo
toCheckInLibVo
(
DeviceLibrary
device
,
int
proofResult
)
{
PackingLibrary
packingLibrary
=
packingLibraryService
.
getOne
(
device
.
getPackingId
());
return
new
DeviceInLibVo
(
return
new
DeviceInLibVo
(
device
.
getId
(),
device
.
getId
(),
device
.
getModel
(),
device
.
getModel
(),
...
@@ -319,13 +317,12 @@ public class ObjTransUtil {
...
@@ -319,13 +317,12 @@ public class ObjTransUtil {
device
.
getRfidCardId
(),
device
.
getRfidCardId
(),
proofResult
,
proofResult
,
device
.
getInvisibleRange
(),
device
.
getInvisibleRange
(),
packingLibrary
.
getStyl
e
(),
device
.
getTyp
e
(),
device
.
getSecretLevel
()
device
.
getSecretLevel
()
);
);
}
}
public
DeviceNotInLibVo
toCheckNotInLibVo
(
DeviceLibrary
device
)
{
public
DeviceNotInLibVo
toCheckNotInLibVo
(
DeviceLibrary
device
)
{
PackingLibrary
packingLibrary
=
packingLibraryService
.
getOne
(
device
.
getPackingId
());
return
new
DeviceNotInLibVo
(
return
new
DeviceNotInLibVo
(
device
.
getId
(),
device
.
getId
(),
device
.
getModel
(),
device
.
getModel
(),
...
@@ -338,7 +335,7 @@ public class ObjTransUtil {
...
@@ -338,7 +335,7 @@ public class ObjTransUtil {
device
.
getOwnUnit
(),
device
.
getOwnUnit
(),
device
.
getLifeStatus
(),
device
.
getLifeStatus
(),
device
.
getInvisibleRange
(),
device
.
getInvisibleRange
(),
packingLibrary
.
getStyl
e
(),
device
.
getTyp
e
(),
device
.
getSecretLevel
()
device
.
getSecretLevel
()
);
);
}
}
...
...
dev-statistical/src/main/java/com/tykj/dev/statistical/controller/StatisticalController.java
浏览文件 @
917dd642
...
@@ -194,7 +194,12 @@ public class StatisticalController {
...
@@ -194,7 +194,12 @@ public class StatisticalController {
DeviceStatistics
deviceStatistics
=
new
DeviceStatistics
();
DeviceStatistics
deviceStatistics
=
new
DeviceStatistics
();
deviceStatistics
.
setModel
(
strings
[
0
]);
deviceStatistics
.
setModel
(
strings
[
0
]);
// deviceStatistics.setName(strings[1]);
// deviceStatistics.setName(strings[1]);
deviceStatistics
.
setType
(
Integer
.
valueOf
(
strings
[
1
]));
if
(
"null"
.
equals
(
strings
[
1
])){
deviceStatistics
.
setType
(
null
);
}
else
{
deviceStatistics
.
setType
(
Integer
.
valueOf
(
strings
[
1
]));
}
deviceStatistics
.
setNum
(
map
.
get
(
s
).
size
());
deviceStatistics
.
setNum
(
map
.
get
(
s
).
size
());
deviceStatistics
.
setDeviceIds
(
map
.
get
(
s
).
stream
().
map
(
DeviceLibrary:
:
getId
).
collect
(
Collectors
.
toList
()));
deviceStatistics
.
setDeviceIds
(
map
.
get
(
s
).
stream
().
map
(
DeviceLibrary:
:
getId
).
collect
(
Collectors
.
toList
()));
deviceStatisticsList
.
add
(
deviceStatistics
);
deviceStatisticsList
.
add
(
deviceStatistics
);
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论