Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
ADC-uniformity
Project
Project
Details
Activity
Releases
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
凡昌松
ADC-uniformity
Commits
001c61f3
Commit
001c61f3
authored
Feb 11, 2022
by
qk
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update:合格证核查查询接口添加企业ID条件
parent
cd566839
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
1 deletion
+10
-1
CheckCertificateMainInfoDao.xml
...ces/mybatis/mapper/system/CheckCertificateMainInfoDao.xml
+10
-1
No files found.
adcbs-check/src/main/resources/mybatis/mapper/system/CheckCertificateMainInfoDao.xml
View file @
001c61f3
...
@@ -37,10 +37,13 @@
...
@@ -37,10 +37,13 @@
count_id
count_id
) CCCCC ON ( ccmi.ID = CCCCC.cccccId )
) CCCCC ON ( ccmi.ID = CCCCC.cccccId )
WHERE
WHERE
ru.USERNAME = #{baseId}
1=1
<if
test=
"vehicleModel != null and vehicleModel != ''"
>
<if
test=
"vehicleModel != null and vehicleModel != ''"
>
and ccmi.VEHICLE_MODEL like '%'|| #{vehicleModel}||'%' escape '|'
and ccmi.VEHICLE_MODEL like '%'|| #{vehicleModel}||'%' escape '|'
</if>
</if>
<if
test=
"baseId !=null and baseId != ''"
>
and ccmi.BASE_ID = #{baseId}
</if>
<if
test=
"vehicleGroup != null and vehicleGroup != ''"
>
<if
test=
"vehicleGroup != null and vehicleGroup != ''"
>
and ccmi.VEHICLE_GROUP = #{vehicleGroup}
and ccmi.VEHICLE_GROUP = #{vehicleGroup}
</if>
</if>
...
@@ -114,6 +117,9 @@
...
@@ -114,6 +117,9 @@
<if
test=
"checkState != null and checkState != ''"
>
<if
test=
"checkState != null and checkState != ''"
>
and ccmi.CHECK_STATE = #{checkState}
and ccmi.CHECK_STATE = #{checkState}
</if>
</if>
<if
test=
"baseId !=null and baseId != ''"
>
and ccmi.BASE_ID = #{baseId}
</if>
<if
test=
"operator != null and operator != ''"
>
<if
test=
"operator != null and operator != ''"
>
and ru.USERNAME like '%'|| #{operator}||'%' escape '|'
and ru.USERNAME like '%'|| #{operator}||'%' escape '|'
</if>
</if>
...
@@ -142,6 +148,9 @@
...
@@ -142,6 +148,9 @@
<if
test=
"checkState != null and checkState != ''"
>
<if
test=
"checkState != null and checkState != ''"
>
and ccmi.CHECK_STATE = #{checkState}
and ccmi.CHECK_STATE = #{checkState}
</if>
</if>
<if
test=
"baseId !=null and baseId != ''"
>
and ccmi.BASE_ID = #{baseId}
</if>
<if
test=
"operator != null and operator != ''"
>
<if
test=
"operator != null and operator != ''"
>
and ru.USERNAME like '%'|| #{operator}||'%' escape '|'
and ru.USERNAME like '%'|| #{operator}||'%' escape '|'
</if>
</if>
...
...
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