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
f4441554
Commit
f4441554
authored
Jan 16, 2024
by
zhangsen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
移装告知列表合并
parent
02615b58
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
2 deletions
+19
-2
JgTransferNoticeMapper.xml
...-api/src/main/resources/mapper/JgTransferNoticeMapper.xml
+14
-2
JgTransferNoticeController.java
.../module/jg/biz/controller/JgTransferNoticeController.java
+5
-0
No files found.
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-api/src/main/resources/mapper/JgTransferNoticeMapper.xml
View file @
f4441554
...
...
@@ -55,10 +55,22 @@
AND tjtn.transfer_type = '跨区移装'
</if>
</if>
<!-- <if test="type == 'supervision'">-->
<!-- AND tjtn.receive_org_code = #{orgCode} AND tjtn.instance_id IS NOT NULL-->
<!-- </if>-->
<!-- <if test="type == 'enterprise'">-->
<!-- AND tjtn.install_unit_credit_code = #{orgCode}-->
<!-- </if>-->
<if
test=
"roleIds != null and type == 'supervision'"
>
<foreach
collection=
'roleIds'
item=
'role'
open=
'and ('
close=
')'
separator=
'or'
>
tjtn.instance_status like concat('%',#{role},'%')
</foreach>
</if>
<if
test=
"type == 'supervision'"
>
AND tjtn.receive_org_code = #{orgCode}
AND tjtn.instance_id IS NOT NULL
AND tjtn.receive_org_code = #{orgCode}
</if>
<if
test=
"type == '
enterprise
'"
>
<if
test=
"type == '
company
'"
>
AND tjtn.install_unit_credit_code = #{orgCode}
</if>
</where>
...
...
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-biz/src/main/java/com/yeejoin/amos/boot/module/jg/biz/controller/JgTransferNoticeController.java
View file @
f4441554
...
...
@@ -145,6 +145,11 @@ public class JgTransferNoticeController extends BaseController {
)
{
Page
<
JgTransferNotice
>
page
=
new
Page
<>(
current
,
size
);
ReginParams
reginParams
=
getSelectedOrgInfo
();
if
(
reginParams
.
getCompany
().
getLevel
().
equals
(
BaseController
.
COMPANY_TYPE_COMPANY
)){
type
=
BaseController
.
COMPANY_TYPE_COMPANY
;
}
else
{
type
=
BaseController
.
COMPANY_TYPE_SUPERVISION
;
}
return
ResponseHelper
.
buildResponse
(
jgTransferNoticeService
.
queryForJgTransferNoticePage
(
page
,
model
,
type
,
reginParams
));
}
...
...
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