Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
D
device-back
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
1
议题
1
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
Matrix
device-back
Commits
ca5be953
提交
ca5be953
authored
8月 23, 2021
作者:
zhoushaopan
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
feat(维修模块,自查模块): 修改
新增维修管理排序,自查增加手持终端信息
上级
883b4363
全部展开
隐藏空白字符变更
内嵌
并排
正在显示
7 个修改的文件
包含
11 行增加
和
3 行删除
+11
-3
DeviceModelSort.java
...rc/main/java/com/tykj/dev/misc/utils/DeviceModelSort.java
+0
-1
RepairController.java
...m/tykj/dev/device/repair/controller/RepairController.java
+0
-0
RepairDetailDao.java
...om/tykj/dev/device/repair/repository/RepairDetailDao.java
+2
-0
SelfCheckController.java
.../dev/device/selfcheck/controller/SelfCheckController.java
+2
-1
SelfCheckBill.java
...ykj/dev/device/selfcheck/subject/domin/SelfCheckBill.java
+3
-0
SelfCheckSaveVo.java
...tykj/dev/device/selfcheck/subject/vo/SelfCheckSaveVo.java
+3
-0
MessageBto.java
...com/tykj/dev/device/user/read/subject/bto/MessageBto.java
+1
-1
没有找到文件。
dev-misc/src/main/java/com/tykj/dev/misc/utils/DeviceModelSort.java
浏览文件 @
ca5be953
...
...
@@ -73,7 +73,6 @@ public class DeviceModelSort {
* @return 排序号码
*/
public
static
Integer
toModelSort
(
String
model
)
{
System
.
out
.
println
(
model
);
Integer
sort
=
mapModelSort
.
get
(
model
);
if
(
sort
==
null
){
sort
=
9999
;
...
...
dev-repair/src/main/java/com/tykj/dev/device/repair/controller/RepairController.java
浏览文件 @
ca5be953
差异被折叠。
点击展开。
dev-repair/src/main/java/com/tykj/dev/device/repair/repository/RepairDetailDao.java
浏览文件 @
ca5be953
...
...
@@ -35,4 +35,6 @@ public interface RepairDetailDao extends JpaRepository<RepairDetail, Integer>, J
@Modifying
@Query
(
"update RepairDetail r set r.record3 = :record where r.id = :id"
)
void
updateRecord3
(
String
record
,
Integer
id
);
List
<
RepairDetail
>
findAllByIdIn
(
List
<
Integer
>
ids
);
}
dev-selfcheck/src/main/java/com/tykj/dev/device/selfcheck/controller/SelfCheckController.java
浏览文件 @
ca5be953
...
...
@@ -317,6 +317,7 @@ public class SelfCheckController {
selfExaminationBillEntity
.
setCheckedCount
(
selfCheckSaveVo
.
getCheckedCount
());
selfExaminationBillEntity
.
setCheckingCount
(
selfCheckSaveVo
.
getCheckingCount
());
selfExaminationBillEntity
.
setUserbId
(
selfCheckSaveVo
.
getUserbId
());
selfExaminationBillEntity
.
setHandheldTerminalInformation
(
selfCheckSaveVo
.
getHandheldTerminalInformation
());
if
(
selfCheckSaveVo
.
getUnStockDevices
()!=
null
&&
selfCheckSaveVo
.
getUnStockDevices
().
size
()>
0
){
selfExaminationBillEntity
.
setUnStockDetail
(
JacksonUtil
.
toJSon
(
selfCheckSaveVo
.
getUnStockDevices
()));
}
...
...
@@ -368,7 +369,7 @@ public class SelfCheckController {
List
<
Integer
>
idList
=
new
ArrayList
<>();
idList
.
add
(
selfCheckSaveVo
.
getUserbId
());
//阅知
MessageBto
messageBto
=
new
MessageBto
(
taskBto
.
getId
(),
taskBto
.
getBusinessType
(),
"完成终端自查"
,
idList
,
0
);
MessageBto
messageBto
=
new
MessageBto
(
taskBto
.
getId
(),
taskBto
.
getBusinessType
(),
"完成终端自查"
,
idList
,
0
,
0
);
messageService
.
add
(
messageBto
);
}
else
{
...
...
dev-selfcheck/src/main/java/com/tykj/dev/device/selfcheck/subject/domin/SelfCheckBill.java
浏览文件 @
ca5be953
...
...
@@ -137,6 +137,9 @@ public class SelfCheckBill {
@ApiModelProperty
(
value
=
"自查未入库新增装备详情(RFID卡号以.为分隔符)"
)
private
String
newDeviceDetail
;
@ApiModelProperty
(
value
=
"手持终端信息"
)
private
String
handheldTerminalInformation
;
@ApiModelProperty
(
value
=
"检查人"
)
@Transient
private
String
checkUser
;
...
...
dev-selfcheck/src/main/java/com/tykj/dev/device/selfcheck/subject/vo/SelfCheckSaveVo.java
浏览文件 @
ca5be953
...
...
@@ -64,6 +64,9 @@ public class SelfCheckSaveVo {
@ApiModelProperty
(
value
=
"非在库装备集合"
)
private
List
<
DeviceLibrary
>
unStockDevices
;
@ApiModelProperty
(
value
=
"手持终端信息"
)
private
String
handheldTerminalInformation
;
public
SelfCheckBill
toDo
()
{
SelfCheckBill
selfExaminationBillEntity
=
new
SelfCheckBill
();
BeanUtils
.
copyProperties
(
this
,
selfExaminationBillEntity
);
...
...
dev-user/src/main/java/com/tykj/dev/device/user/read/subject/bto/MessageBto.java
浏览文件 @
ca5be953
...
...
@@ -74,7 +74,7 @@ public class MessageBto {
private
Integer
isHighLight
=
0
;
@ApiModelProperty
(
value
=
"是否置顶(0:不是,1:是)"
)
private
Integer
isTop
;
private
Integer
isTop
=
0
;
/**
* bto类转化为do类
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论