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
a48a8651
Commit
a48a8651
authored
Jan 25, 2024
by
刘凡
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/develop_tzs_register' into develop_tzs_register
parents
2fce1cb0
fd132ba3
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
23 additions
and
13 deletions
+23
-13
JgChangeRegistrationReform.java
...boot/module/jg/api/entity/JgChangeRegistrationReform.java
+5
-1
JgChangeRegistrationReformMapper.java
...odule/jg/api/mapper/JgChangeRegistrationReformMapper.java
+1
-1
JgChangeRegistrationReformMapper.xml
...ain/resources/mapper/JgChangeRegistrationReformMapper.xml
+9
-7
JgChangeRegistrationReformServiceImpl.java
...z/service/impl/JgChangeRegistrationReformServiceImpl.java
+8
-4
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/JgChangeRegistrationReform.java
View file @
a48a8651
...
@@ -241,5 +241,9 @@ public class JgChangeRegistrationReform extends BaseEntity {
...
@@ -241,5 +241,9 @@ public class JgChangeRegistrationReform extends BaseEntity {
*/
*/
@TableField
(
"next_execute_user_ids"
)
@TableField
(
"next_execute_user_ids"
)
private
String
nextExecuteUserIds
;
private
String
nextExecuteUserIds
;
/*
* 历史转办人
*/
@TableField
(
value
=
"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/JgChangeRegistrationReformMapper.java
View file @
a48a8651
...
@@ -19,7 +19,7 @@ import java.util.Map;
...
@@ -19,7 +19,7 @@ import java.util.Map;
* @date 2023-12-20
* @date 2023-12-20
*/
*/
public
interface
JgChangeRegistrationReformMapper
extends
BaseMapper
<
JgChangeRegistrationReform
>
{
public
interface
JgChangeRegistrationReformMapper
extends
BaseMapper
<
JgChangeRegistrationReform
>
{
Page
<
Map
<
String
,
Object
>>
getListPage
(
@Param
(
"page"
)
Page
<
Map
<
String
,
Object
>>
page
,
@Param
(
"dto"
)
JgChangeRegistrationReformDto
dto
,
@Param
(
"roleIds"
)
List
<
String
>
roleIds
);
Page
<
Map
<
String
,
Object
>>
getListPage
(
@Param
(
"page"
)
Page
<
Map
<
String
,
Object
>>
page
,
@Param
(
"dto"
)
JgChangeRegistrationReformDto
dto
,
@Param
(
"roleIds"
)
List
<
String
>
roleIds
,
@Param
(
"currentUserId"
)
String
currentUserId
);
Map
<
String
,
Object
>
getDetail
(
@Param
(
"id"
)
String
id
);
Map
<
String
,
Object
>
getDetail
(
@Param
(
"id"
)
String
id
);
...
...
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-api/src/main/resources/mapper/JgChangeRegistrationReformMapper.xml
View file @
a48a8651
...
@@ -34,15 +34,15 @@
...
@@ -34,15 +34,15 @@
<where>
<where>
and ur.is_delete = 0
and ur.is_delete = 0
<!-- <if test="dto.equCategory != null and dto.equCategory != ''">-->
<!-- <if test="dto.equCategory != null and dto.equCategory != ''">-->
<!-- and jri.EQU_CATEGORY = #{dto.equCategory}-->
<!-- and jri.EQU_CATEGORY = #{dto.equCategory}-->
<!-- </if>-->
<!-- </if>-->
<if
test=
"dto.auditStatus != null and dto.auditStatus != ''"
>
<if
test=
"dto.auditStatus != null and dto.auditStatus != ''"
>
and ur.audit_status = #{dto.auditStatus}
and ur.audit_status = #{dto.auditStatus}
</if>
</if>
<!-- <if test="dto.equCode != null and dto.equCode != ''">-->
<!-- <if test="dto.equCode != null and dto.equCode != ''">-->
<!-- and jri.EQU_CODE like concat('%',#{dto.equCode},'%')-->
<!-- and jri.EQU_CODE like concat('%',#{dto.equCode},'%')-->
<!-- </if>-->
<!-- </if>-->
<if
test=
"dto.useUnitName != null and dto.useUnitName != ''"
>
<if
test=
"dto.useUnitName != null and dto.useUnitName != ''"
>
and ur.use_unit_name like concat('%',#{dto.useUnitName},'%')
and ur.use_unit_name like concat('%',#{dto.useUnitName},'%')
</if>
</if>
...
@@ -57,6 +57,9 @@
...
@@ -57,6 +57,9 @@
<if
test=
"dto.dataType != null and dto.dataType == 'company' "
>
<if
test=
"dto.dataType != null and dto.dataType == 'company' "
>
and ur.use_unit_credit_code = #{dto.useUnitCreditCode}
and ur.use_unit_credit_code = #{dto.useUnitCreditCode}
</if>
</if>
<if
test=
"currentUserId != null and currentUserId != '' "
>
or ur.transfer_to_user_ids like concat('%',#{currentUserId},'%')
</if>
</where>
</where>
order by ur.rec_date desc
order by ur.rec_date desc
</select>
</select>
...
@@ -86,7 +89,6 @@
...
@@ -86,7 +89,6 @@
where jri.RECORD = #{id}
where jri.RECORD = #{id}
</select>
</select>
<select
id=
"getInspectDetail"
resultType=
"java.util.Map"
>
<select
id=
"getInspectDetail"
resultType=
"java.util.Map"
>
SELECT INSPECT_TYPE as inspectType,
SELECT INSPECT_TYPE as inspectType,
...
...
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 @
a48a8651
...
@@ -53,7 +53,7 @@ import java.util.stream.Collectors;
...
@@ -53,7 +53,7 @@ import java.util.stream.Collectors;
@Service
@Service
public
class
JgChangeRegistrationReformServiceImpl
extends
BaseService
<
JgChangeRegistrationReformDto
,
JgChangeRegistrationReform
,
JgChangeRegistrationReformMapper
>
implements
IJgChangeRegistrationReformService
{
public
class
JgChangeRegistrationReformServiceImpl
extends
BaseService
<
JgChangeRegistrationReformDto
,
JgChangeRegistrationReform
,
JgChangeRegistrationReformMapper
>
implements
IJgChangeRegistrationReformService
{
private
final
static
String
bussinessType
=
"改造登记"
;
private
final
static
String
bussinessType
=
"改造登记"
;
@Autowired
@Autowired
TzsServiceFeignClient
tzsServiceFeignClient
;
TzsServiceFeignClient
tzsServiceFeignClient
;
@Autowired
@Autowired
...
@@ -116,7 +116,9 @@ public class JgChangeRegistrationReformServiceImpl extends BaseService<JgChangeR
...
@@ -116,7 +116,9 @@ public class JgChangeRegistrationReformServiceImpl extends BaseService<JgChangeR
* @return
* @return
*/
*/
public
Page
<
Map
<
String
,
Object
>>
getList
(
JgChangeRegistrationReformDto
dto
,
Page
<
Map
<
String
,
Object
>>
page
,
List
<
String
>
roleIds
)
{
public
Page
<
Map
<
String
,
Object
>>
getList
(
JgChangeRegistrationReformDto
dto
,
Page
<
Map
<
String
,
Object
>>
page
,
List
<
String
>
roleIds
)
{
Page
<
Map
<
String
,
Object
>>
listPage
=
this
.
baseMapper
.
getListPage
(
page
,
dto
,
roleIds
);
ReginParams
reginParams
=
JSONObject
.
parseObject
(
redisUtils
.
get
(
RedisKey
.
buildReginKey
(
RequestContext
.
getExeUserId
(),
RequestContext
.
getToken
())).
toString
(),
ReginParams
.
class
);
String
currentUserId
=
reginParams
.
getUserModel
().
getUserId
();
Page
<
Map
<
String
,
Object
>>
listPage
=
this
.
baseMapper
.
getListPage
(
page
,
dto
,
roleIds
,
currentUserId
);
return
listPage
;
return
listPage
;
}
}
...
@@ -654,9 +656,9 @@ public class JgChangeRegistrationReformServiceImpl extends BaseService<JgChangeR
...
@@ -654,9 +656,9 @@ public class JgChangeRegistrationReformServiceImpl extends BaseService<JgChangeR
}
}
/**
/**
* @deprecated 根据监管码或者新的使用登记编码
* @param supervisoryCode
* @param supervisoryCode
* @return
* @return
* @deprecated 根据监管码或者新的使用登记编码
*/
*/
public
String
getCode
(
String
supervisoryCode
)
{
public
String
getCode
(
String
supervisoryCode
)
{
if
(!
ObjectUtils
.
isEmpty
(
supervisoryCode
)
&&
supervisoryCode
.
length
()
>
5
)
{
if
(!
ObjectUtils
.
isEmpty
(
supervisoryCode
)
&&
supervisoryCode
.
length
()
>
5
)
{
...
@@ -896,14 +898,16 @@ public class JgChangeRegistrationReformServiceImpl extends BaseService<JgChangeR
...
@@ -896,14 +898,16 @@ public class JgChangeRegistrationReformServiceImpl extends BaseService<JgChangeR
taskMessageDto
.
setSequenceNbr
(
jgChangeRegistrationReform
.
getSequenceNbr
());
taskMessageDto
.
setSequenceNbr
(
jgChangeRegistrationReform
.
getSequenceNbr
());
//设置流程下一步执行人角色
//设置流程下一步执行人角色
taskMessageDto
.
setNextExecuteIds
(
jgChangeRegistrationReform
.
getNextExecutorIds
());
taskMessageDto
.
setNextExecuteIds
(
jgChangeRegistrationReform
.
getNextExecutorIds
());
//设置nextTaskid
taskMessageDto
.
setNextTaskId
(
jgChangeRegistrationReform
.
getNextTaskId
());
return
taskMessageDto
;
return
taskMessageDto
;
}
}
/**
/**
* @deprecated 根据流程执行情况获取下一步执行公司code用于工作流过滤人员
* @param operate
* @param operate
* @param jgChangeRegistrationReform
* @param jgChangeRegistrationReform
* @return
* @return
* @deprecated 根据流程执行情况获取下一步执行公司code用于工作流过滤人员
*/
*/
private
String
getNextUserOrgCode
(
String
operate
,
JgChangeRegistrationReform
jgChangeRegistrationReform
)
{
private
String
getNextUserOrgCode
(
String
operate
,
JgChangeRegistrationReform
jgChangeRegistrationReform
)
{
if
(
"0"
.
equals
(
operate
))
{
if
(
"0"
.
equals
(
operate
))
{
...
...
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