Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
D
device-back
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
1
议题
1
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
Matrix
device-back
Commits
c1561ad8
提交
c1561ad8
authored
7月 13, 2022
作者:
zhoushaopan
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
feat(配发模块,自查模块): 修改了日志,打印500
修改了日志,打印500
上级
68134e09
显示空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
56 行增加
和
7 行删除
+56
-7
MatchingDeviceSaveVo.java
.../dev/device/matching/subject/vo/MatchingDeviceSaveVo.java
+1
-1
HistoryDeviceBillRun.java
...ykj/dev/device/selfcheck/config/HistoryDeviceBillRun.java
+6
-6
SelfCheckController.java
.../dev/device/selfcheck/controller/SelfCheckController.java
+20
-0
HistoryDeviceBill.java
...dev/device/selfcheck/subject/domin/HistoryDeviceBill.java
+29
-0
没有找到文件。
dev-matching/src/main/java/com/tykj/dev/device/matching/subject/vo/MatchingDeviceSaveVo.java
浏览文件 @
c1561ad8
...
...
@@ -40,7 +40,7 @@ public class MatchingDeviceSaveVo {
@ApiModelProperty
(
value
=
"创建单位Id"
)
private
Integer
createUnitId
;
@NotNull
(
message
=
"
create
UnitId不能为空"
)
@NotNull
(
message
=
"
location
UnitId不能为空"
)
@ApiModelProperty
(
value
=
"所在单位Id"
)
private
Integer
locationUnitId
;
...
...
dev-selfcheck/src/main/java/com/tykj/dev/device/selfcheck/config/HistoryDeviceBillRun.java
浏览文件 @
c1561ad8
...
...
@@ -36,12 +36,12 @@ public class HistoryDeviceBillRun {
private
Map
<
Integer
,
List
<
HistoryDeviceBill
>>
map
=
new
HashMap
<>();
@PostConstruct
private
void
initHistoryDeviceBill
(){
log
.
info
(
"历史自查存储数据表开始同步...."
);
this
.
map
=
deviceBillDao
.
findAll
().
stream
().
collect
(
Collectors
.
groupingBy
(
HistoryDeviceBill:
:
getBillId
));
log
.
info
(
"历史自查存储数据表同步成功...."
);
}
//
@PostConstruct
//
private void initHistoryDeviceBill(){
//
log.info("历史自查存储数据表开始同步....");
//
this.map = deviceBillDao.findAll().stream().collect(Collectors.groupingBy(HistoryDeviceBill::getBillId));
//
log.info("历史自查存储数据表同步成功....");
//
}
}
dev-selfcheck/src/main/java/com/tykj/dev/device/selfcheck/controller/SelfCheckController.java
浏览文件 @
c1561ad8
...
...
@@ -405,6 +405,13 @@ public class SelfCheckController {
historyDeviceBill
.
setOwnUnit
(
deviceLibrary
.
getOwnUnit
());
historyDeviceBill
.
setCheckResult
(
1
);
historyDeviceBill
.
setSeqNumber
(
deviceLibrary
.
getSeqNumber
());
historyDeviceBill
.
setProdNumber
(
deviceLibrary
.
getProdNumber
());
historyDeviceBill
.
setInvisibleRangeName
(
deviceLibrary
.
getInvisibleRangeName
());
historyDeviceBill
.
setIsPart
(
deviceLibrary
.
getIsPart
());
historyDeviceBill
.
setTypeName
(
deviceLibrary
.
getTypeName
());
historyDeviceBill
.
setSecretLevelName
(
deviceLibrary
.
getSecretLevelName
());
historyDeviceBillList
.
add
(
historyDeviceBill
);
});
//保存
...
...
@@ -437,6 +444,13 @@ public class SelfCheckController {
historyDeviceBill
.
setOwnUnit
(
deviceLibrary
.
getOwnUnit
());
historyDeviceBill
.
setCheckResult
(
1
);
historyDeviceBill
.
setSeqNumber
(
deviceLibrary
.
getSeqNumber
());
historyDeviceBill
.
setProdNumber
(
deviceLibrary
.
getProdNumber
());
historyDeviceBill
.
setInvisibleRangeName
(
deviceLibrary
.
getInvisibleRangeName
());
historyDeviceBill
.
setIsPart
(
deviceLibrary
.
getIsPart
());
historyDeviceBill
.
setTypeName
(
deviceLibrary
.
getTypeName
());
historyDeviceBill
.
setSecretLevelName
(
deviceLibrary
.
getSecretLevelName
());
historyDeviceBillList
.
add
(
historyDeviceBill
);
});
//保存
...
...
@@ -466,6 +480,12 @@ public class SelfCheckController {
historyDeviceBill
.
setOwnUnit
(
deviceLibrary
.
getOwnUnit
());
historyDeviceBill
.
setCheckResult
(
0
);
historyDeviceBill
.
setSeqNumber
(
deviceLibrary
.
getSeqNumber
());
historyDeviceBill
.
setProdNumber
(
deviceLibrary
.
getProdNumber
());
historyDeviceBill
.
setInvisibleRangeName
(
deviceLibrary
.
getInvisibleRangeName
());
historyDeviceBill
.
setIsPart
(
deviceLibrary
.
getIsPart
());
historyDeviceBill
.
setTypeName
(
deviceLibrary
.
getTypeName
());
historyDeviceBill
.
setSecretLevelName
(
deviceLibrary
.
getSecretLevelName
());
historyDeviceBillList
.
add
(
historyDeviceBill
);
});
//保存
...
...
dev-selfcheck/src/main/java/com/tykj/dev/device/selfcheck/subject/domin/HistoryDeviceBill.java
浏览文件 @
c1561ad8
...
...
@@ -75,5 +75,34 @@ public class HistoryDeviceBill {
@ApiModelProperty
(
value
=
"业务id"
)
private
Integer
billId
;
/**
* 可见范围
*/
@ApiModelProperty
(
value
=
"可见范围"
)
private
String
invisibleRangeName
;
/**
* 形态
*/
@ApiModelProperty
(
value
=
"形态"
)
private
String
typeName
;
/**
* 生产序列号
*/
@ApiModelProperty
(
value
=
"生产序列号"
)
private
String
prodNumber
;
/**
* 是不是配件(0:不是,1:是) 0 装备 1 附件
*/
@ApiModelProperty
(
value
=
"是不是配件(0:不是,1:是)"
)
private
Integer
isPart
;
@ApiModelProperty
(
value
=
"密级"
)
private
String
secretLevelName
;
}
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论