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
29edc511
Commit
29edc511
authored
Jan 12, 2024
by
suhuiguang
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop_tzs_register' of…
Merge branch 'develop_tzs_register' of
http://36.40.66.175:5000/moa/amos-boot-biz
into develop_tzs_register
parents
7cd71696
bd00a7f2
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
22 additions
and
3 deletions
+22
-3
JgEnableDisable.java
...ejoin/amos/boot/module/jg/api/entity/JgEnableDisable.java
+11
-0
BusinessTypeEnum.java
...ejoin/amos/boot/module/jg/api/enums/BusinessTypeEnum.java
+2
-2
JgChangeRegistrationReformServiceImpl.java
...z/service/impl/JgChangeRegistrationReformServiceImpl.java
+2
-0
JgEnableDisableServiceImpl.java
...odule/jg/biz/service/impl/JgEnableDisableServiceImpl.java
+0
-0
JgScrapCancelServiceImpl.java
.../module/jg/biz/service/impl/JgScrapCancelServiceImpl.java
+7
-1
No files found.
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-api/src/main/java/com/yeejoin/amos/boot/module/jg/api/entity/JgEnableDisable.java
View file @
29edc511
...
@@ -136,4 +136,15 @@ public class JgEnableDisable extends BaseEntity {
...
@@ -136,4 +136,15 @@ public class JgEnableDisable extends BaseEntity {
*/
*/
@TableField
(
value
=
"next_task_id"
)
@TableField
(
value
=
"next_task_id"
)
private
String
nextTaskId
;
private
String
nextTaskId
;
@TableField
(
value
=
"create_user_company_name"
)
private
String
createUserCompanyName
;
@TableField
(
exist
=
false
)
private
String
equList
;
@TableField
(
exist
=
false
)
private
String
supervisoryCode
;
}
}
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-api/src/main/java/com/yeejoin/amos/boot/module/jg/api/enums/BusinessTypeEnum.java
View file @
29edc511
...
@@ -32,8 +32,8 @@ public enum BusinessTypeEnum {
...
@@ -32,8 +32,8 @@ public enum BusinessTypeEnum {
JG_RENOVATION_REGISTRATION
(
"111"
,
"改造变更登记"
),
JG_RENOVATION_REGISTRATION
(
"111"
,
"改造变更登记"
),
JG_EQUIPMENT_ST
OP
(
"112-1"
,
"设备启用"
),
JG_EQUIPMENT_ST
ART
(
"112-1"
,
"设备启用"
),
JG_EQUIPMENT_ST
ART
(
"112-2"
,
"设备停用"
),
JG_EQUIPMENT_ST
OP
(
"112-2"
,
"设备停用"
),
JG_EQUIPMENT_MOVE
(
"113-1"
,
"移装报废"
),
JG_EQUIPMENT_MOVE
(
"113-1"
,
"移装报废"
),
JG_EQUIPMENT_CANCEL
(
"113-2"
,
"注销报废"
),
JG_EQUIPMENT_CANCEL
(
"113-2"
,
"注销报废"
),
...
...
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/JgChangeRegistrationReformServiceImpl.java
View file @
29edc511
...
@@ -372,6 +372,8 @@ public class JgChangeRegistrationReformServiceImpl extends BaseService<JgChangeR
...
@@ -372,6 +372,8 @@ public class JgChangeRegistrationReformServiceImpl extends BaseService<JgChangeR
this
.
update
(
jgChangeRegistrationReform
,
lambda
);
this
.
update
(
jgChangeRegistrationReform
,
lambda
);
// commonServiceImpl.deleteTaskModel(instanceId);
// commonServiceImpl.deleteTaskModel(instanceId);
JSONObject
jsonObject
=
JSONObject
.
parseObject
(
JSONObject
.
toJSONString
(
jgChangeRegistrationReform
));
JSONObject
jsonObject
=
JSONObject
.
parseObject
(
JSONObject
.
toJSONString
(
jgChangeRegistrationReform
));
jsonObject
.
put
(
"flowStatus"
,
commonServiceImpl
.
getDictionaryCodeByName
(
jgChangeRegistrationReform
.
getAuditStatus
()));
jsonObject
.
put
(
"flowStatusLabel"
,
jgChangeRegistrationReform
.
getAuditStatus
());
jsonObject
.
put
(
"nextTaskId"
,
jgChangeRegistrationReform
.
getNextTaskId
());
jsonObject
.
put
(
"nextTaskId"
,
jgChangeRegistrationReform
.
getNextTaskId
());
jsonObject
.
put
(
"nextExecuteUser"
,
jgChangeRegistrationReform
.
getNextExecutorIds
());
jsonObject
.
put
(
"nextExecuteUser"
,
jgChangeRegistrationReform
.
getNextExecutorIds
());
jsonObject
.
put
(
"taskType"
,
BusinessTypeEnum
.
JG_RENOVATION_REGISTRATION
.
getCode
());
jsonObject
.
put
(
"taskType"
,
BusinessTypeEnum
.
JG_RENOVATION_REGISTRATION
.
getCode
());
...
...
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/JgEnableDisableServiceImpl.java
View file @
29edc511
This diff is collapsed.
Click to expand it.
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/JgScrapCancelServiceImpl.java
View file @
29edc511
...
@@ -528,7 +528,7 @@ public class JgScrapCancelServiceImpl extends BaseService<JgScrapCancelDto, JgSc
...
@@ -528,7 +528,7 @@ public class JgScrapCancelServiceImpl extends BaseService<JgScrapCancelDto, JgSc
String
nextUserIds
=
workflowResultDtos
.
get
(
0
).
getNextExecutorUserIds
();
String
nextUserIds
=
workflowResultDtos
.
get
(
0
).
getNextExecutorUserIds
();
jgScrapCancel
.
setNextExecuteUserIds
(
nextUserIds
);
jgScrapCancel
.
setNextExecuteUserIds
(
nextUserIds
);
jgScrapCancel
.
setPromoter
(
reginParams
.
getUserModel
().
getUserId
());
jgScrapCancel
.
setPromoter
(
reginParams
.
getUserModel
().
getUserId
());
jgScrapCancel
.
setNextExecuteIds
(
Objects
.
isNull
(
workflowResultDto
)
?
null
:
workflowResultDto
.
getNextExecutorRoleIds
());
jgScrapCancel
.
setNextExecuteIds
(
workflowResultDto
.
getNextExecutorRoleIds
());
this
.
update
(
jgScrapCancel
,
lambda
);
this
.
update
(
jgScrapCancel
,
lambda
);
// 删除待办
// 删除待办
...
@@ -536,9 +536,15 @@ public class JgScrapCancelServiceImpl extends BaseService<JgScrapCancelDto, JgSc
...
@@ -536,9 +536,15 @@ public class JgScrapCancelServiceImpl extends BaseService<JgScrapCancelDto, JgSc
jsonObject
.
put
(
"nextTaskId"
,
jgScrapCancel
.
getNextTaskId
());
jsonObject
.
put
(
"nextTaskId"
,
jgScrapCancel
.
getNextTaskId
());
jsonObject
.
put
(
"nextExecuteUser"
,
jgScrapCancel
.
getNextExecuteIds
());
jsonObject
.
put
(
"nextExecuteUser"
,
jgScrapCancel
.
getNextExecuteIds
());
jsonObject
.
put
(
"taskType"
,
businessTypeJudgment
(
jgScrapCancel
.
getCancelType
()).
getCode
());
jsonObject
.
put
(
"taskType"
,
businessTypeJudgment
(
jgScrapCancel
.
getCancelType
()).
getCode
());
jsonObject
.
put
(
"flowStatus"
,
this
.
getTaskCodeByName
(
jgScrapCancel
.
getAuditStatus
()));
jsonObject
.
put
(
"flowStatusLabel"
,
jgScrapCancel
.
getAuditStatus
());
commonService
.
rollbackTask
(
instanceId
,
jsonObject
);
commonService
.
rollbackTask
(
instanceId
,
jsonObject
);
}
}
private
Integer
getTaskCodeByName
(
String
auditStatus
)
{
return
commonService
.
getDictionaryCodeByName
(
auditStatus
);
}
@Transactional
@Transactional
public
void
flowExecute
(
Long
id
,
String
instanceId
,
String
operate
,
String
comment
)
{
public
void
flowExecute
(
Long
id
,
String
instanceId
,
String
operate
,
String
comment
)
{
try
{
try
{
...
...
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