Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
D
device-back
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
1
议题
1
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
Matrix
device-back
Commits
9c475259
提交
9c475259
authored
3月 10, 2021
作者:
133
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[清退] 培训、模版代码提交
上级
5489b836
隐藏空白字符变更
内嵌
并排
正在显示
5 个修改的文件
包含
5 行增加
和
8 行删除
+5
-8
DeviceRepelDetailServiceImpl.java
...e/sendback/service/impl/DeviceRepelDetailServiceImpl.java
+1
-1
RepelQueryServiceImpl.java
...v/device/sendback/service/impl/RepelQueryServiceImpl.java
+4
-4
TrainThemeServiceImpl.java
.../dev/device/train/service/impl/TrainThemeServiceImpl.java
+0
-1
bill2.html
dev-union/src/main/resources/bill2.html
+0
-2
allatori-annotations.jar
dev-union/src/main/resources/lib/allatori-annotations.jar
+0
-0
没有找到文件。
dev-sendback/src/main/java/com/tykj/dev/device/sendback/service/impl/DeviceRepelDetailServiceImpl.java
浏览文件 @
9c475259
...
...
@@ -91,7 +91,7 @@ public class DeviceRepelDetailServiceImpl implements DeviceRepelDetailService {
List
<
String
>
idListString
=
idStringList
.
stream
().
filter
(
list2
->!
list2
.
equals
(
""
)).
collect
(
Collectors
.
toList
());
System
.
out
.
println
(
idListString
);
List
<
Integer
>
devIds
=
idListString
.
stream
().
map
(
Integer:
:
parseInt
).
collect
(
Collectors
.
toList
());
return
deviceLibraryDao
.
getDeviceLibraryEntitiesByIdIn
(
devIds
);
return
deviceLibraryDao
.
getDeviceLibraryEntitiesByIdIn
(
devIds
)
.
stream
().
map
(
DeviceLibrary:
:
setConfigName
).
collect
(
Collectors
.
toList
())
;
}
else
{
return
new
ArrayList
<>();
}
...
...
dev-sendback/src/main/java/com/tykj/dev/device/sendback/service/impl/RepelQueryServiceImpl.java
浏览文件 @
9c475259
...
...
@@ -97,7 +97,7 @@ public class RepelQueryServiceImpl implements RepelQueryService {
@Override
public
List
<
ModelNameGroup
>
toRepelList
(
RepelManagementVo
repelManagementVo
)
{
Units
units
=
unitsService
.
findById
(
repelManagementVo
.
getUnitId
());
return
toModelNameGroup
(
deviceLibraryDao
.
findAllByOwnUnitAndLocationUnitAndLifeStatus
(
units
.
getName
(),
units
.
getName
(),
DeviceLifeStatus
.
REPEL
.
id
).
stream
().
filter
(
deviceLibrary
->
deviceLibrary
.
getUpdateTime
()==
null
||(
deviceLibrary
.
getUpdateTime
().
getTime
()>=
repelManagementVo
.
getTime
()&&
deviceLibrary
.
getUpdateTime
().
getTime
()<=
repelManagementVo
.
getEndTime
())).
collect
(
Collectors
.
toList
()));
return
toModelNameGroup
(
deviceLibraryDao
.
findAllByOwnUnitAndLocationUnitAndLifeStatus
(
units
.
getName
(),
units
.
getName
(),
DeviceLifeStatus
.
REPEL
.
id
).
stream
().
map
(
DeviceLibrary:
:
setConfigName
).
filter
(
deviceLibrary
->
deviceLibrary
.
getUpdateTime
()==
null
||(
deviceLibrary
.
getUpdateTime
().
getTime
()>=
repelManagementVo
.
getTime
()&&
deviceLibrary
.
getUpdateTime
().
getTime
()<=
repelManagementVo
.
getEndTime
())).
collect
(
Collectors
.
toList
()));
}
private
List
<
ModelNameGroup
>
toModelNameGroup
(
List
<
DeviceLibrary
>
deviceLibraries
){
...
...
@@ -163,7 +163,7 @@ public class RepelQueryServiceImpl implements RepelQueryService {
DeviceRepelDetail
deviceRepelDetail
=
repelDetailService
.
findDeviceRepelDetailNoDev
(
taskBto
.
getBillId
());
DeviceRepel
deviceRepel
=
deviceRepelService
.
findDeviceRepel
(
deviceRepelDetail
.
getRepelId
());
List
<
String
>
unitNames
=
unitsService
.
finAllDirectlUnderUnits
().
stream
().
map
(
Units:
:
getName
).
collect
(
Collectors
.
toList
());
return
deviceLibraryDao
.
findAllByPackingIdInAndOwnUnitIn
(
StringUtils
.
stringToList
(
deviceRepel
.
getFielding
()),
unitNames
);
return
deviceLibraryDao
.
findAllByPackingIdInAndOwnUnitIn
(
StringUtils
.
stringToList
(
deviceRepel
.
getFielding
()),
unitNames
)
.
stream
().
map
(
DeviceLibrary:
:
setConfigName
).
collect
(
Collectors
.
toList
())
;
}
...
...
@@ -216,7 +216,7 @@ public class RepelQueryServiceImpl implements RepelQueryService {
if
(
deviceRepelDetail
.
getOutboundFile
()!=
null
){
deviceRepelDetail
.
setOutboundFiles
(
FilesUtil
.
stringFileToList
(
deviceRepelDetail
.
getOutboundFile
()));
}
deviceRepelDetail
.
setDeviceLibraryEntities
(
deviceLibraryDao
.
findAllById
(
StringUtils
.
stringToList
(
deviceRepelDetail
.
getDeviceIds
())));
deviceRepelDetail
.
setDeviceLibraryEntities
(
deviceLibraryDao
.
findAllById
(
StringUtils
.
stringToList
(
deviceRepelDetail
.
getDeviceIds
()))
.
stream
().
map
(
DeviceLibrary:
:
setConfigName
).
collect
(
Collectors
.
toList
())
);
list
.
add
(
deviceRepelDetail
);
}
);
...
...
@@ -233,7 +233,7 @@ public class RepelQueryServiceImpl implements RepelQueryService {
List
<
String
>
idListString
=
idStringList
.
stream
().
filter
(
list2
->!
list2
.
equals
(
""
)).
collect
(
Collectors
.
toList
());
System
.
out
.
println
(
idListString
);
List
<
Integer
>
devIds
=
idListString
.
stream
().
map
(
Integer:
:
parseInt
).
collect
(
Collectors
.
toList
());
return
deviceLibraryDao
.
getDeviceLibraryEntitiesByIdIn
(
devIds
);
return
deviceLibraryDao
.
getDeviceLibraryEntitiesByIdIn
(
devIds
)
.
stream
().
map
(
DeviceLibrary:
:
setConfigName
).
collect
(
Collectors
.
toList
())
;
}
else
{
return
new
ArrayList
<>();
}
...
...
dev-train/src/main/java/com/tykj/dev/device/train/service/impl/TrainThemeServiceImpl.java
浏览文件 @
9c475259
...
...
@@ -184,7 +184,6 @@ public class TrainThemeServiceImpl implements TrainThemeService {
all
.
getContent
().
forEach
(
trainTheme
->
{
if
(
trainTheme
!=
null
)
{
log
.
info
(
"train id{}"
,
trainTheme
.
getTrainId
());
TaskBto
taskBto
=
trainTaskService
.
selectFatherIsNullAndBillidAndBillType
(
trainTheme
.
getTrainId
(),
BusinessEnum
.
TRAIN
.
id
);
TrainThemeVo
trainThemeVo
=
trainTheme
.
toTrainThemeVo
();
trainThemeVo
.
setTaskId
(
taskBto
.
getId
());
...
...
dev-union/src/main/resources/bill2.html
浏览文件 @
9c475259
...
...
@@ -139,8 +139,6 @@
</style>
</head>
<body>
<div
class=
"returnTablePrint"
>
<div
class=
"content"
>
<div>
...
...
dev-union/src/main/resources/lib/allatori-annotations.jar
0 → 100644
浏览文件 @
9c475259
File added
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论