Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
D
device-back
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
1
议题
1
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
Matrix
device-back
Commits
680aafb9
提交
680aafb9
authored
6月 08, 2021
作者:
zhoushaopan
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[业务模块]修改名称
上级
52ea93f0
隐藏空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
11 行增加
和
7 行删除
+11
-7
AllotBillController.java
...tykj/dev/device/allot/controller/AllotBillController.java
+2
-2
BackController.java
.../com/tykj/dev/device/allot/controller/BackController.java
+3
-3
TaskController.java
...a/com/tykj/dev/device/task/controller/TaskController.java
+2
-0
application-prod.properties
dev-union/src/main/resources/application-prod.properties
+4
-2
没有找到文件。
dev-allot/src/main/java/com/tykj/dev/device/allot/controller/AllotBillController.java
浏览文件 @
680aafb9
...
@@ -694,8 +694,8 @@ public class AllotBillController {
...
@@ -694,8 +694,8 @@ public class AllotBillController {
taskService
.
addInvolveUser
(
taskBto
,
userUtils
.
getCurrentUserId
());
taskService
.
addInvolveUser
(
taskBto
,
userUtils
.
getCurrentUserId
());
//判断业务状态是否被操作
//判断业务状态是否被操作
List
<
StatusEnum
>
statusEnums
=
new
ArrayList
<>();
List
<
StatusEnum
>
statusEnums
=
new
ArrayList
<>();
statusEnums
.
add
(
StatusEnum
.
WAIT_UPLOAD_CROSS_FILE
);
statusEnums
.
add
(
StatusEnum
.
WAIT_UPLOAD_CROSS_FILE
);
//待上传横向配发单
statusEnums
.
add
(
StatusEnum
.
WAIT_UPLOAD_ALLOT_FILE
);
statusEnums
.
add
(
StatusEnum
.
WAIT_UPLOAD_ALLOT_FILE
);
//待上传纵向配发单
TaskDisposeUtil
.
isNotSubmit
(
taskBto
.
getBillStatus
(),
statusEnums
);
TaskDisposeUtil
.
isNotSubmit
(
taskBto
.
getBillStatus
(),
statusEnums
);
//获取账单
//获取账单
AllotBill
allotBill
=
allotBillService
.
getOne
(
taskBto
.
getBillId
());
AllotBill
allotBill
=
allotBillService
.
getOne
(
taskBto
.
getBillId
());
...
...
dev-allot/src/main/java/com/tykj/dev/device/allot/controller/BackController.java
浏览文件 @
680aafb9
...
@@ -141,7 +141,7 @@ public class BackController {
...
@@ -141,7 +141,7 @@ public class BackController {
TaskBto
saveEntity
;
TaskBto
saveEntity
;
//直接发起
//直接发起
if
(
allotBillSaveVo
.
getTaskId
()==
null
)
{
if
(
allotBillSaveVo
.
getTaskId
()==
null
)
{
TaskBto
taskBto
=
new
TaskBto
(
StatusEnum
.
ALLOT_BACKING
.
id
,
allotBillSaveVo
.
getSendUnit
()+
"发给了"
+
allotBillSaveVo
.
getReceiveUnit
()+
"退回业务"
,
null
,
"."
,
billId
,
22
,
userPublicService
.
findUnitIdByName
(
allotBillSaveVo
.
getReceiveUnit
()),
1
,
null
,
userIds
);
TaskBto
taskBto
=
new
TaskBto
(
StatusEnum
.
ALLOT_BACKING
.
id
,
"退回业务(对方单位):"
+
allotBillSaveVo
.
getReceiveUnit
()
,
null
,
"."
,
billId
,
22
,
userPublicService
.
findUnitIdByName
(
allotBillSaveVo
.
getReceiveUnit
()),
1
,
null
,
userIds
);
saveEntity
=
taskService
.
start
(
taskBto
);
saveEntity
=
taskService
.
start
(
taskBto
);
}
}
//从草稿发起
//从草稿发起
...
@@ -155,7 +155,7 @@ public class BackController {
...
@@ -155,7 +155,7 @@ public class BackController {
saveEntity
=
taskService
.
moveToSpecial
(
taskBto1
,
StatusEnum
.
ALLOT_BACKING
,
0
);
saveEntity
=
taskService
.
moveToSpecial
(
taskBto1
,
StatusEnum
.
ALLOT_BACKING
,
0
);
}
}
//生成发件方上传退回单的子任务
//生成发件方上传退回单的子任务
TaskBto
taskBto2
=
new
TaskBto
(
StatusEnum
.
WAIT_UPLOAD_BACK_FILE_2
.
id
,
"
发给了"
+
allotBillSaveVo
.
getReceiveUnit
()+
"退回业务"
,
saveEntity
.
getId
(),
saveEntity
.
getNodeIdDetail
()
+
saveEntity
.
getId
()
+
"."
,
saveEntity
.
getBillId
(),
22
,
userPublicService
.
findUnitIdByName
(
allotBackBill1
.
getSendUnit
()),
0
,
null
,
Collections
.
singletonList
(
0
));
TaskBto
taskBto2
=
new
TaskBto
(
StatusEnum
.
WAIT_UPLOAD_BACK_FILE_2
.
id
,
"
退回业务(对方单位):"
+
allotBillSaveVo
.
getReceiveUnit
()
,
saveEntity
.
getId
(),
saveEntity
.
getNodeIdDetail
()
+
saveEntity
.
getId
()
+
"."
,
saveEntity
.
getBillId
(),
22
,
userPublicService
.
findUnitIdByName
(
allotBackBill1
.
getSendUnit
()),
0
,
null
,
Collections
.
singletonList
(
0
));
taskService
.
start
(
taskBto2
);
taskService
.
start
(
taskBto2
);
List
<
FileVo
>
fileVoList
=
new
ArrayList
<>();
List
<
FileVo
>
fileVoList
=
new
ArrayList
<>();
//存装备日志
//存装备日志
...
@@ -484,7 +484,7 @@ public class BackController {
...
@@ -484,7 +484,7 @@ public class BackController {
allotBackBill
.
setSendUseraId
(
userId
);
allotBackBill
.
setSendUseraId
(
userId
);
AllotBackBill
allotBackBill1
=
allotBackBillService
.
addEntity
(
allotBackBill
);
AllotBackBill
allotBackBill1
=
allotBackBillService
.
addEntity
(
allotBackBill
);
//发起草稿任务
//发起草稿任务
TaskBto
taskBto
=
new
TaskBto
(
StatusEnum
.
BACK_DRAFT
.
id
,
"退回业务"
,
null
,
"."
,
allotBackBill1
.
getId
(),
22
,
userUtils
.
getCurrentUnitId
(),
0
,
null
,
userIds
);
TaskBto
taskBto
=
new
TaskBto
(
StatusEnum
.
BACK_DRAFT
.
id
,
"退回业务
(草稿)
"
,
null
,
"."
,
allotBackBill1
.
getId
(),
22
,
userUtils
.
getCurrentUnitId
(),
0
,
null
,
userIds
);
TaskBto
taskBto1
=
taskService
.
start
(
taskBto
);
TaskBto
taskBto1
=
taskService
.
start
(
taskBto
);
//返回保存成功的id
//返回保存成功的id
Integer
id
=
taskBto1
.
getId
();
Integer
id
=
taskBto1
.
getId
();
...
...
dev-task/src/main/java/com/tykj/dev/device/task/controller/TaskController.java
浏览文件 @
680aafb9
...
@@ -124,7 +124,9 @@ public class TaskController {
...
@@ -124,7 +124,9 @@ public class TaskController {
if
(!
hasCondition
){
if
(!
hasCondition
){
List
<
Integer
>
taskIds
=
taskUserVos
.
stream
().
map
(
TaskUserVo:
:
getId
).
collect
(
Collectors
.
toList
());
List
<
Integer
>
taskIds
=
taskUserVos
.
stream
().
map
(
TaskUserVo:
:
getId
).
collect
(
Collectors
.
toList
());
List
<
UserRecord
>
userRecords
=
userRecordDao
.
findAllByUserId
(
userId
);
List
<
UserRecord
>
userRecords
=
userRecordDao
.
findAllByUserId
(
userId
);
//2代表配发
if
(
taskSelectVo
.
getSelectNum
()==
2
)
{
if
(
taskSelectVo
.
getSelectNum
()==
2
)
{
//待办类型(1:省内待办,2:省外待办)
if
(
taskSelectVo
.
getType
()
==
1
)
{
if
(
taskSelectVo
.
getType
()
==
1
)
{
if
(
userRecords
.
isEmpty
())
{
if
(
userRecords
.
isEmpty
())
{
UserRecord
userRecord
=
new
UserRecord
();
UserRecord
userRecord
=
new
UserRecord
();
...
...
dev-union/src/main/resources/application-prod.properties
浏览文件 @
680aafb9
spring.datasource.driver-class-name
=
com.oscar.Driver
spring.datasource.driver-class-name
=
com.oscar.Driver
spring.datasource.url
=
jdbc:oscar://10.153.4.10:2003/OSRDB
spring.datasource.url
=
jdbc:oscar://10.153.4.10:2003/OSRDB
#spring.datasource.url=jdbc:oscar://192.168.0.80:2003/OSRDB
spring.datasource.username
=
SYSDBA
spring.datasource.username
=
SYSDBA
spring.datasource.password
=
szoscar55
spring.datasource.password
=
szoscar55
spring.jpa.database-platform
=
org.hibernate.dialect.OscarDialect
spring.jpa.database-platform
=
org.hibernate.dialect.OscarDialect
file.path
=
/opt/zb/
file.path
=
/opt/zb/
preview.path
=
http://10.153.4.11:8088/equip/file/
preview.path
=
http://10.153.4.11:8088/equip/file/
\ No newline at end of file
#
preview.path
=
http://192.168.0.80:8088/equip/file/
\ No newline at end of file
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论