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
4af4d5fa
Commit
4af4d5fa
authored
Jan 15, 2024
by
caotao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
列表合并后后端代码调整
parent
bb5a6af5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
4 deletions
+12
-4
JgChangeRegistrationReformMapper.xml
...ain/resources/mapper/JgChangeRegistrationReformMapper.xml
+4
-4
JgChangeRegistrationReformController.java
.../biz/controller/JgChangeRegistrationReformController.java
+8
-0
No files found.
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-api/src/main/resources/mapper/JgChangeRegistrationReformMapper.xml
View file @
4af4d5fa
...
@@ -46,16 +46,16 @@
...
@@ -46,16 +46,16 @@
<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>
<if
test=
"roleIds != null and dto.dataType == '
jg
'"
>
<if
test=
"roleIds != null and dto.dataType == '
supervision
'"
>
<foreach
collection=
'roleIds'
item=
'role'
open=
'and ('
close=
')'
separator=
'or'
>
<foreach
collection=
'roleIds'
item=
'role'
open=
'and ('
close=
')'
separator=
'or'
>
instance_status like concat('%',#{role},'%')
instance_status like concat('%',#{role},'%')
</foreach>
</foreach>
</if>
</if>
<if
test=
"dto.dataType == '
jg
' "
>
<if
test=
"dto.dataType == '
supervision
' "
>
and ur.receive_org_code = #{dto.
unit
Code}
and ur.receive_org_code = #{dto.
receiveOrg
Code}
</if>
</if>
<if
test=
"dto.dataType == 'company' "
>
<if
test=
"dto.dataType == 'company' "
>
and ur.use_unit_credit_code = #{dto.u
n
itCode}
and ur.use_unit_credit_code = #{dto.u
seUnitCred
itCode}
</if>
</if>
</where>
</where>
order by ur.rec_date desc
order by ur.rec_date desc
...
...
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-biz/src/main/java/com/yeejoin/amos/boot/module/jg/biz/controller/JgChangeRegistrationReformController.java
View file @
4af4d5fa
...
@@ -95,6 +95,14 @@ public class JgChangeRegistrationReformController extends BaseController {
...
@@ -95,6 +95,14 @@ public class JgChangeRegistrationReformController extends BaseController {
@RequestParam
(
value
=
"current"
)
int
current
,
@RequestParam
(
value
=
"current"
)
int
current
,
@RequestParam
(
value
=
"size"
)
int
size
)
{
@RequestParam
(
value
=
"size"
)
int
size
)
{
Page
<
Map
<
String
,
Object
>>
page
=
new
Page
<>(
current
,
size
);
Page
<
Map
<
String
,
Object
>>
page
=
new
Page
<>(
current
,
size
);
ReginParams
reginParams
=
getSelectedOrgInfo
();
if
(
reginParams
.
getCompany
().
getLevel
().
equals
(
COMPANY_TYPE_COMPANY
)){
dto
.
setDataType
(
COMPANY_TYPE_COMPANY
);
dto
.
setUnitCode
(
reginParams
.
getCompany
().
getCompanyCode
());
}
else
{
dto
.
setDataType
(
COMPANY_TYPE_SUPERVISION
);
dto
.
setReceiveOrgCode
(
reginParams
.
getCompany
().
getCompanyCode
());
}
return
ResponseHelper
.
buildResponse
(
jgChangeRegistrationReformServiceImpl
.
getList
(
dto
,
page
,
dto
.
getRoleIds
()));
return
ResponseHelper
.
buildResponse
(
jgChangeRegistrationReformServiceImpl
.
getList
(
dto
,
page
,
dto
.
getRoleIds
()));
}
}
...
...
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