Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
D
device-back
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
1
议题
1
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
Matrix
device-back
Commits
66b1ee1c
提交
66b1ee1c
authored
12月 17, 2021
作者:
zhoushaopan
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
feat(3D模块): 修改0和1是否在机柜
修改0和1是否在机柜
上级
f1ccfaf3
隐藏空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
4 行增加
和
22 行删除
+4
-22
AllotBillController.java
...tykj/dev/device/allot/controller/AllotBillController.java
+0
-18
DeviceLibraryPosition.java
...v/device/library/subject/domin/DeviceLibraryPosition.java
+4
-4
没有找到文件。
dev-allot/src/main/java/com/tykj/dev/device/allot/controller/AllotBillController.java
浏览文件 @
66b1ee1c
...
@@ -931,8 +931,6 @@ public class AllotBillController {
...
@@ -931,8 +931,6 @@ public class AllotBillController {
}
}
//父任务未被完成 可以被撤回
//父任务未被完成 可以被撤回
Integer
billId
=
taskBto
.
getBillId
();
Integer
billId
=
taskBto
.
getBillId
();
String
title
=
taskBto
.
getTitle
();
AllotBill
allotBill
=
allotBillService
.
getOne
(
billId
);
AllotBill
allotBill
=
allotBillService
.
getOne
(
billId
);
Integer
currentUserId
=
userUtils
.
getCurrentUserId
();
Integer
currentUserId
=
userUtils
.
getCurrentUserId
();
List
<
Integer
>
idList
=
userPublicService
.
findOtherUser
(
currentUserId
);
List
<
Integer
>
idList
=
userPublicService
.
findOtherUser
(
currentUserId
);
...
@@ -946,18 +944,6 @@ public class AllotBillController {
...
@@ -946,18 +944,6 @@ public class AllotBillController {
.
map
(
User:
:
getUserId
)
.
map
(
User:
:
getUserId
)
.
collect
(
Collectors
.
toList
()));
.
collect
(
Collectors
.
toList
()));
}
}
//给同单位专管员和收件单位专管员推阅知
// messageBto1.setContent(title.substring(0,4)+"撤回"+title.substring(4));
// messageBto1.setContent("撤回对" + allotBill.getReceiveUnit()+"的型号为"+"的任务");
// MessageBto messageBto = new MessageBto(-1, parentTask.getBusinessType(), messageBto1.getContent(), idList, 1);
// BeanUtils.copyProperties(messageBto1,messageBto);
// messageBto.setTaskId(-1);
// messageService.add(messageBto);
// myWebSocket.sendMessage1();
// //将任务都完结
// taskService.moveToRevoke(taskBto);
// taskService.moveToRevoke(parentTask);
List
<
DeviceLibrary
>
deviceLibraryList
=
null
;
List
<
DeviceLibrary
>
deviceLibraryList
=
null
;
if
(
allotBill
.
getAllotCheckDetail
()
!=
null
)
{
if
(
allotBill
.
getAllotCheckDetail
()
!=
null
)
{
List
<
Integer
>
ids
=
StringSplitUtil
.
split
(
allotBill
.
getAllotCheckDetail
());
List
<
Integer
>
ids
=
StringSplitUtil
.
split
(
allotBill
.
getAllotCheckDetail
());
...
@@ -972,14 +958,11 @@ public class AllotBillController {
...
@@ -972,14 +958,11 @@ public class AllotBillController {
DeviceLogDto
deviceLogDto
=
new
DeviceLogDto
(
id
,
"对"
+
deviceLibrary
.
getName
()
+
"配发撤回"
,
null
,
null
,
null
);
DeviceLogDto
deviceLogDto
=
new
DeviceLogDto
(
id
,
"对"
+
deviceLibrary
.
getName
()
+
"配发撤回"
,
null
,
null
,
null
);
deviceLogDtos
.
add
(
deviceLogDto
);
deviceLogDtos
.
add
(
deviceLogDto
);
});
});
//设置装备为在库
//设置装备为在库
deviceLibraryService
.
updateLifeStatus2
(
2
,
ids
);
deviceLibraryService
.
updateLifeStatus2
(
2
,
ids
);
deviceLibraryList
=
deviceLibraryService
.
findByIds
(
ids
);
deviceLibraryList
=
deviceLibraryService
.
findByIds
(
ids
);
//添加日志
//添加日志
deviceLogService
.
addAllLog
(
deviceLogDtos
);
deviceLogService
.
addAllLog
(
deviceLogDtos
);
allotBill
.
setDeviceLibraries
(
deviceLibraryList
);
allotBill
.
setDeviceLibraries
(
deviceLibraryList
);
allotBillService
.
delete
(
allotBill
.
getId
());
allotBillService
.
delete
(
allotBill
.
getId
());
...
@@ -996,7 +979,6 @@ public class AllotBillController {
...
@@ -996,7 +979,6 @@ public class AllotBillController {
myWebSocket
.
sendMessage1
();
myWebSocket
.
sendMessage1
();
//将任务都完结
//将任务都完结
taskService
.
moveToRevoke
(
taskBto
);
taskService
.
moveToRevoke
(
taskBto
);
return
ResponseEntity
.
ok
(
messageBto
);
return
ResponseEntity
.
ok
(
messageBto
);
}
}
...
...
dev-library/src/main/java/com/tykj/dev/device/library/subject/domin/DeviceLibraryPosition.java
浏览文件 @
66b1ee1c
...
@@ -137,14 +137,14 @@ public class DeviceLibraryPosition implements Serializable {
...
@@ -137,14 +137,14 @@ public class DeviceLibraryPosition implements Serializable {
@Column
(
name
=
"Rotation"
,
columnDefinition
=
"TEXT"
)
@Column
(
name
=
"Rotation"
,
columnDefinition
=
"TEXT"
)
private
String
rotation
;
private
String
rotation
;
@ApiModelProperty
(
value
=
"是否在机柜中 "
,
notes
=
"0
是 1 否
"
)
@ApiModelProperty
(
value
=
"是否在机柜中 "
,
notes
=
"0
不在 1 在
"
)
private
Integer
ifCabinet
=
1
;
private
Integer
ifCabinet
=
0
;
@ApiModelProperty
(
value
=
"在几号机柜里"
,
notes
=
"1"
)
@ApiModelProperty
(
value
=
"在几号机柜里"
,
notes
=
"1"
)
private
Integer
cabinetPosition
;
private
Integer
cabinetPosition
;
@ApiModelProperty
(
value
=
"u位"
,
notes
=
"1"
)
@ApiModelProperty
(
value
=
"u位"
,
notes
=
"1
-1
"
)
private
Integer
uNum
;
private
String
uNum
;
@ApiModelProperty
(
"旋转信息vo"
)
@ApiModelProperty
(
"旋转信息vo"
)
@Transient
@Transient
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论