Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
D
device-back
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
1
议题
1
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
Matrix
device-back
Commits
d13ae5cc
提交
d13ae5cc
authored
10月 09, 2021
作者:
zjm
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
fix(清退模块): 把生成中止任务的入口注掉
把生成中止任务的入口注掉
上级
37828098
隐藏空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
8 行增加
和
9 行删除
+8
-9
RepelDevController.java
...kj/dev/device/sendback/controller/RepelDevController.java
+0
-1
RepelBusinessServiceImpl.java
...evice/sendback/service/impl/RepelBusinessServiceImpl.java
+8
-8
没有找到文件。
dev-sendback/src/main/java/com/tykj/dev/device/sendback/controller/RepelDevController.java
浏览文件 @
d13ae5cc
...
@@ -29,7 +29,6 @@ public class RepelDevController {
...
@@ -29,7 +29,6 @@ public class RepelDevController {
@Autowired
@Autowired
RepelBusinessService
repelBusinessService
;
RepelBusinessService
repelBusinessService
;
@Autowired
@Autowired
AgainStorageBillService
againStorageBillService
;
AgainStorageBillService
againStorageBillService
;
...
...
dev-sendback/src/main/java/com/tykj/dev/device/sendback/service/impl/RepelBusinessServiceImpl.java
浏览文件 @
d13ae5cc
...
@@ -118,9 +118,9 @@ public class RepelBusinessServiceImpl implements RepelBusinessService {
...
@@ -118,9 +118,9 @@ public class RepelBusinessServiceImpl implements RepelBusinessService {
* @param deviceRepel
* @param deviceRepel
* @param userId
* @param userId
*/
*/
@Override
//
@Override
@Transactional
(
rollbackFor
=
Exception
.
class
)
//
@Transactional(rollbackFor = Exception.class)
public
void
initiateRepel
(
DeviceRepel
deviceRepel
,
Integer
userId
,
SecurityUser
securityUser
)
{
public
void
initiateRepel
1
(
DeviceRepel
deviceRepel
,
Integer
userId
,
SecurityUser
securityUser
)
{
//生成一个清退任务 省清退任务 类型为 清退统计 17 16清退
//生成一个清退任务 省清退任务 类型为 清退统计 17 16清退
//参照选择的范围给单位都发送 市清退任务待执行
//参照选择的范围给单位都发送 市清退任务待执行
//如果省本身有需要清退的型号,给省自己发起一个代办任务 本级装备待清退
//如果省本身有需要清退的型号,给省自己发起一个代办任务 本级装备待清退
...
@@ -266,9 +266,9 @@ public class RepelBusinessServiceImpl implements RepelBusinessService {
...
@@ -266,9 +266,9 @@ public class RepelBusinessServiceImpl implements RepelBusinessService {
//测试版本
//测试版本
//
@Override
@Override
//
@Transactional(rollbackFor = Exception.class)
@Transactional
(
rollbackFor
=
Exception
.
class
)
public
void
initiateRepel
1
(
DeviceRepel
deviceRepel
,
Integer
userId
,
SecurityUser
securityUser
)
{
public
void
initiateRepel
(
DeviceRepel
deviceRepel
,
Integer
userId
,
SecurityUser
securityUser
)
{
//生成一个清退任务 省清退任务 类型为 清退统计 17 16清退
//生成一个清退任务 省清退任务 类型为 清退统计 17 16清退
//参照选择的范围给单位都发送 市清退任务待执行
//参照选择的范围给单位都发送 市清退任务待执行
//如果省本身有需要清退的型号,给省自己发起一个代办任务 本级装备待清退
//如果省本身有需要清退的型号,给省自己发起一个代办任务 本级装备待清退
...
@@ -432,7 +432,7 @@ public class RepelBusinessServiceImpl implements RepelBusinessService {
...
@@ -432,7 +432,7 @@ public class RepelBusinessServiceImpl implements RepelBusinessService {
);
);
//直属单位是否存所属所在不同的设备
//直属单位是否存所属所在不同的设备
if
(
deviceLibraries
.
size
()!=
0
){
if
(
deviceLibraries
.
size
()!=
0
){
suspensionBillBusinessService
.
initiateSuspensionBill2
(
deviceLibraries
.
stream
().
map
(
DeviceLibrary:
:
getId
).
collect
(
Collectors
.
toList
()),
securityUser
);
//
suspensionBillBusinessService.initiateSuspensionBill2(deviceLibraries.stream().map(DeviceLibrary::getId).collect(Collectors.toList()), securityUser);
}
}
if
(
directlUnderUnit
.
get
()
&&
count
.
get
()
!=
0
)
{
if
(
directlUnderUnit
.
get
()
&&
count
.
get
()
!=
0
)
{
...
@@ -548,7 +548,7 @@ public class RepelBusinessServiceImpl implements RepelBusinessService {
...
@@ -548,7 +548,7 @@ public class RepelBusinessServiceImpl implements RepelBusinessService {
);
);
//判断是否有维修的设备 发起中止任务
//判断是否有维修的设备 发起中止任务
if
(
deviceLibraries
.
size
()!=
0
){
if
(
deviceLibraries
.
size
()!=
0
){
suspensionBillBusinessService
.
initiateSuspensionBill
(
deviceLibraries
.
stream
().
map
(
DeviceLibrary:
:
getId
).
collect
(
Collectors
.
toList
()),
units
,
user
);
//
suspensionBillBusinessService.initiateSuspensionBill(deviceLibraries.stream().map(DeviceLibrary::getId).collect(Collectors.toList()), units,user);
}
}
if
(
list
==
null
||
list
.
size
()
==
0
)
{
if
(
list
==
null
||
list
.
size
()
==
0
)
{
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论