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
b9acc4b0
Commit
b9acc4b0
authored
Jan 25, 2024
by
suhuiguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1,单位更名变更修改
parent
514c50ed
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
19 additions
and
8 deletions
+19
-8
JgChangeRegistrationNameDto.java
...s/boot/module/jg/api/dto/JgChangeRegistrationNameDto.java
+7
-1
JgChangeRegistrationName.java
...s/boot/module/jg/api/entity/JgChangeRegistrationName.java
+5
-0
JgChangeRegistrationNameMapper.java
.../module/jg/api/mapper/JgChangeRegistrationNameMapper.java
+1
-2
JgChangeRegistrationNameMapper.xml
.../main/resources/mapper/JgChangeRegistrationNameMapper.xml
+3
-1
JgChangeRegistrationNameController.java
...jg/biz/controller/JgChangeRegistrationNameController.java
+0
-1
CmWorkflowServiceImpl.java
...oot/module/jg/biz/service/impl/CmWorkflowServiceImpl.java
+1
-2
JgChangeRegistrationNameServiceImpl.java
...biz/service/impl/JgChangeRegistrationNameServiceImpl.java
+2
-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/dto/JgChangeRegistrationNameDto.java
View file @
b9acc4b0
...
...
@@ -2,9 +2,9 @@ package com.yeejoin.amos.boot.module.jg.api.dto;
import
com.baomidou.mybatisplus.annotation.TableField
;
import
com.fasterxml.jackson.annotation.JsonFormat
;
import
com.yeejoin.amos.boot.biz.common.dto.BaseDto
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
com.yeejoin.amos.boot.biz.common.dto.BaseDto
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
...
...
@@ -111,4 +111,10 @@ public class JgChangeRegistrationNameDto extends BaseDto {
*/
private
String
nextExecuteUserIds
;
/**
* 转办后执行人的Id逗号分割
*/
private
String
transferToUserIds
;
}
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-api/src/main/java/com/yeejoin/amos/boot/module/jg/api/entity/JgChangeRegistrationName.java
View file @
b9acc4b0
...
...
@@ -161,4 +161,9 @@ public class JgChangeRegistrationName extends BaseEntity {
@TableField
(
"next_execute_user_ids"
)
private
String
nextExecuteUserIds
;
/**
* 转办后执行人的Id逗号分割
*/
@TableField
(
"transfer_to_user_ids"
)
private
String
transferToUserIds
;
}
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-api/src/main/java/com/yeejoin/amos/boot/module/jg/api/mapper/JgChangeRegistrationNameMapper.java
View file @
b9acc4b0
...
...
@@ -2,7 +2,6 @@ package com.yeejoin.amos.boot.module.jg.api.mapper;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.yeejoin.amos.boot.module.jg.api.dto.JgChangeRegistrationNameDto
;
import
com.yeejoin.amos.boot.module.jg.api.dto.JgScrapCancelDto
;
import
com.yeejoin.amos.boot.module.jg.api.entity.JgChangeRegistrationName
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
org.apache.ibatis.annotations.Param
;
...
...
@@ -24,5 +23,5 @@ public interface JgChangeRegistrationNameMapper extends BaseMapper<JgChangeRegis
void
deleteHistoryInfoById
(
@Param
(
"code"
)
String
code
);
Page
<
Map
<
String
,
Object
>>
getListPage
(
@Param
(
"page"
)
Page
<
Map
<
String
,
Object
>>
page
,
@Param
(
"dto"
)
JgChangeRegistrationNameDto
dto
,
@Param
(
"roleIds"
)
List
<
String
>
roleIds
,
@Param
(
"companyCode"
)
String
companyCode
);
Page
<
Map
<
String
,
Object
>>
getListPage
(
@Param
(
"page"
)
Page
<
Map
<
String
,
Object
>>
page
,
@Param
(
"dto"
)
JgChangeRegistrationNameDto
dto
,
@Param
(
"roleIds"
)
List
<
String
>
roleIds
,
@Param
(
"companyCode"
)
String
companyCode
,
@Param
(
"currentUserId"
)
String
exeUserId
);
}
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-api/src/main/resources/mapper/JgChangeRegistrationNameMapper.xml
View file @
b9acc4b0
...
...
@@ -35,7 +35,8 @@
ur.promoter,
ur.create_user_id as createUserId,
ur.next_executor_ids as nextExecutorIds,
ur.next_execute_user_ids as nextExecuteUserIds
ur.next_execute_user_ids as nextExecuteUserIds,
ur.next_task_id as nextTaskId
from tzs_jg_change_registration_name ur
<where>
and ur.is_delete = 0
...
...
@@ -62,6 +63,7 @@
<if
test=
"dto.type == 'company'"
>
and ur.use_unit_credit_code = #{dto.useUnitCreditCode}
</if>
and (1=1 or ur.transfer_to_user_ids like concat('%',#{currentUserId},'%'))
</where>
order by ur.rec_date desc
</select>
...
...
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-biz/src/main/java/com/yeejoin/amos/boot/module/jg/biz/controller/JgChangeRegistrationNameController.java
View file @
b9acc4b0
...
...
@@ -143,5 +143,4 @@ public class JgChangeRegistrationNameController extends BaseController {
return
ResponseHelper
.
buildResponse
(
WorkFlowStatusEnum
.
getInfoList
(
code
));
}
}
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/CmWorkflowServiceImpl.java
View file @
b9acc4b0
...
...
@@ -55,7 +55,7 @@ public class CmWorkflowServiceImpl implements ICmWorkflowService {
@Override
public
ProcessTaskDTO
completeOrReject
(
String
taskId
,
TaskResultDTO
data
,
String
operate
)
{
ProcessTaskDTO
processTaskDTO
=
null
;
ProcessTaskDTO
processTaskDTO
;
try
{
if
(
PASS_OPERATE
.
equals
(
operate
)){
// 通过操作
...
...
@@ -63,7 +63,6 @@ public class CmWorkflowServiceImpl implements ICmWorkflowService {
processTaskDTO
=
Workflow
.
taskV2Client
.
completeByTaskFroStandard
(
taskId
,
data
).
getResult
();
}
else
if
(
REJECT_OPERATE
.
equals
(
operate
))
{
// 驳回操作
// todo 需要工作流适配调整后 进行切换 Workflow.taskV2Client.reject(taskId, data);
log
.
info
(
"开始请求工作流驳回任务接口:/reject/{taskId},请求参数:{},{}"
,
taskId
,
JSONObject
.
toJSONString
(
data
));
processTaskDTO
=
Workflow
.
taskV2Client
.
reject
(
taskId
,
data
).
getResult
();
}
else
{
...
...
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/JgChangeRegistrationNameServiceImpl.java
View file @
b9acc4b0
...
...
@@ -698,6 +698,6 @@ public class JgChangeRegistrationNameServiceImpl extends BaseService<JgChangeReg
dto
.
setReceiveOrgCode
(
receiveOrgIdList
[
0
]);
}
}
return
this
.
baseMapper
.
getListPage
(
page
,
dto
,
roleIds
,
companyCode
);
return
this
.
baseMapper
.
getListPage
(
page
,
dto
,
roleIds
,
companyCode
,
RequestContext
.
getExeUserId
()
);
}
}
\ No newline at end of file
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