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
9f5ebd45
Commit
9f5ebd45
authored
Feb 27, 2025
by
suhuiguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.车用气瓶过滤监管机构bug
parent
8c629e76
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
12 deletions
+14
-12
JgVehicleInformationMapper.xml
.../src/main/resources/mapper/JgVehicleInformationMapper.xml
+11
-11
JgVehicleInformationController.java
...ule/jg/biz/controller/JgVehicleInformationController.java
+3
-1
No files found.
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-api/src/main/resources/mapper/JgVehicleInformationMapper.xml
View file @
9f5ebd45
...
...
@@ -36,21 +36,21 @@
and tjvi.use_unit_credit_code = #{dto.useUnitCode}
</if>
<if
test=
"dto.dataType == 'supervision' and client == 'jgAudit' "
>
AND tjvi.receive_company_code = #{dto.useUnitCreditCode}
AND tjvi.receive_company_code = #{dto.useUnitCreditCode}
AND tjvi.status
<![CDATA[<>]]>
'使用单位待提交'
<if
test=
"dto.orgBranchCode != null and dto.orgBranchCode != ''"
>
and tjvi.org_branch_code = #{dto.orgBranchCode}
</if>
</if>
<if
test=
"dto.dataType == 'company' "
>
<if
test=
"dto.dataType == 'supervision' and client != 'jgAudit' "
>
AND tjvi.org_branch_code LIKE CONCAT(#{dto.orgBranchCode}, '%')
</if>
<if
test=
"dto.dataType == 'company'"
>
and tjvi.use_unit_credit_code = #{dto.useUnitCreditCode}
<if
test=
"dto.orgBranchCode != null and dto.orgBranchCode != ''"
>
and tjvi.org_branch_code = #{dto.orgBranchCode}
</if>
</if>
<if
test=
"dto.orgBranchCode != null and dto.orgBranchCode != ''"
>
<choose>
<when
test=
"client == 'jgAudit'"
>
and tjvi.org_branch_code = #{dto.orgBranchCode}
</when>
<otherwise>
and tjvi.org_branch_code LIKE CONCAT(#{dto.orgBranchCode}, '%')
</otherwise>
</choose>
</if>
</where>
order by
<if
test=
"sort != null"
>
...
...
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-biz/src/main/java/com/yeejoin/amos/boot/module/jg/biz/controller/JgVehicleInformationController.java
View file @
9f5ebd45
...
...
@@ -144,7 +144,9 @@ public class JgVehicleInformationController extends BaseController {
dto
.
setDataType
(
BaseController
.
COMPANY_TYPE_COMPANY
);
}
else
{
dto
.
setDataType
(
BaseController
.
COMPANY_TYPE_SUPERVISION
);
dto
.
setOrgBranchCode
(
dto
.
getOrgBranchCode
()
!=
null
?
dto
.
getOrgBranchCode
()
:
info
.
getCompany
().
getOrgCode
());
if
(
client
.
equals
(
"jgLook"
)){
dto
.
setOrgBranchCode
(
dto
.
getOrgBranchCode
()
!=
null
?
dto
.
getOrgBranchCode
()
:
info
.
getCompany
().
getOrgCode
());
}
}
Page
<
Map
<
String
,
Object
>>
list
=
jgVehicleInformationServiceImpl
.
getPageList
(
dto
,
sort
,
page
,
dto
.
getRoleIds
(),
client
);
list
.
getRecords
().
forEach
(
x
->
{
...
...
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