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
a7f531c6
Commit
a7f531c6
authored
Jan 16, 2024
by
lisong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
列表合并
parent
5db5a39a
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
4 deletions
+8
-4
JgUseRegistrationMapper.xml
...api/src/main/resources/mapper/JgUseRegistrationMapper.xml
+2
-2
JgUseRegistrationController.java
...module/jg/biz/controller/JgUseRegistrationController.java
+6
-0
JgUseRegistrationServiceImpl.java
...ule/jg/biz/service/impl/JgUseRegistrationServiceImpl.java
+0
-2
No files found.
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-api/src/main/resources/mapper/JgUseRegistrationMapper.xml
View file @
a7f531c6
...
@@ -50,12 +50,12 @@
...
@@ -50,12 +50,12 @@
<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_company_code = #{dto.unitCode}
and ur.receive_company_code = #{dto.unitCode}
</if>
</if>
<if
test=
"dto.dataType == 'company' "
>
<if
test=
"dto.dataType == 'company' "
>
...
...
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-biz/src/main/java/com/yeejoin/amos/boot/module/jg/biz/controller/JgUseRegistrationController.java
View file @
a7f531c6
...
@@ -87,6 +87,12 @@ public class JgUseRegistrationController extends BaseController {
...
@@ -87,6 +87,12 @@ public class JgUseRegistrationController 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
info
=
getSelectedOrgInfo
();
if
(
info
.
getCompany
().
getLevel
().
equals
(
BaseController
.
COMPANY_TYPE_COMPANY
)){
dto
.
setDataType
(
BaseController
.
COMPANY_TYPE_COMPANY
);
}
else
{
dto
.
setDataType
(
BaseController
.
COMPANY_TYPE_SUPERVISION
);
}
return
ResponseHelper
.
buildResponse
(
jgUseRegistrationServiceImpl
.
getList
(
dto
,
page
,
dto
.
getRoleIds
()));
return
ResponseHelper
.
buildResponse
(
jgUseRegistrationServiceImpl
.
getList
(
dto
,
page
,
dto
.
getRoleIds
()));
}
}
...
...
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/JgUseRegistrationServiceImpl.java
View file @
a7f531c6
...
@@ -171,8 +171,6 @@ public class JgUseRegistrationServiceImpl extends BaseService<JgUseRegistrationD
...
@@ -171,8 +171,6 @@ public class JgUseRegistrationServiceImpl extends BaseService<JgUseRegistrationD
jgUseRegistration
.
setReceiveCompanyCode
(
splitMaintenanceUnitCode
[
0
]);
jgUseRegistration
.
setReceiveCompanyCode
(
splitMaintenanceUnitCode
[
0
]);
jgUseRegistration
.
setReceiveOrgName
(
splitMaintenanceUnitCode
[
1
]);
jgUseRegistration
.
setReceiveOrgName
(
splitMaintenanceUnitCode
[
1
]);
}
else
{
jgUseRegistration
.
setReceiveCompanyCode
(
"610000"
);
}
}
// 使用单位提交
// 使用单位提交
jgUseRegistration
.
setUseUnitCreditCode
(
reginParams
.
getCompany
().
getCompanyCode
());
jgUseRegistration
.
setUseUnitCreditCode
(
reginParams
.
getCompany
().
getCompanyCode
());
...
...
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