Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
dd_school
Overview
Overview
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wangqi
dd_school
Commits
c39a75be
Commit
c39a75be
authored
Jun 17, 2025
by
wangqi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
校产责任人查询
parent
0a605521
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
smart-campus/src/main/resources/mapper/schoolEquipment/EquipmentLedgerMapper.xml
+2
-0
No files found.
smart-campus/src/main/resources/mapper/schoolEquipment/EquipmentLedgerMapper.xml
View file @
c39a75be
...
@@ -48,6 +48,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
...
@@ -48,6 +48,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if
test=
"classificationCode != null and classificationCode != ''"
>
and el.classification_code like concat('%', #{classificationCode}, '%')
</if>
<if
test=
"classificationCode != null and classificationCode != ''"
>
and el.classification_code like concat('%', #{classificationCode}, '%')
</if>
<if
test=
"equipmentState != null and equipmentState != ''"
>
and el.equipment_state = #{equipmentState}
</if>
<if
test=
"equipmentState != null and equipmentState != ''"
>
and el.equipment_state = #{equipmentState}
</if>
<if
test=
"affiliationType != null and affiliationType != ''"
>
and el.affiliation_type = #{affiliationType}
</if>
<if
test=
"affiliationType != null and affiliationType != ''"
>
and el.affiliation_type = #{affiliationType}
</if>
<if
test=
"zrr != null and zrr != ''"
>
and el.zrr like concat('%', #{zrr}, '%')
</if>
order by el.create_time DESC
order by el.create_time DESC
</select>
</select>
...
@@ -64,6 +65,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
...
@@ -64,6 +65,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if
test=
"classificationCode != null and classificationCode != ''"
>
and el.classification_code like concat('%', #{classificationCode}, '%')
</if>
<if
test=
"classificationCode != null and classificationCode != ''"
>
and el.classification_code like concat('%', #{classificationCode}, '%')
</if>
<if
test=
"equipmentState != null and equipmentState != ''"
>
and el.equipment_state = #{equipmentState}
</if>
<if
test=
"equipmentState != null and equipmentState != ''"
>
and el.equipment_state = #{equipmentState}
</if>
<if
test=
"affiliationType != null and affiliationType != ''"
>
and el.affiliation_type = #{affiliationType}
</if>
<if
test=
"affiliationType != null and affiliationType != ''"
>
and el.affiliation_type = #{affiliationType}
</if>
<if
test=
"zrr != null and zrr != ''"
>
and el.zrr like concat('%', #{zrr}, '%')
</if>
order by el.create_time DESC
order by el.create_time DESC
</select>
</select>
...
...
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