Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
D
device-back
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
1
议题
1
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
Matrix
device-back
Commits
ea1331d3
提交
ea1331d3
authored
11月 02, 2021
作者:
zhoushaopan
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
feat(装备申请模块,装备配发模块.装备退回,装备维修,装备自查,装备使用报告): 新增单位id字段
新增单位id字段
上级
35dd4398
全部展开
隐藏空白字符变更
内嵌
并排
正在显示
30 个修改的文件
包含
385 行增加
和
19 行删除
+385
-19
AllotBillController.java
...tykj/dev/device/allot/controller/AllotBillController.java
+0
-0
BackController.java
.../com/tykj/dev/device/allot/controller/BackController.java
+0
-0
AllotBackBill.java
...om/tykj/dev/device/allot/subject/domin/AllotBackBill.java
+9
-0
AllotBill.java
...va/com/tykj/dev/device/allot/subject/domin/AllotBill.java
+9
-0
AllotBillSaveVo.java
...com/tykj/dev/device/allot/subject/vo/AllotBillSaveVo.java
+9
-1
DeviceApplyController.java
...kj/dev/device/apply/controller/DeviceApplyController.java
+36
-8
DeviceApplyBill.java
.../tykj/dev/device/apply/subject/domin/DeviceApplyBill.java
+6
-0
DeviceApplySaveVo.java
...m/tykj/dev/device/apply/subject/vo/DeviceApplySaveVo.java
+6
-0
UploadApplyFile.java
...com/tykj/dev/device/apply/subject/vo/UploadApplyFile.java
+3
-0
RepairController.java
...m/tykj/dev/device/repair/controller/RepairController.java
+0
-0
RepairDetailServiceImpl.java
...v/device/repair/service/impl/RepairDetailServiceImpl.java
+4
-1
RepairBackBill.java
.../tykj/dev/device/repair/subject/domin/RepairBackBill.java
+6
-0
RepairBill.java
.../com/tykj/dev/device/repair/subject/domin/RepairBill.java
+6
-0
RepairDetail.java
...om/tykj/dev/device/repair/subject/domin/RepairDetail.java
+6
-0
RepairSendBill.java
.../tykj/dev/device/repair/subject/domin/RepairSendBill.java
+6
-0
RepairBackBillSaveVo.java
...kj/dev/device/repair/subject/vo/RepairBackBillSaveVo.java
+6
-0
RepairBillSaveVo.java
...m/tykj/dev/device/repair/subject/vo/RepairBillSaveVo.java
+8
-0
SelfCheckSchedulerTask.java
...ykj/dev/device/selfcheck/base/SelfCheckSchedulerTask.java
+1
-0
SelfCheckController.java
.../dev/device/selfcheck/controller/SelfCheckController.java
+11
-1
SelfCheckBill.java
...ykj/dev/device/selfcheck/subject/domin/SelfCheckBill.java
+3
-0
CacheConfig.java
...main/java/com/tykj/dev/statistical/cache/CacheConfig.java
+6
-1
BigScreenServiceImpl.java
...kj/dev/statistical/service/impl/BigScreenServiceImpl.java
+9
-1
StatisticalServiceImpl.java
.../dev/statistical/service/impl/StatisticalServiceImpl.java
+27
-4
DataInit.java
dev-union/src/main/java/com/tykj/dev/union/DataInit.java
+201
-0
UserPublicService.java
...kj/dev/device/user/subject/service/UserPublicService.java
+0
-1
UserPublicServiceImpl.java
...vice/user/subject/service/impl/UserPublicServiceImpl.java
+1
-0
DeviceUseReportController.java
...evice/usereport/controller/DeviceUseReportController.java
+2
-1
DeviceUseReportServiceImpl.java
...ce/usereport/service/impl/DeviceUseReportServiceImpl.java
+0
-0
DeviceUseReport.java
...j/dev/device/usereport/subject/domin/DeviceUseReport.java
+2
-0
DeviceUseReportDetailVo.java
.../device/usereport/subject/vo/DeviceUseReportDetailVo.java
+2
-0
没有找到文件。
dev-allot/src/main/java/com/tykj/dev/device/allot/controller/AllotBillController.java
浏览文件 @
ea1331d3
差异被折叠。
点击展开。
dev-allot/src/main/java/com/tykj/dev/device/allot/controller/BackController.java
浏览文件 @
ea1331d3
差异被折叠。
点击展开。
dev-allot/src/main/java/com/tykj/dev/device/allot/subject/domin/AllotBackBill.java
浏览文件 @
ea1331d3
...
@@ -15,6 +15,7 @@ import org.springframework.data.annotation.LastModifiedDate;
...
@@ -15,6 +15,7 @@ import org.springframework.data.annotation.LastModifiedDate;
import
org.springframework.data.jpa.domain.support.AuditingEntityListener
;
import
org.springframework.data.jpa.domain.support.AuditingEntityListener
;
import
javax.persistence.*
;
import
javax.persistence.*
;
import
javax.validation.constraints.NotNull
;
import
java.util.ArrayList
;
import
java.util.ArrayList
;
import
java.util.Date
;
import
java.util.Date
;
import
java.util.List
;
import
java.util.List
;
...
@@ -51,9 +52,17 @@ public class AllotBackBill {
...
@@ -51,9 +52,17 @@ public class AllotBackBill {
@ApiModelProperty
(
value
=
"发件单位"
)
@ApiModelProperty
(
value
=
"发件单位"
)
private
String
sendUnit
;
private
String
sendUnit
;
@NotNull
(
message
=
"sendUnit不能为空"
)
@ApiModelProperty
(
value
=
"发送单位Id"
)
private
Integer
sendUnitId
;
@ApiModelProperty
(
value
=
"收件单位"
)
@ApiModelProperty
(
value
=
"收件单位"
)
private
String
receiveUnit
;
private
String
receiveUnit
;
@NotNull
(
message
=
"sendUnit不能为空"
)
@ApiModelProperty
(
value
=
"接受单位id"
)
private
Integer
receiveUnitId
;
@ApiModelProperty
(
value
=
"发件签发人"
)
@ApiModelProperty
(
value
=
"发件签发人"
)
private
String
agent
;
private
String
agent
;
...
...
dev-allot/src/main/java/com/tykj/dev/device/allot/subject/domin/AllotBill.java
浏览文件 @
ea1331d3
...
@@ -15,6 +15,7 @@ import org.springframework.data.annotation.LastModifiedDate;
...
@@ -15,6 +15,7 @@ import org.springframework.data.annotation.LastModifiedDate;
import
org.springframework.data.jpa.domain.support.AuditingEntityListener
;
import
org.springframework.data.jpa.domain.support.AuditingEntityListener
;
import
javax.persistence.*
;
import
javax.persistence.*
;
import
javax.validation.constraints.NotNull
;
import
java.util.ArrayList
;
import
java.util.ArrayList
;
import
java.util.Date
;
import
java.util.Date
;
import
java.util.List
;
import
java.util.List
;
...
@@ -59,11 +60,19 @@ public class AllotBill {
...
@@ -59,11 +60,19 @@ public class AllotBill {
*/
*/
@ApiModelProperty
(
value
=
"配发单位"
)
@ApiModelProperty
(
value
=
"配发单位"
)
private
String
sendUnit
;
private
String
sendUnit
;
@NotNull
(
message
=
"sendUnitId不能为空"
)
@ApiModelProperty
(
value
=
"发送单位Id"
)
private
Integer
sendUnitId
;
/**
/**
* 收件单位
* 收件单位
*/
*/
@ApiModelProperty
(
value
=
"收件单位"
)
@ApiModelProperty
(
value
=
"收件单位"
)
private
String
receiveUnit
;
private
String
receiveUnit
;
@NotNull
(
message
=
"sendUnitId不能为空"
)
@ApiModelProperty
(
value
=
"接受单位id"
)
private
Integer
receiveUnitId
;
/**
/**
* 配发时间
* 配发时间
*/
*/
...
...
dev-allot/src/main/java/com/tykj/dev/device/allot/subject/vo/AllotBillSaveVo.java
浏览文件 @
ea1331d3
...
@@ -39,13 +39,21 @@ public class AllotBillSaveVo {
...
@@ -39,13 +39,21 @@ public class AllotBillSaveVo {
private
String
replayNumber
;
private
String
replayNumber
;
@NotNull
(
message
=
"sendUnit不能为空"
)
@NotNull
(
message
=
"sendUnit不能为空"
)
@ApiModelProperty
(
value
=
"
配发
单位"
)
@ApiModelProperty
(
value
=
"
发送
单位"
)
private
String
sendUnit
;
private
String
sendUnit
;
@NotNull
(
message
=
"sendUnit不能为空"
)
@ApiModelProperty
(
value
=
"发送单位Id"
)
private
Integer
sendUnitId
;
@NotNull
(
message
=
"receiveUnit不能为空"
)
@NotNull
(
message
=
"receiveUnit不能为空"
)
@ApiModelProperty
(
value
=
"接收单位"
)
@ApiModelProperty
(
value
=
"接收单位"
)
private
String
receiveUnit
;
private
String
receiveUnit
;
@NotNull
(
message
=
"sendUnit不能为空"
)
@ApiModelProperty
(
value
=
"接受单位id"
)
private
Integer
receiveUnitId
;
// @NotNull(message = "sendUserbId不能为空")
// @NotNull(message = "sendUserbId不能为空")
// @Min(value = 1,message = "sendUserbId不能小于1")
// @Min(value = 1,message = "sendUserbId不能小于1")
@ApiModelProperty
(
value
=
"发件方(B岗位)"
)
@ApiModelProperty
(
value
=
"发件方(B岗位)"
)
...
...
dev-apply/src/main/java/com/tykj/dev/device/apply/controller/DeviceApplyController.java
浏览文件 @
ea1331d3
...
@@ -177,21 +177,35 @@ public class DeviceApplyController {
...
@@ -177,21 +177,35 @@ public class DeviceApplyController {
userIds
.
add
(
userId
);
userIds
.
add
(
userId
);
userIds
.
add
(
deviceApplySaveVo
.
getReplyUseraId
());
userIds
.
add
(
deviceApplySaveVo
.
getReplyUseraId
());
//DEVICE_APPLY_CONFIRM 装备申请待批复
//DEVICE_APPLY_CONFIRM 装备申请待批复
taskBto
=
new
TaskBto
(
StatusEnum
.
DEVICE_APPLY_CONFIRM
.
id
,
title
,
null
,
"."
,
deviceApplyBillEntity
.
getId
(),
9
,
userPublicService
.
findUnitIdByName
(
deviceApplySaveVo
.
getReplyUnit
()),
1
,
null
,
userIds
);
// taskBto = new TaskBto(StatusEnum.DEVICE_APPLY_CONFIRM.id, title, null, ".",
// deviceApplyBillEntity.getId(), 9,
// userPublicService.findUnitIdByName(deviceApplySaveVo.getReplyUnit()), 1,
// null, userIds);
taskBto
=
new
TaskBto
(
StatusEnum
.
DEVICE_APPLY_CONFIRM
.
id
,
title
,
null
,
"."
,
deviceApplyBillEntity
.
getId
(),
9
,
deviceApplySaveVo
.
getReplyUnitId
(),
1
,
null
,
userIds
);
}
}
//不指定批复人
//不指定批复人
else
{
else
{
List
<
Integer
>
userIds
=
new
ArrayList
<>();
List
<
Integer
>
userIds
=
new
ArrayList
<>();
userIds
.
add
(
userId
);
userIds
.
add
(
userId
);
userIds
.
add
(
0
);
userIds
.
add
(
0
);
taskBto
=
new
TaskBto
(
StatusEnum
.
DEVICE_APPLY_CONFIRM
.
id
,
title
,
null
,
"."
,
deviceApplyBillEntity
.
getId
(),
9
,
userPublicService
.
findUnitIdByName
(
deviceApplySaveVo
.
getReplyUnit
()),
1
,
null
,
userIds
);
// taskBto = new TaskBto(StatusEnum.DEVICE_APPLY_CONFIRM.id, title, null, ".",
// deviceApplyBillEntity.getId(), 9,
// userPublicService.findUnitIdByName(deviceApplySaveVo.getReplyUnit()), 1, null, userIds);
taskBto
=
new
TaskBto
(
StatusEnum
.
DEVICE_APPLY_CONFIRM
.
id
,
title
,
null
,
"."
,
deviceApplyBillEntity
.
getId
(),
9
,
deviceApplySaveVo
.
getReplyUnitId
(),
1
,
null
,
userIds
);
}
}
}
}
TaskBto
taskBto1
=
taskService
.
start
(
taskBto
);
TaskBto
taskBto1
=
taskService
.
start
(
taskBto
);
//发送阅知信息
//发送阅知信息
List
<
Integer
>
userIds
=
userPublicService
.
findOtherUser
(
userId
);
List
<
Integer
>
userIds
=
userPublicService
.
findOtherUser
(
userId
);
if
(
userUtils
.
getCurrentUnitLevel
()!=
1
)
{
if
(
userUtils
.
getCurrentUnitLevel
()!=
1
)
{
userIds
.
addAll
(
userDao
.
findAllByUnitsId
(
userPublicService
.
findUnitIdByName
(
deviceApplyBillEntity
.
getReplyUnit
())).
stream
()
// userIds.addAll(userDao.findAllByUnitsId(userPublicService.findUnitIdByName(deviceApplyBillEntity.getReplyUnit())).stream()
// .map(User::getUserId)
// .collect(Collectors.toList()));
userIds
.
addAll
(
userDao
.
findAllByUnitsId
(
deviceApplyBillEntity
.
getReplyUnitId
()).
stream
()
.
map
(
User:
:
getUserId
)
.
map
(
User:
:
getUserId
)
.
collect
(
Collectors
.
toList
()));
.
collect
(
Collectors
.
toList
()));
}
}
...
@@ -228,7 +242,10 @@ public class DeviceApplyController {
...
@@ -228,7 +242,10 @@ public class DeviceApplyController {
applyBillEntity
.
setReplyUseraId
(
userId
);
applyBillEntity
.
setReplyUseraId
(
userId
);
//阅知用户Id
//阅知用户Id
List
<
Integer
>
ids
=
userPublicService
.
findOtherUser
(
userId
);
List
<
Integer
>
ids
=
userPublicService
.
findOtherUser
(
userId
);
ids
.
addAll
(
userDao
.
findAllByUnitsId
(
userPublicService
.
findUnitIdByName
(
applyBillEntity
.
getApplyUnit
())).
stream
()
// ids.addAll(userDao.findAllByUnitsId(userPublicService.findUnitIdByName(applyBillEntity.getApplyUnit())).stream()
// .map(User::getUserId)
// .collect(Collectors.toList()));
ids
.
addAll
(
userDao
.
findAllByUnitsId
(
applyBillEntity
.
getApplyUnitId
()).
stream
()
.
map
(
User:
:
getUserId
)
.
map
(
User:
:
getUserId
)
.
collect
(
Collectors
.
toList
()));
.
collect
(
Collectors
.
toList
()));
//如果修改了批复文号
//如果修改了批复文号
...
@@ -296,7 +313,7 @@ public class DeviceApplyController {
...
@@ -296,7 +313,7 @@ public class DeviceApplyController {
allotBillEntity
.
setSendUnit
(
deviceApplyBillEntity
.
getReplyUnit
());
allotBillEntity
.
setSendUnit
(
deviceApplyBillEntity
.
getReplyUnit
());
allotBillEntity
.
setReceiveUnit
(
deviceApplyBillEntity
.
getApplyUnit
());
allotBillEntity
.
setReceiveUnit
(
deviceApplyBillEntity
.
getApplyUnit
());
allotBillEntity
.
setSendTime
(
new
Date
());
allotBillEntity
.
setSendTime
(
new
Date
());
allotBillEntity
.
setAllotType
(
2
);
//?????
allotBillEntity
.
setAllotType
(
2
);
allotBillEntity
.
setAllotStatus
(
2
);
//配发中
allotBillEntity
.
setAllotStatus
(
2
);
//配发中
//判断单据是否为空
//判断单据是否为空
if
(
deviceApplyAllotSaveVo
.
getScriptSaveVos
()!=
null
)
{
if
(
deviceApplyAllotSaveVo
.
getScriptSaveVos
()!=
null
)
{
...
@@ -326,12 +343,18 @@ public class DeviceApplyController {
...
@@ -326,12 +343,18 @@ public class DeviceApplyController {
taskBto
.
setBillId
(
allotBill
.
getId
());
taskBto
.
setBillId
(
allotBill
.
getId
());
//配发业务移动到下一阶段 配发中
//配发业务移动到下一阶段 配发中
TaskBto
taskBto1
=
taskService
.
moveToSpecial
(
taskBto
,
StatusEnum
.
ALLOTING
);
TaskBto
taskBto1
=
taskService
.
moveToSpecial
(
taskBto
,
StatusEnum
.
ALLOTING
);
taskBto1
.
setOwnUnit
(
userPublicService
.
findUnitIdByName
(
allotBill
.
getReceiveUnit
()));
// taskBto1.setOwnUnit(userPublicService.findUnitIdByName(allotBill.getReceiveUnit()));
taskBto1
.
setOwnUnit
(
allotBill
.
getReceiveUnitId
());
Task
saveEntity
=
taskService
.
update
(
taskBto1
);
Task
saveEntity
=
taskService
.
update
(
taskBto1
);
List
<
Integer
>
userIds2
=
new
ArrayList
<>();
List
<
Integer
>
userIds2
=
new
ArrayList
<>();
userIds2
.
add
(
userId
);
userIds2
.
add
(
userId
);
userIds2
.
add
(
0
);
userIds2
.
add
(
0
);
TaskBto
taskBto2
=
new
TaskBto
(
StatusEnum
.
WAIT_UPLOAD_ALLOT_FILE
.
id
,
"配发单据"
,
saveEntity
.
getId
(),
saveEntity
.
getNodeIdDetail
()+
saveEntity
.
getId
()+
"."
,
saveEntity
.
getBillId
(),
3
,
userPublicService
.
findUnitIdByName
(
allotBillEntity
.
getSendUnit
()),
0
,
null
,
userIds2
);
// TaskBto taskBto2 = new TaskBto(StatusEnum.WAIT_UPLOAD_ALLOT_FILE.id, "配发单据", saveEntity.getId(),
// saveEntity.getNodeIdDetail()+saveEntity.getId()+".", saveEntity.getBillId(), 3,
// userPublicService.findUnitIdByName(allotBillEntity.getSendUnit()), 0, null, userIds2);
TaskBto
taskBto2
=
new
TaskBto
(
StatusEnum
.
WAIT_UPLOAD_ALLOT_FILE
.
id
,
"配发单据"
,
saveEntity
.
getId
(),
saveEntity
.
getNodeIdDetail
()+
saveEntity
.
getId
()+
"."
,
saveEntity
.
getBillId
(),
3
,
allotBillEntity
.
getSendUnitId
(),
0
,
null
,
userIds2
);
taskService
.
start
(
taskBto2
);
taskService
.
start
(
taskBto2
);
//添加业务日志
//添加业务日志
List
<
FileVo
>
fileVoList
=
new
ArrayList
<>();
List
<
FileVo
>
fileVoList
=
new
ArrayList
<>();
...
@@ -356,7 +379,10 @@ public class DeviceApplyController {
...
@@ -356,7 +379,10 @@ public class DeviceApplyController {
inputOutputDeviceService
.
addWhiteDevices
(
ids
,
userUtils
.
getCurrentUnitId
(),
1
);
inputOutputDeviceService
.
addWhiteDevices
(
ids
,
userUtils
.
getCurrentUnitId
(),
1
);
//发送阅知信息
//发送阅知信息
List
<
Integer
>
userIds
=
userPublicService
.
findOtherUser
(
userId
);
List
<
Integer
>
userIds
=
userPublicService
.
findOtherUser
(
userId
);
userIds
.
addAll
(
userDao
.
findAllByUnitsId
(
userPublicService
.
findUnitIdByName
(
allotBillEntity
.
getReceiveUnit
())).
stream
()
// userIds.addAll(userDao.findAllByUnitsId(userPublicService.findUnitIdByName(allotBillEntity.getReceiveUnit())).stream()
// .map(User::getUserId)
// .collect(Collectors.toList()));
userIds
.
addAll
(
userDao
.
findAllByUnitsId
(
allotBillEntity
.
getReceiveUnitId
()).
stream
()
.
map
(
User:
:
getUserId
)
.
map
(
User:
:
getUserId
)
.
collect
(
Collectors
.
toList
()));
.
collect
(
Collectors
.
toList
()));
if
(
deviceApplyAllotSaveVo
.
getSendUserbId
()!=
null
)
{
if
(
deviceApplyAllotSaveVo
.
getSendUserbId
()!=
null
)
{
...
@@ -456,6 +482,7 @@ public class DeviceApplyController {
...
@@ -456,6 +482,7 @@ public class DeviceApplyController {
//add
//add
deviceApplyBill
.
setAgent
(
uploadApplyFile
.
getAgent
());
deviceApplyBill
.
setAgent
(
uploadApplyFile
.
getAgent
());
deviceApplyBill
.
setReplyUnit
(
uploadApplyFile
.
getReplyUnit
());
deviceApplyBill
.
setReplyUnit
(
uploadApplyFile
.
getReplyUnit
());
deviceApplyBill
.
setReplyUnitId
(
uploadApplyFile
.
getReplyUnitId
());
deviceApplyBillService
.
update
(
deviceApplyBill
);
deviceApplyBillService
.
update
(
deviceApplyBill
);
}
}
else
{
else
{
...
@@ -521,6 +548,7 @@ public class DeviceApplyController {
...
@@ -521,6 +548,7 @@ public class DeviceApplyController {
//add
//add
deviceApplyBill
.
setAgent
(
uploadApplyFile
.
getAgent
());
deviceApplyBill
.
setAgent
(
uploadApplyFile
.
getAgent
());
deviceApplyBill
.
setReplyUnit
(
uploadApplyFile
.
getReplyUnit
());
deviceApplyBill
.
setReplyUnit
(
uploadApplyFile
.
getReplyUnit
());
deviceApplyBill
.
setReplyUnitId
(
uploadApplyFile
.
getReplyUnitId
());
DeviceApplyBill
deviceApplyBill1
=
deviceApplyBillService
.
update
(
deviceApplyBill
);
DeviceApplyBill
deviceApplyBill1
=
deviceApplyBillService
.
update
(
deviceApplyBill
);
if
(
deviceApplyBill
.
getApplyType
()
>
1
)
{
if
(
deviceApplyBill
.
getApplyType
()
>
1
)
{
...
...
dev-apply/src/main/java/com/tykj/dev/device/apply/subject/domin/DeviceApplyBill.java
浏览文件 @
ea1331d3
...
@@ -60,11 +60,17 @@ public class DeviceApplyBill {
...
@@ -60,11 +60,17 @@ public class DeviceApplyBill {
*/
*/
@ApiModelProperty
(
value
=
"申请单位"
)
@ApiModelProperty
(
value
=
"申请单位"
)
private
String
applyUnit
;
private
String
applyUnit
;
@ApiModelProperty
(
value
=
"申请单位ID"
)
private
Integer
applyUnitId
;
/**
/**
* 批复单位
* 批复单位
*/
*/
@ApiModelProperty
(
value
=
"批复单位"
)
@ApiModelProperty
(
value
=
"批复单位"
)
private
String
replyUnit
;
private
String
replyUnit
;
@ApiModelProperty
(
value
=
"批复单位Id"
)
private
Integer
replyUnitId
;
/**
/**
* 经办人
* 经办人
*/
*/
...
...
dev-apply/src/main/java/com/tykj/dev/device/apply/subject/vo/DeviceApplySaveVo.java
浏览文件 @
ea1331d3
...
@@ -38,10 +38,16 @@ public class DeviceApplySaveVo {
...
@@ -38,10 +38,16 @@ public class DeviceApplySaveVo {
@ApiModelProperty
(
value
=
"申请单位"
)
@ApiModelProperty
(
value
=
"申请单位"
)
private
String
applyUnit
;
private
String
applyUnit
;
@ApiModelProperty
(
value
=
"申请单位id"
)
private
Integer
applyUnitId
;
@NotNull
(
message
=
"replyUnit不能为空"
)
@NotNull
(
message
=
"replyUnit不能为空"
)
@ApiModelProperty
(
value
=
"批复单位"
)
@ApiModelProperty
(
value
=
"批复单位"
)
private
String
replyUnit
;
private
String
replyUnit
;
@ApiModelProperty
(
value
=
"批复单位"
)
private
Integer
replyUnitId
;
@ApiModelProperty
(
value
=
"经办人"
)
@ApiModelProperty
(
value
=
"经办人"
)
private
String
agent
;
private
String
agent
;
...
...
dev-apply/src/main/java/com/tykj/dev/device/apply/subject/vo/UploadApplyFile.java
浏览文件 @
ea1331d3
...
@@ -44,6 +44,9 @@ public class UploadApplyFile {
...
@@ -44,6 +44,9 @@ public class UploadApplyFile {
*/
*/
@ApiModelProperty
(
value
=
"批复单位"
)
@ApiModelProperty
(
value
=
"批复单位"
)
private
String
replyUnit
;
private
String
replyUnit
;
@ApiModelProperty
(
value
=
"批复单位Id"
)
private
Integer
replyUnitId
;
/**
/**
* 经办人
* 经办人
*/
*/
...
...
dev-repair/src/main/java/com/tykj/dev/device/repair/controller/RepairController.java
浏览文件 @
ea1331d3
差异被折叠。
点击展开。
dev-repair/src/main/java/com/tykj/dev/device/repair/service/impl/RepairDetailServiceImpl.java
浏览文件 @
ea1331d3
...
@@ -346,7 +346,10 @@ public class RepairDetailServiceImpl implements RepairDetailService {
...
@@ -346,7 +346,10 @@ public class RepairDetailServiceImpl implements RepairDetailService {
//过滤出装备在中办的
//过滤出装备在中办的
List
<
Units
>
superiorUnitsList
=
unitsService
.
findSuperiorUnitsList
();
List
<
Units
>
superiorUnitsList
=
unitsService
.
findSuperiorUnitsList
();
List
<
String
>
names
=
superiorUnitsList
.
stream
().
map
(
Units:
:
getName
).
collect
(
Collectors
.
toList
());
List
<
String
>
names
=
superiorUnitsList
.
stream
().
map
(
Units:
:
getName
).
collect
(
Collectors
.
toList
());
List
<
RepairDetail
>
exceptionList
=
repairDetails
.
stream
().
filter
(
repairDetail
->
names
.
contains
(
repairDetail
.
getLocationUnit
())).
sorted
(
Comparator
.
comparing
(
RepairDetail:
:
getCreateTime
)).
collect
(
Collectors
.
toList
());
// List<RepairDetail> exceptionList = repairDetails.stream().filter(repairDetail -> names.contains(repairDetail.getLocationUnit())).sorted(Comparator.comparing(RepairDetail::getCreateTime)).collect(Collectors.toList());
List
<
RepairDetail
>
exceptionList
=
repairDetails
.
stream
().
filter
(
repairDetail
->
names
.
contains
(
unitsService
.
findById
(
repairDetail
.
getLocationUnitId
()).
getName
()))
.
sorted
(
Comparator
.
comparing
(
RepairDetail:
:
getCreateTime
)).
collect
(
Collectors
.
toList
());
repairDetails
.
removeAll
(
exceptionList
);
repairDetails
.
removeAll
(
exceptionList
);
//维修未入库 等待维修分为接收区装备和市发起维修
//维修未入库 等待维修分为接收区装备和市发起维修
// List<RepairDetail> repairIngList = repairDetails.stream().filter(repairDetail -> Objects.equals(repairDetail.getRepairStatus(), RepairStatusEnum.WAIT_REPAIR.id)).sorted(Comparator.comparing(RepairDetail::getCreateTime)).collect(Collectors.toList());
// List<RepairDetail> repairIngList = repairDetails.stream().filter(repairDetail -> Objects.equals(repairDetail.getRepairStatus(), RepairStatusEnum.WAIT_REPAIR.id)).sorted(Comparator.comparing(RepairDetail::getCreateTime)).collect(Collectors.toList());
...
...
dev-repair/src/main/java/com/tykj/dev/device/repair/subject/domin/RepairBackBill.java
浏览文件 @
ea1331d3
...
@@ -59,11 +59,17 @@ public class RepairBackBill {
...
@@ -59,11 +59,17 @@ public class RepairBackBill {
*/
*/
@ApiModelProperty
(
value
=
"发件单位"
)
@ApiModelProperty
(
value
=
"发件单位"
)
private
String
sendUnit
;
private
String
sendUnit
;
@ApiModelProperty
(
value
=
"发件单位Id"
)
private
Integer
sendUnitId
;
/**
/**
* 收件单位
* 收件单位
*/
*/
@ApiModelProperty
(
value
=
"收件单位"
)
@ApiModelProperty
(
value
=
"收件单位"
)
private
String
receiveUnit
;
private
String
receiveUnit
;
@ApiModelProperty
(
value
=
"收件单位Id"
)
private
Integer
receiveUnitId
;
/**
/**
* 配发时间
* 配发时间
*/
*/
...
...
dev-repair/src/main/java/com/tykj/dev/device/repair/subject/domin/RepairBill.java
浏览文件 @
ea1331d3
...
@@ -49,11 +49,17 @@ public class RepairBill {
...
@@ -49,11 +49,17 @@ public class RepairBill {
*/
*/
@ApiModelProperty
(
value
=
"申请单位"
)
@ApiModelProperty
(
value
=
"申请单位"
)
private
String
sendUnit
;
private
String
sendUnit
;
@ApiModelProperty
(
value
=
"申请单位Id"
)
private
Integer
sendUnitId
;
/**
/**
* 维修单位
* 维修单位
*/
*/
@ApiModelProperty
(
value
=
"维修单位"
)
@ApiModelProperty
(
value
=
"维修单位"
)
private
String
receiveUnit
;
private
String
receiveUnit
;
@ApiModelProperty
(
value
=
"维修单位Id"
)
private
Integer
receiveUnitId
;
/**
/**
* 维修状态
* 维修状态
*/
*/
...
...
dev-repair/src/main/java/com/tykj/dev/device/repair/subject/domin/RepairDetail.java
浏览文件 @
ea1331d3
...
@@ -82,11 +82,17 @@ public class RepairDetail {
...
@@ -82,11 +82,17 @@ public class RepairDetail {
*/
*/
@ApiModelProperty
(
value
=
"所在单位"
)
@ApiModelProperty
(
value
=
"所在单位"
)
private
String
locationUnit
;
private
String
locationUnit
;
@ApiModelProperty
(
value
=
"所在单位Id"
)
private
Integer
locationUnitId
;
/**
/**
* 所属单位
* 所属单位
*/
*/
@ApiModelProperty
(
value
=
"所属单位"
)
@ApiModelProperty
(
value
=
"所属单位"
)
private
String
ownUnit
;
private
String
ownUnit
;
@ApiModelProperty
(
value
=
"所属单位Id"
)
private
Integer
ownUnitId
;
/**
/**
* 维修状态
* 维修状态
*/
*/
...
...
dev-repair/src/main/java/com/tykj/dev/device/repair/subject/domin/RepairSendBill.java
浏览文件 @
ea1331d3
...
@@ -59,11 +59,17 @@ public class RepairSendBill {
...
@@ -59,11 +59,17 @@ public class RepairSendBill {
*/
*/
@ApiModelProperty
(
value
=
"发件单位"
)
@ApiModelProperty
(
value
=
"发件单位"
)
private
String
sendUnit
;
private
String
sendUnit
;
@ApiModelProperty
(
value
=
"发件单位Id"
)
private
Integer
sendUnitId
;
/**
/**
* 收件单位
* 收件单位
*/
*/
@ApiModelProperty
(
value
=
"收件单位"
)
@ApiModelProperty
(
value
=
"收件单位"
)
private
String
receiveUnit
;
private
String
receiveUnit
;
@ApiModelProperty
(
value
=
"收件单位Id"
)
private
Integer
receiveUnitId
;
/**
/**
* 配发时间
* 配发时间
*/
*/
...
...
dev-repair/src/main/java/com/tykj/dev/device/repair/subject/vo/RepairBackBillSaveVo.java
浏览文件 @
ea1331d3
...
@@ -36,10 +36,16 @@ public class RepairBackBillSaveVo {
...
@@ -36,10 +36,16 @@ public class RepairBackBillSaveVo {
@NotNull
(
message
=
"receiveUnit不能为空"
)
@NotNull
(
message
=
"receiveUnit不能为空"
)
@ApiModelProperty
(
value
=
"接收单位"
,
example
=
"市机要局"
)
@ApiModelProperty
(
value
=
"接收单位"
,
example
=
"市机要局"
)
private
String
receiveUnit
;
private
String
receiveUnit
;
@NotNull
(
message
=
"receiveUnit不能为空"
)
@ApiModelProperty
(
value
=
"接收单位Id"
,
example
=
"市机要局"
)
private
Integer
receiveUnitId
;
@NotNull
(
message
=
"sendUnit不能为空"
)
@NotNull
(
message
=
"sendUnit不能为空"
)
@ApiModelProperty
(
value
=
"发起单位"
,
example
=
"市机要局"
)
@ApiModelProperty
(
value
=
"发起单位"
,
example
=
"市机要局"
)
private
String
sendUnit
;
private
String
sendUnit
;
@NotNull
(
message
=
"sendUnit不能为空"
)
@ApiModelProperty
(
value
=
"发起单位Id"
,
example
=
"市机要局"
)
private
Integer
sendUnitId
;
// @NotNull(message = "receiveUseraId不能为空")
// @NotNull(message = "receiveUseraId不能为空")
// @Min(value = 1,message = "receiveUseraId不能小于1")
// @Min(value = 1,message = "receiveUseraId不能小于1")
...
...
dev-repair/src/main/java/com/tykj/dev/device/repair/subject/vo/RepairBillSaveVo.java
浏览文件 @
ea1331d3
...
@@ -33,10 +33,18 @@ public class RepairBillSaveVo {
...
@@ -33,10 +33,18 @@ public class RepairBillSaveVo {
@ApiModelProperty
(
value
=
"维修单位"
,
example
=
"市机要局"
)
@ApiModelProperty
(
value
=
"维修单位"
,
example
=
"市机要局"
)
private
String
receiveUnit
;
private
String
receiveUnit
;
@NotNull
(
message
=
"receiveUnitId不能为空"
)
@ApiModelProperty
(
value
=
"维修单位Id"
,
example
=
"市机要局"
)
private
Integer
receiveUnitId
;
@NotNull
(
message
=
"sendUnit不能为空"
)
@NotNull
(
message
=
"sendUnit不能为空"
)
@ApiModelProperty
(
value
=
"发起单位"
,
example
=
"市机要局"
)
@ApiModelProperty
(
value
=
"发起单位"
,
example
=
"市机要局"
)
private
String
sendUnit
;
private
String
sendUnit
;
@NotNull
(
message
=
"sendUnitId不能为空"
)
@ApiModelProperty
(
value
=
"发起单位Id"
,
example
=
"市机要局"
)
private
Integer
sendUnitId
;
@ApiModelProperty
(
value
=
"维修经手人"
,
example
=
"1"
)
@ApiModelProperty
(
value
=
"维修经手人"
,
example
=
"1"
)
private
Integer
repairUseraId
;
private
Integer
repairUseraId
;
...
...
dev-selfcheck/src/main/java/com/tykj/dev/device/selfcheck/base/SelfCheckSchedulerTask.java
浏览文件 @
ea1331d3
...
@@ -101,6 +101,7 @@ public class SelfCheckSchedulerTask {
...
@@ -101,6 +101,7 @@ public class SelfCheckSchedulerTask {
SelfCheckBill
selfCheckBill
=
new
SelfCheckBill
();
SelfCheckBill
selfCheckBill
=
new
SelfCheckBill
();
selfCheckBill
.
setCheckStatus
(
3
);
selfCheckBill
.
setCheckStatus
(
3
);
selfCheckBill
.
setCheckUnit
(
units
.
getName
());
selfCheckBill
.
setCheckUnit
(
units
.
getName
());
selfCheckBill
.
setCheckUnitId
(
units
.
getUnitId
());
StringBuffer
title
=
new
StringBuffer
();
StringBuffer
title
=
new
StringBuffer
();
Calendar
calendar
=
Calendar
.
getInstance
();
Calendar
calendar
=
Calendar
.
getInstance
();
calendar
.
setTime
(
new
Date
());
calendar
.
setTime
(
new
Date
());
...
...
dev-selfcheck/src/main/java/com/tykj/dev/device/selfcheck/controller/SelfCheckController.java
浏览文件 @
ea1331d3
...
@@ -288,6 +288,7 @@ public class SelfCheckController {
...
@@ -288,6 +288,7 @@ public class SelfCheckController {
SelfCheckBill
selfCheckBill
=
new
SelfCheckBill
();
SelfCheckBill
selfCheckBill
=
new
SelfCheckBill
();
selfCheckBill
.
setCheckStatus
(
3
);
selfCheckBill
.
setCheckStatus
(
3
);
selfCheckBill
.
setCheckUnit
(
unitName
);
selfCheckBill
.
setCheckUnit
(
unitName
);
selfCheckBill
.
setCheckUnitId
(
userUtils
.
getCurrentUnitId
());
selfCheckBill
.
setTitle
(
unitName
+
"发起的"
+
message2
+
"自查任务"
);
selfCheckBill
.
setTitle
(
unitName
+
"发起的"
+
message2
+
"自查任务"
);
SelfCheckBill
selfCheckBill1
=
selfExaminationBillService
.
addEntity
(
selfCheckBill
);
SelfCheckBill
selfCheckBill1
=
selfExaminationBillService
.
addEntity
(
selfCheckBill
);
//发起待自查任务
//发起待自查任务
...
@@ -326,6 +327,7 @@ public class SelfCheckController {
...
@@ -326,6 +327,7 @@ public class SelfCheckController {
selfExaminationBillEntity
=
selfCheckSaveVo
.
toDo
();
selfExaminationBillEntity
=
selfCheckSaveVo
.
toDo
();
selfExaminationBillEntity
.
setTitle
(
userUtils
.
getCurrentUserUnitName
()
+
"发起的自查任务"
);
selfExaminationBillEntity
.
setTitle
(
userUtils
.
getCurrentUserUnitName
()
+
"发起的自查任务"
);
selfExaminationBillEntity
.
setCheckUnit
(
userUtils
.
getCurrentUserUnitName
());
selfExaminationBillEntity
.
setCheckUnit
(
userUtils
.
getCurrentUserUnitName
());
selfExaminationBillEntity
.
setCheckUnitId
(
userUtils
.
getCurrentUnitId
());
}
}
selfExaminationBillEntity
.
setUseraId
(
userUtils
.
getCurrentUserId
());
selfExaminationBillEntity
.
setUseraId
(
userUtils
.
getCurrentUserId
());
selfExaminationBillEntity
.
setCreateUnitId
(
userUtils
.
getCurrentUnitId
());
selfExaminationBillEntity
.
setCreateUnitId
(
userUtils
.
getCurrentUnitId
());
...
@@ -466,14 +468,21 @@ public class SelfCheckController {
...
@@ -466,14 +468,21 @@ public class SelfCheckController {
}
}
MessageBto
messageBto
=
new
MessageBto
(
taskBto
.
getId
(),
taskBto
.
getBusinessType
(),
content
,
idList
,
0
);
MessageBto
messageBto
=
new
MessageBto
(
taskBto
.
getId
(),
taskBto
.
getBusinessType
(),
content
,
idList
,
0
);
messageService
.
add
(
messageBto
);
messageService
.
add
(
messageBto
);
//优化日志
List
<
DeviceLogDto
>
deviceLogDtos
=
new
ArrayList
<>();
for
(
String
s:
strings
)
{
for
(
String
s:
strings
)
{
if
(
s
.
length
()>=
2
)
{
if
(
s
.
length
()>=
2
)
{
Integer
id
=
Integer
.
parseInt
(
s
.
substring
(
0
,
s
.
length
()
-
1
));
Integer
id
=
Integer
.
parseInt
(
s
.
substring
(
0
,
s
.
length
()
-
1
));
// DeviceLogDto deviceLogDto = new DeviceLogDto(id,"上传自查单",null,taskBto.getId(),null);
// DeviceLogDto deviceLogDto = new DeviceLogDto(id,"上传自查单",null,taskBto.getId(),null);
DeviceLogDto
deviceLogDto
=
new
DeviceLogDto
(
id
,
"上传自查单"
,
null
,
userId
,
taskBto
.
getId
());
DeviceLogDto
deviceLogDto
=
new
DeviceLogDto
(
id
,
"上传自查单"
,
null
,
userId
,
taskBto
.
getId
());
deviceLogService
.
addLog
(
deviceLogDto
);
// deviceLogService.addLog(deviceLogDto);
deviceLogDtos
.
add
(
deviceLogDto
);
}
}
}
}
//使用异步
executor
.
execute
(()->{
deviceLogService
.
addAllLog
(
deviceLogDtos
);
});
log
.
info
(
"[自查模块]:审核通过自查完成"
);
log
.
info
(
"[自查模块]:审核通过自查完成"
);
myWebSocket
.
sendMessage1
();
myWebSocket
.
sendMessage1
();
return
ResultUtil
.
success
(
"审核通过自查完成"
);
return
ResultUtil
.
success
(
"审核通过自查完成"
);
...
@@ -630,6 +639,7 @@ public class SelfCheckController {
...
@@ -630,6 +639,7 @@ public class SelfCheckController {
SelfCheckBill
selfCheckBill
=
new
SelfCheckBill
();
SelfCheckBill
selfCheckBill
=
new
SelfCheckBill
();
selfCheckBill
.
setCheckStatus
(
3
);
selfCheckBill
.
setCheckStatus
(
3
);
selfCheckBill
.
setCheckUnit
(
units
.
getName
());
selfCheckBill
.
setCheckUnit
(
units
.
getName
());
selfCheckBill
.
setCheckUnitId
(
units
.
getUnitId
());
StringBuffer
title
=
new
StringBuffer
();
StringBuffer
title
=
new
StringBuffer
();
Calendar
calendar
=
Calendar
.
getInstance
();
Calendar
calendar
=
Calendar
.
getInstance
();
calendar
.
setTime
(
new
Date
());
calendar
.
setTime
(
new
Date
());
...
...
dev-selfcheck/src/main/java/com/tykj/dev/device/selfcheck/subject/domin/SelfCheckBill.java
浏览文件 @
ea1331d3
...
@@ -67,6 +67,9 @@ public class SelfCheckBill {
...
@@ -67,6 +67,9 @@ public class SelfCheckBill {
*/
*/
@ApiModelProperty
(
value
=
"自查单位"
)
@ApiModelProperty
(
value
=
"自查单位"
)
private
String
checkUnit
;
private
String
checkUnit
;
@ApiModelProperty
(
value
=
"自查单位Id"
)
private
Integer
checkUnitId
;
/**
/**
* 应查数量
* 应查数量
*/
*/
...
...
dev-statistical/src/main/java/com/tykj/dev/statistical/cache/CacheConfig.java
浏览文件 @
ea1331d3
...
@@ -21,7 +21,12 @@ public class CacheConfig {
...
@@ -21,7 +21,12 @@ public class CacheConfig {
@Bean
@Bean
public
StatisticalCache
initStatisticalCache
()
throws
ParseException
{
public
StatisticalCache
initStatisticalCache
()
throws
ParseException
{
return
new
StatisticalCache
(
statisticalService
.
getDeviceNum
(),
statisticalService
.
getLifeStatus
(
1
),
statisticalService
.
getLifeStatus
(
2
),
statisticalService
.
getSelfCheck
(),
statisticalService
.
getYearSelfCheck
(),
statisticalService
.
getRfidWarning
(),
statisticalService
.
getRfidWarningDetail
(
1
),
statisticalService
.
getRfidWarningDetail
(
2
),
statisticalService
.
getCheckNum
(),
statisticalService
.
getConfirmCheck
(
1
),
statisticalService
.
getConfirmCheck
(
2
),
statisticalService
.
getUserGeneralSituation
(),
statisticalService
.
getSelfCheckStat
());
return
new
StatisticalCache
(
statisticalService
.
getDeviceNum
(),
statisticalService
.
getLifeStatus
(
1
),
statisticalService
.
getLifeStatus
(
2
),
statisticalService
.
getSelfCheck
(),
statisticalService
.
getYearSelfCheck
(),
statisticalService
.
getRfidWarning
(),
statisticalService
.
getRfidWarningDetail
(
1
),
statisticalService
.
getRfidWarningDetail
(
2
),
statisticalService
.
getCheckNum
(),
statisticalService
.
getConfirmCheck
(
1
),
statisticalService
.
getConfirmCheck
(
2
),
statisticalService
.
getUserGeneralSituation
(),
statisticalService
.
getSelfCheckStat
());
}
}
}
}
dev-statistical/src/main/java/com/tykj/dev/statistical/service/impl/BigScreenServiceImpl.java
浏览文件 @
ea1331d3
...
@@ -22,6 +22,7 @@ import com.tykj.dev.device.user.subject.dao.UserDao;
...
@@ -22,6 +22,7 @@ import com.tykj.dev.device.user.subject.dao.UserDao;
import
com.tykj.dev.device.user.subject.entity.Area
;
import
com.tykj.dev.device.user.subject.entity.Area
;
import
com.tykj.dev.device.user.subject.entity.Units
;
import
com.tykj.dev.device.user.subject.entity.Units
;
import
com.tykj.dev.device.user.subject.entity.User
;
import
com.tykj.dev.device.user.subject.entity.User
;
import
com.tykj.dev.device.user.subject.service.UnitsService
;
import
com.tykj.dev.misc.base.BusinessEnum
;
import
com.tykj.dev.misc.base.BusinessEnum
;
import
com.tykj.dev.misc.base.StatusEnum
;
import
com.tykj.dev.misc.base.StatusEnum
;
import
com.tykj.dev.misc.utils.StringSplitUtil
;
import
com.tykj.dev.misc.utils.StringSplitUtil
;
...
@@ -81,6 +82,9 @@ public class BigScreenServiceImpl implements BigScreenService {
...
@@ -81,6 +82,9 @@ public class BigScreenServiceImpl implements BigScreenService {
@Autowired
@Autowired
private
DeviceLibraryCacheService
deviceLibraryCacheService
;
private
DeviceLibraryCacheService
deviceLibraryCacheService
;
@Autowired
private
UnitsService
unitsService
;
/**
/**
* 获取省及各市装备统计信息
* 获取省及各市装备统计信息
*/
*/
...
@@ -306,8 +310,12 @@ public class BigScreenServiceImpl implements BigScreenService {
...
@@ -306,8 +310,12 @@ public class BigScreenServiceImpl implements BigScreenService {
//获取市单位名称
//获取市单位名称
String
unitName
=
units
.
get
(
0
).
getName
();
String
unitName
=
units
.
get
(
0
).
getName
();
//筛选出当前单位已完成的自查和核查账单,按更新时间排序
//筛选出当前单位已完成的自查和核查账单,按更新时间排序
// List<SelfCheckBill> selfCheckBillList = selfCheckBills.stream()
// .filter(selfCheckBill -> selfCheckBill.getCheckUnit().equals(unitName))
// .sorted(Comparator.comparing(SelfCheckBill::getUpdateTime,Comparator.nullsLast(Date::compareTo)).reversed())
// .collect(Collectors.toList());
List
<
SelfCheckBill
>
selfCheckBillList
=
selfCheckBills
.
stream
()
List
<
SelfCheckBill
>
selfCheckBillList
=
selfCheckBills
.
stream
()
.
filter
(
selfCheckBill
->
selfCheckBill
.
getCheckUnit
().
equals
(
unitName
))
.
filter
(
selfCheckBill
->
unitsService
.
findById
(
selfCheckBill
.
getCheckUnitId
()).
getName
().
equals
(
unitName
))
.
sorted
(
Comparator
.
comparing
(
SelfCheckBill:
:
getUpdateTime
,
Comparator
.
nullsLast
(
Date:
:
compareTo
)).
reversed
())
.
sorted
(
Comparator
.
comparing
(
SelfCheckBill:
:
getUpdateTime
,
Comparator
.
nullsLast
(
Date:
:
compareTo
)).
reversed
())
.
collect
(
Collectors
.
toList
());
.
collect
(
Collectors
.
toList
());
if
(!
selfCheckBillList
.
isEmpty
())
{
if
(!
selfCheckBillList
.
isEmpty
())
{
...
...
dev-statistical/src/main/java/com/tykj/dev/statistical/service/impl/StatisticalServiceImpl.java
浏览文件 @
ea1331d3
...
@@ -29,6 +29,7 @@ import com.tykj.dev.device.user.subject.dao.UserDao;
...
@@ -29,6 +29,7 @@ import com.tykj.dev.device.user.subject.dao.UserDao;
import
com.tykj.dev.device.user.subject.entity.Area
;
import
com.tykj.dev.device.user.subject.entity.Area
;
import
com.tykj.dev.device.user.subject.entity.Units
;
import
com.tykj.dev.device.user.subject.entity.Units
;
import
com.tykj.dev.device.user.subject.entity.User
;
import
com.tykj.dev.device.user.subject.entity.User
;
import
com.tykj.dev.device.user.subject.service.UnitsService
;
import
com.tykj.dev.device.user.util.UserUtils
;
import
com.tykj.dev.device.user.util.UserUtils
;
import
com.tykj.dev.misc.exception.ApiException
;
import
com.tykj.dev.misc.exception.ApiException
;
import
com.tykj.dev.rfid.entity.domin.LibraryWarningLog
;
import
com.tykj.dev.rfid.entity.domin.LibraryWarningLog
;
...
@@ -104,6 +105,9 @@ public class StatisticalServiceImpl implements StatisticalService {
...
@@ -104,6 +105,9 @@ public class StatisticalServiceImpl implements StatisticalService {
@Autowired
@Autowired
private
DeviceLibraryCacheService
deviceLibraryCacheService
;
private
DeviceLibraryCacheService
deviceLibraryCacheService
;
@Autowired
private
UnitsService
unitsService
;
/**
/**
* 获取装备统计信息
* 获取装备统计信息
*/
*/
...
@@ -244,7 +248,12 @@ public class StatisticalServiceImpl implements StatisticalService {
...
@@ -244,7 +248,12 @@ public class StatisticalServiceImpl implements StatisticalService {
//获取最近一次自查标题
//获取最近一次自查标题
List
<
SelfCheckBill
>
selfCheckBillList
=
selfCheckBills
.
stream
().
filter
(
selfCheckBill
->
selfCheckBill
.
getCycle
()!=
null
).
sorted
(
Comparator
.
comparing
(
SelfCheckBill:
:
getCreateTime
,
Comparator
.
nullsLast
(
Date:
:
compareTo
).
reversed
())).
collect
(
Collectors
.
toList
());
List
<
SelfCheckBill
>
selfCheckBillList
=
selfCheckBills
.
stream
().
filter
(
selfCheckBill
->
selfCheckBill
.
getCycle
()!=
null
).
sorted
(
Comparator
.
comparing
(
SelfCheckBill:
:
getCreateTime
,
Comparator
.
nullsLast
(
Date:
:
compareTo
).
reversed
())).
collect
(
Collectors
.
toList
());
if
(
selfCheckBillList
.
size
()>
0
){
if
(
selfCheckBillList
.
size
()>
0
){
Map
<
String
,
Integer
>
selfCheckBillMap
=
selfCheckBills
.
stream
().
filter
(
selfCheckBill
->
selfCheckBill
.
getCycle
()!=
null
&&
selfCheckBill
.
getTitle
().
equals
(
selfCheckBillList
.
get
(
0
).
getTitle
())).
collect
(
Collectors
.
toMap
(
SelfCheckBill:
:
getCheckUnit
,
SelfCheckBill:
:
getCheckStatus
,(
v1
,
v2
)->
v1
));
// Map<String,Integer> selfCheckBillMap = selfCheckBills.stream().filter(selfCheckBill ->selfCheckBill.getCycle()!=null && selfCheckBill.getTitle().equals(selfCheckBillList.get(0).getTitle())).collect(Collectors.toMap(SelfCheckBill::getCheckUnit,SelfCheckBill::getCheckStatus,(v1, v2)->v1));
Map
<
String
,
Integer
>
selfCheckBillMap
=
selfCheckBills
.
stream
().
filter
(
selfCheckBill
->
selfCheckBill
.
getCycle
()!=
null
&&
selfCheckBill
.
getTitle
().
equals
(
selfCheckBillList
.
get
(
0
).
getTitle
()))
.
collect
(
Collectors
.
toMap
(
selfCheckBill
->
unitsService
.
findById
(
selfCheckBill
.
getCheckUnitId
()).
getName
()
,
SelfCheckBill:
:
getCheckStatus
,(
v1
,
v2
)->
v1
));
//获取所有市
//获取所有市
List
<
Area
>
areas
=
areaDao
.
findAreasByType
(
2
);
List
<
Area
>
areas
=
areaDao
.
findAreasByType
(
2
);
//遍历每个市
//遍历每个市
...
@@ -545,12 +554,22 @@ public class StatisticalServiceImpl implements StatisticalService {
...
@@ -545,12 +554,22 @@ public class StatisticalServiceImpl implements StatisticalService {
//获取市单位名称
//获取市单位名称
String
unitName
=
units
.
get
(
0
).
getName
();
String
unitName
=
units
.
get
(
0
).
getName
();
//筛选出当前单位已完成的自查和核查账单,按更新时间排序
//筛选出当前单位已完成的自查和核查账单,按更新时间排序
// List<SelfCheckBill> selfCheckBillList = selfCheckBills.stream()
// .filter(selfCheckBill -> selfCheckBill.getCheckUnit().equals(unitName) && selfCheckBill.getCheckedCount() != null)
// .sorted(Comparator.nullsLast(Comparator.comparing(SelfCheckBill::getUpdateTime).reversed()))
// .collect(Collectors.toList());
List
<
SelfCheckBill
>
selfCheckBillList
=
selfCheckBills
.
stream
()
List
<
SelfCheckBill
>
selfCheckBillList
=
selfCheckBills
.
stream
()
.
filter
(
selfCheckBill
->
selfCheckBill
.
getCheckUnit
().
equals
(
unitName
)
&&
selfCheckBill
.
getCheckedCount
()
!=
null
)
.
filter
(
selfCheckBill
->
unitsService
.
findById
(
selfCheckBill
.
getCheckUnitId
()).
getName
().
equals
(
unitName
)
&&
selfCheckBill
.
getCheckedCount
()
!=
null
)
.
sorted
(
Comparator
.
nullsLast
(
Comparator
.
comparing
(
SelfCheckBill:
:
getUpdateTime
).
reversed
()))
.
sorted
(
Comparator
.
nullsLast
(
Comparator
.
comparing
(
SelfCheckBill:
:
getUpdateTime
).
reversed
()))
.
collect
(
Collectors
.
toList
());
.
collect
(
Collectors
.
toList
());
// List<DeviceCheckDetail> deviceCheckDetailList = deviceCheckDetails.stream()
// .filter(deviceCheckDetail -> deviceCheckDetail.getCheckUnit().equals(unitName) && deviceCheckDetail.getCheckedCount() != null)
// .sorted(Comparator.nullsLast(Comparator.comparing(DeviceCheckDetail::getUpdateTime).reversed()))
// .collect(Collectors.toList());
List
<
DeviceCheckDetail
>
deviceCheckDetailList
=
deviceCheckDetails
.
stream
()
List
<
DeviceCheckDetail
>
deviceCheckDetailList
=
deviceCheckDetails
.
stream
()
.
filter
(
deviceCheckDetail
->
deviceCheckDetail
.
getCheckUnit
().
equals
(
unitName
)
&&
deviceCheckDetail
.
getCheckedCount
()
!=
null
)
.
filter
(
deviceCheckDetail
->
unitsService
.
findById
(
deviceCheckDetail
.
getCheckUnitId
()).
getName
().
equals
(
unitName
)
&&
deviceCheckDetail
.
getCheckedCount
()
!=
null
)
.
sorted
(
Comparator
.
nullsLast
(
Comparator
.
comparing
(
DeviceCheckDetail:
:
getUpdateTime
).
reversed
()))
.
sorted
(
Comparator
.
nullsLast
(
Comparator
.
comparing
(
DeviceCheckDetail:
:
getUpdateTime
).
reversed
()))
.
collect
(
Collectors
.
toList
());
.
collect
(
Collectors
.
toList
());
if
(!
selfCheckBillList
.
isEmpty
())
{
if
(!
selfCheckBillList
.
isEmpty
())
{
...
@@ -687,8 +706,12 @@ public class StatisticalServiceImpl implements StatisticalService {
...
@@ -687,8 +706,12 @@ public class StatisticalServiceImpl implements StatisticalService {
List
<
Units
>
units
=
unitsDao
.
findAllByAreaId
(
area
.
getId
());
List
<
Units
>
units
=
unitsDao
.
findAllByAreaId
(
area
.
getId
());
if
(
units
.
size
()==
1
){
if
(
units
.
size
()==
1
){
//筛选出标题包含当前年份季度的
//筛选出标题包含当前年份季度的
// List<SelfCheckBill> selfCheckBillList = selfCheckBills.stream()
// .filter(selfCheckBill -> selfCheckBill.getTitle().contains(quarter)&&selfCheckBill.getCheckUnit().equals(units.get(0).getName()))
// .collect(Collectors.toList());
List
<
SelfCheckBill
>
selfCheckBillList
=
selfCheckBills
.
stream
()
List
<
SelfCheckBill
>
selfCheckBillList
=
selfCheckBills
.
stream
()
.
filter
(
selfCheckBill
->
selfCheckBill
.
getTitle
().
contains
(
quarter
)&&
selfCheckBill
.
getCheckUnit
().
equals
(
units
.
get
(
0
).
getName
()))
.
filter
(
selfCheckBill
->
selfCheckBill
.
getTitle
().
contains
(
quarter
)&&
unitsService
.
findById
(
selfCheckBill
.
getCheckUnitId
()).
getName
().
equals
(
units
.
get
(
0
).
getName
()))
.
collect
(
Collectors
.
toList
());
.
collect
(
Collectors
.
toList
());
if
(
selfCheckBillList
.
size
()==
1
){
if
(
selfCheckBillList
.
size
()==
1
){
SelfCheckBill
selfCheckBill
=
selfCheckBillList
.
get
(
0
);
SelfCheckBill
selfCheckBill
=
selfCheckBillList
.
get
(
0
);
...
...
dev-union/src/main/java/com/tykj/dev/union/DataInit.java
0 → 100644
浏览文件 @
ea1331d3
package
com
.
tykj
.
dev
.
union
;
import
com.tykj.dev.device.allot.repository.AllotBackBillDao
;
import
com.tykj.dev.device.allot.repository.AllotBillDao
;
import
com.tykj.dev.device.allot.subject.domin.AllotBackBill
;
import
com.tykj.dev.device.allot.subject.domin.AllotBill
;
import
com.tykj.dev.device.repair.repository.RepairBackBillDao
;
import
com.tykj.dev.device.repair.repository.RepairBillDao
;
import
com.tykj.dev.device.repair.repository.RepairDetailDao
;
import
com.tykj.dev.device.repair.repository.RepairSendBillDao
;
import
com.tykj.dev.device.repair.subject.domin.RepairBackBill
;
import
com.tykj.dev.device.repair.subject.domin.RepairBill
;
import
com.tykj.dev.device.repair.subject.domin.RepairDetail
;
import
com.tykj.dev.device.repair.subject.domin.RepairSendBill
;
import
com.tykj.dev.device.selfcheck.repository.SelfCheckBillDao
;
import
com.tykj.dev.device.selfcheck.subject.domin.SelfCheckBill
;
import
com.tykj.dev.device.user.subject.dao.UnitsDao
;
import
com.tykj.dev.device.user.subject.entity.Units
;
import
com.tykj.dev.device.usereport.repository.DeviceUseReportDao
;
import
com.tykj.dev.device.usereport.subject.domin.DeviceUseReport
;
import
lombok.extern.slf4j.Slf4j
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.boot.CommandLineRunner
;
import
org.springframework.stereotype.Component
;
import
javax.annotation.Resource
;
import
java.util.Collections
;
import
java.util.List
;
@Slf4j
@Component
public
class
DataInit
implements
CommandLineRunner
{
@Resource
private
UnitsDao
unitsDao
;
@Autowired
private
AllotBillDao
allotBillDao
;
@Autowired
private
AllotBackBillDao
allotBackBillDao
;
@Autowired
private
RepairBackBillDao
repairBackBillDao
;
@Autowired
private
RepairDetailDao
repairDetailDao
;
@Autowired
private
RepairSendBillDao
repairSendBillDao
;
@Autowired
private
RepairBillDao
repairBillDao
;
@Autowired
private
SelfCheckBillDao
selfCheckBillDao
;
@Autowired
private
DeviceUseReportDao
deviceUseReportDao
;
private
void
initCheckDetailUnitName
()
{
// 对现有的数据补充unitId信息
allotBillDao
.
findAll
().
forEach
(
this
::
saveModifyDetail1
);
allotBackBillDao
.
findAll
().
forEach
(
this
::
saveModifyDetail2
);
selfCheckBillDao
.
findAll
().
forEach
(
this
::
saveModifyDetail3
);
repairBillDao
.
findAll
().
forEach
(
this
::
saveModifyDetail4
);
repairSendBillDao
.
findAll
().
forEach
(
this
::
saveModifyDetail5
);
repairDetailDao
.
findAll
().
forEach
(
this
::
saveModifyDetail6
);
repairBackBillDao
.
findAll
().
forEach
(
this
::
saveModifyDetail7
);
deviceUseReportDao
.
findAll
().
forEach
(
this
::
saveModifyDetail8
);
}
private
void
saveModifyDetail1
(
AllotBill
allotBill
)
{
String
receiveUnit
=
allotBill
.
getReceiveUnit
();
String
sendUnit
=
allotBill
.
getSendUnit
();
Integer
receiveUnitId
=
getUnitId
(
receiveUnit
);
Integer
sendUnitId
=
getUnitId
(
sendUnit
);
if
(
receiveUnitId
!=
-
1
&&
sendUnitId
!=
-
1
)
{
allotBill
.
setReceiveUnitId
(
receiveUnitId
);
allotBill
.
setSendUnitId
(
sendUnitId
);
log
.
info
(
"[配发] 修正allotBill历史数据,修正的发件单位:{},修正的接收单位:{},发送单位id:{},接收单位id:{}"
,
sendUnit
,
receiveUnit
,
sendUnitId
,
receiveUnitId
);
allotBillDao
.
save
(
allotBill
);
}
}
private
void
saveModifyDetail2
(
AllotBackBill
allotBackBill
)
{
String
receiveUnit
=
allotBackBill
.
getReceiveUnit
();
String
sendUnit
=
allotBackBill
.
getSendUnit
();
Integer
receiveUnitId
=
getUnitId
(
receiveUnit
);
Integer
sendUnitId
=
getUnitId
(
sendUnit
);
if
(
receiveUnitId
!=
-
1
&&
sendUnitId
!=
-
1
)
{
allotBackBill
.
setReceiveUnitId
(
receiveUnitId
);
allotBackBill
.
setSendUnitId
(
sendUnitId
);
log
.
info
(
"[退回] 修正allotBill历史数据,修正的发件单位:{},修正的接收单位:{},发送单位id:{},接收单位id:{}"
,
sendUnit
,
receiveUnit
,
sendUnitId
,
receiveUnitId
);
allotBackBillDao
.
save
(
allotBackBill
);
}
}
private
void
saveModifyDetail3
(
SelfCheckBill
selfCheckBill
)
{
String
receiveUnit
=
selfCheckBill
.
getCheckUnit
();
Integer
receiveUnitId
=
getUnitId
(
receiveUnit
);
if
(
receiveUnitId
!=
-
1
)
{
selfCheckBill
.
setCheckUnitId
(
receiveUnitId
);
log
.
info
(
"[自查] 修正selfCheckBill历史数据,修正的单位:{},接收单位id:{}"
,
receiveUnit
,
receiveUnitId
);
selfCheckBillDao
.
save
(
selfCheckBill
);
}
}
private
void
saveModifyDetail4
(
RepairBill
allotBill
)
{
String
receiveUnit
=
allotBill
.
getReceiveUnit
();
String
sendUnit
=
allotBill
.
getSendUnit
();
Integer
receiveUnitId
=
getUnitId
(
receiveUnit
);
Integer
sendUnitId
=
getUnitId
(
sendUnit
);
if
(
receiveUnitId
!=
-
1
&&
sendUnitId
!=
-
1
)
{
allotBill
.
setReceiveUnitId
(
receiveUnitId
);
allotBill
.
setSendUnitId
(
sendUnitId
);
log
.
info
(
"[维修] 修正RepairBill历史数据,修正的发件单位:{},修正的接收单位:{},发送单位id:{},接收单位id:{}"
,
sendUnit
,
receiveUnit
,
sendUnitId
,
receiveUnitId
);
repairBillDao
.
save
(
allotBill
);
}
}
private
void
saveModifyDetail5
(
RepairSendBill
allotBill
)
{
String
receiveUnit
=
allotBill
.
getReceiveUnit
();
String
sendUnit
=
allotBill
.
getSendUnit
();
Integer
receiveUnitId
=
getUnitId
(
receiveUnit
);
Integer
sendUnitId
=
getUnitId
(
sendUnit
);
if
(
receiveUnitId
!=
-
1
&&
sendUnitId
!=
-
1
)
{
allotBill
.
setReceiveUnitId
(
receiveUnitId
);
allotBill
.
setSendUnitId
(
sendUnitId
);
log
.
info
(
"[送修] 修正RepairSendBill历史数据,修正的发件单位:{},修正的接收单位:{},发送单位id:{},接收单位id:{}"
,
sendUnit
,
receiveUnit
,
sendUnitId
,
receiveUnitId
);
repairSendBillDao
.
save
(
allotBill
);
}
}
private
void
saveModifyDetail6
(
RepairDetail
allotBill
)
{
String
receiveUnit
=
allotBill
.
getLocationUnit
();
String
sendUnit
=
allotBill
.
getOwnUnit
();
Integer
receiveUnitId
=
getUnitId
(
receiveUnit
);
Integer
sendUnitId
=
getUnitId
(
sendUnit
);
if
(
receiveUnitId
!=
-
1
&&
sendUnitId
!=
-
1
)
{
allotBill
.
setLocationUnitId
(
receiveUnitId
);
allotBill
.
setOwnUnitId
(
sendUnitId
);
log
.
info
(
"[维修详情] 修正RepairDetail历史数据,修正的发件单位:{},修正的接收单位:{},发送单位id:{},接收单位id:{}"
,
sendUnit
,
receiveUnit
,
sendUnitId
,
receiveUnitId
);
repairDetailDao
.
save
(
allotBill
);
}
}
private
void
saveModifyDetail7
(
RepairBackBill
allotBill
)
{
String
receiveUnit
=
allotBill
.
getReceiveUnit
();
String
sendUnit
=
allotBill
.
getSendUnit
();
Integer
receiveUnitId
=
getUnitId
(
receiveUnit
);
Integer
sendUnitId
=
getUnitId
(
sendUnit
);
if
(
receiveUnitId
!=
-
1
&&
sendUnitId
!=
-
1
)
{
allotBill
.
setReceiveUnitId
(
receiveUnitId
);
allotBill
.
setSendUnitId
(
sendUnitId
);
log
.
info
(
"[维修退回] 修正RepairBackBill历史数据,修正的发件单位:{},修正的接收单位:{},发送单位id:{},接收单位id:{}"
,
sendUnit
,
receiveUnit
,
sendUnitId
,
receiveUnitId
);
repairBackBillDao
.
save
(
allotBill
);
}
}
private
void
saveModifyDetail8
(
DeviceUseReport
allotBill
)
{
String
receiveUnit
=
allotBill
.
getUnit
();
Integer
receiveUnitId
=
getUnitId
(
receiveUnit
);
if
(
receiveUnitId
!=
-
1
)
{
allotBill
.
setUnitId
(
receiveUnitId
);
log
.
info
(
"[用户使用报告] 修正DeviceUseReport历史数据,修正的单位:{},接收单位id:{}"
,
receiveUnit
,
receiveUnitId
);
deviceUseReportDao
.
save
(
allotBill
);
}
}
private
Integer
getUnitId
(
String
unitName
)
{
List
<
Units
>
units
=
unitsDao
.
findAllByName
(
unitName
).
orElse
(
Collections
.
emptyList
());
return
units
.
size
()
==
1
?
units
.
get
(
0
).
getUnitId
()
:
-
1
;
}
@Override
public
void
run
(
String
...
args
)
throws
Exception
{
log
.
info
(
"单位名称初始化-----"
);
initCheckDetailUnitName
();
}
}
dev-user/src/main/java/com/tykj/dev/device/user/subject/service/UserPublicService.java
浏览文件 @
ea1331d3
...
@@ -50,5 +50,4 @@ public interface UserPublicService {
...
@@ -50,5 +50,4 @@ public interface UserPublicService {
String
getAreaNameByUnitName
(
String
unitName
);
String
getAreaNameByUnitName
(
String
unitName
);
}
}
dev-user/src/main/java/com/tykj/dev/device/user/subject/service/impl/UserPublicServiceImpl.java
浏览文件 @
ea1331d3
...
@@ -124,6 +124,7 @@ public class UserPublicServiceImpl implements UserPublicService {
...
@@ -124,6 +124,7 @@ public class UserPublicServiceImpl implements UserPublicService {
}
}
}
}
@Override
@Override
public
String
findUnitsNameByUserId
(
Integer
userId
)
{
public
String
findUnitsNameByUserId
(
Integer
userId
)
{
User
resultEntity
=
userCache
.
findById
(
userId
);
User
resultEntity
=
userCache
.
findById
(
userId
);
...
...
dev-usereport/src/main/java/com/tykj/dev/device/usereport/controller/DeviceUseReportController.java
浏览文件 @
ea1331d3
...
@@ -102,7 +102,8 @@ public class DeviceUseReportController {
...
@@ -102,7 +102,8 @@ public class DeviceUseReportController {
DeviceUseReportDetailVo
deviceUseReportDetailVo
=
(
DeviceUseReportDetailVo
)
resultObj
.
getData
();
DeviceUseReportDetailVo
deviceUseReportDetailVo
=
(
DeviceUseReportDetailVo
)
resultObj
.
getData
();
//新建word模板
//新建word模板
WrodParameter
wrodParameter
=
deviceUseReportDetailVo
.
toWrodParameter
();
WrodParameter
wrodParameter
=
deviceUseReportDetailVo
.
toWrodParameter
();
Units
units
=
unitsService
.
findbyName
(
deviceUseReportDetailVo
.
getUnit
());
// Units units= unitsService.findbyName(deviceUseReportDetailVo.getUnit());
Units
units
=
unitsService
.
findById
(
deviceUseReportDetailVo
.
getUnitId
());
Instant
instant
=
deviceUseReportDetailVo
.
getCreateTime
().
toInstant
();
Instant
instant
=
deviceUseReportDetailVo
.
getCreateTime
().
toInstant
();
ZoneId
zone
=
ZoneId
.
systemDefault
();
ZoneId
zone
=
ZoneId
.
systemDefault
();
LocalDateTime
localDateTime
=
LocalDateTime
.
ofInstant
(
instant
,
zone
);
LocalDateTime
localDateTime
=
LocalDateTime
.
ofInstant
(
instant
,
zone
);
...
...
dev-usereport/src/main/java/com/tykj/dev/device/usereport/service/impl/DeviceUseReportServiceImpl.java
浏览文件 @
ea1331d3
差异被折叠。
点击展开。
dev-usereport/src/main/java/com/tykj/dev/device/usereport/subject/domin/DeviceUseReport.java
浏览文件 @
ea1331d3
...
@@ -45,6 +45,8 @@ public class DeviceUseReport {
...
@@ -45,6 +45,8 @@ public class DeviceUseReport {
*/
*/
@ApiModelProperty
(
value
=
"报告所属单位"
)
@ApiModelProperty
(
value
=
"报告所属单位"
)
private
String
unit
;
private
String
unit
;
@ApiModelProperty
(
value
=
"报告所属单位Id"
)
private
Integer
unitId
;
/**
/**
* 报告详情(入库数x退回数x退装数x维修数x销毁数x配发数x列装数)
* 报告详情(入库数x退回数x退装数x维修数x销毁数x配发数x列装数)
...
...
dev-usereport/src/main/java/com/tykj/dev/device/usereport/subject/vo/DeviceUseReportDetailVo.java
浏览文件 @
ea1331d3
...
@@ -19,6 +19,8 @@ public class DeviceUseReportDetailVo {
...
@@ -19,6 +19,8 @@ public class DeviceUseReportDetailVo {
private
String
title
;
private
String
title
;
@ApiModelProperty
(
value
=
"所属单位"
,
example
=
"省机要局"
)
@ApiModelProperty
(
value
=
"所属单位"
,
example
=
"省机要局"
)
private
String
unit
;
private
String
unit
;
@ApiModelProperty
(
value
=
"所属单位id"
,
example
=
"省机要局"
)
private
Integer
unitId
;
@ApiModelProperty
(
value
=
"装备类型总数"
,
example
=
"100"
)
@ApiModelProperty
(
value
=
"装备类型总数"
,
example
=
"100"
)
private
Integer
deviceNumber
;
private
Integer
deviceNumber
;
@ApiModelProperty
(
value
=
"入库数量"
,
example
=
"10"
)
@ApiModelProperty
(
value
=
"入库数量"
,
example
=
"10"
)
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论