Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-boot-biz
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
项目统一框架
amos-boot-biz
Commits
02a321d0
Commit
02a321d0
authored
Aug 03, 2024
by
韩桐桐
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(jg):修复车用气瓶生成多条代办
parent
d7b5f37d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
13 deletions
+15
-13
JgVehicleInformationServiceImpl.java
.../jg/biz/service/impl/JgVehicleInformationServiceImpl.java
+15
-13
No files found.
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-biz/src/main/java/com/yeejoin/amos/boot/module/jg/biz/service/impl/JgVehicleInformationServiceImpl.java
View file @
02a321d0
...
...
@@ -383,19 +383,21 @@ public class JgVehicleInformationServiceImpl extends BaseService<JgVehicleInform
flowExecute
(
vehicleInformation
.
getSequenceNbr
(),
vehicleInformation
.
getInstanceId
(),
"0"
,
""
,
String
.
valueOf
(
map
.
get
(
"nextTaskId"
)),
String
.
valueOf
(
map
.
get
(
"equDefineCode"
)));
}
}
else
{
ArrayList
<
TaskModelDto
>
list
=
new
ArrayList
<>();
TaskModelDto
dto
=
new
TaskModelDto
();
TaskMessageDto
taskMessageDto
=
new
TaskMessageDto
();
BeanUtil
.
copyProperties
(
vehicleInformation
,
taskMessageDto
);
taskMessageDto
.
setEquipId
(
String
.
valueOf
(
map
.
get
(
"equipId"
)));
dto
.
setModel
(
taskMessageDto
);
dto
.
setTaskContent
(
"来自车用气瓶【"
+
vehicleInformation
.
getCarNumber
()
+
"】的登记业务办理,"
+
"【申请单号:"
+
vehicleInformation
.
getApplyNo
()
+
"】"
);
dto
.
setTaskCode
(
vehicleInformation
.
getApplyNo
());
dto
.
setTaskType
(
String
.
valueOf
(
BusinessTypeEnum
.
JG_VEHICLE_GAS_APPLICATION
.
getCode
()));
dto
.
setRelationId
(
String
.
valueOf
(
vehicleInformation
.
getSequenceNbr
()));
dto
.
setNextExecuteUser
(
""
);
list
.
add
(
dto
);
commonService
.
buildTaskModel
(
list
);
if
(
ObjectUtils
.
isEmpty
(
map
.
get
(
"instanceId"
)))
{
ArrayList
<
TaskModelDto
>
list
=
new
ArrayList
<>();
TaskModelDto
dto
=
new
TaskModelDto
();
TaskMessageDto
taskMessageDto
=
new
TaskMessageDto
();
BeanUtil
.
copyProperties
(
vehicleInformation
,
taskMessageDto
);
taskMessageDto
.
setEquipId
(
String
.
valueOf
(
map
.
get
(
"equipId"
)));
dto
.
setModel
(
taskMessageDto
);
dto
.
setTaskContent
(
"来自车用气瓶【"
+
vehicleInformation
.
getCarNumber
()
+
"】的登记业务办理,"
+
"【申请单号:"
+
vehicleInformation
.
getApplyNo
()
+
"】"
);
dto
.
setTaskCode
(
vehicleInformation
.
getApplyNo
());
dto
.
setTaskType
(
String
.
valueOf
(
BusinessTypeEnum
.
JG_VEHICLE_GAS_APPLICATION
.
getCode
()));
dto
.
setRelationId
(
String
.
valueOf
(
vehicleInformation
.
getSequenceNbr
()));
dto
.
setNextExecuteUser
(
""
);
list
.
add
(
dto
);
commonService
.
buildTaskModel
(
list
);
}
}
// 设备数据存历史数据,在流程完成时使用
commonService
.
saveOrUpdateHistory
(
BusinessTypeEnum
.
JG_VEHICLE_GAS_APPLICATION
.
getName
(),
JSON
.
parseArray
(
JSON
.
toJSONString
(
equipmentLists
)),
null
,
vehicleInformation
.
getSequenceNbr
()
+
""
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment