Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
ydsj_tp
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
jiangyun
ydsj_tp
Commits
c5c4bfcb
Commit
c5c4bfcb
authored
Oct 13, 2024
by
jiang'yun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
首次提交
parent
0d1c0616
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
ruoyi-admin/src/main/resources/mapper/system/TpDeptMapper.xml
+1
-1
ruoyi-admin/src/main/resources/mapper/system/TpInfoMapper.xml
+1
-1
No files found.
ruoyi-admin/src/main/resources/mapper/system/TpDeptMapper.xml
View file @
c5c4bfcb
...
@@ -46,7 +46,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
...
@@ -46,7 +46,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
where 1=1
where 1=1
<if
test=
"ssbk != null and ssbk != ''"
>
and a.ssbk = #{ssbk}
</if>
<if
test=
"ssbk != null and ssbk != ''"
>
and a.ssbk = #{ssbk}
</if>
<if
test=
"dwmc != null and dwmc != ''"
>
and a.dwmc like concat('%', #{dwmc}, '%')
</if>
<if
test=
"dwmc != null and dwmc != ''"
>
and a.dwmc like concat('%', #{dwmc}, '%')
</if>
group by a.id
group by a.id
order by sl desc
</select>
</select>
<insert
id=
"insertTpDept"
parameterType=
"TpDept"
useGeneratedKeys=
"true"
keyProperty=
"id"
>
<insert
id=
"insertTpDept"
parameterType=
"TpDept"
useGeneratedKeys=
"true"
keyProperty=
"id"
>
...
...
ruoyi-admin/src/main/resources/mapper/system/TpInfoMapper.xml
View file @
c5c4bfcb
...
@@ -69,7 +69,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
...
@@ -69,7 +69,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
where ipdz = #{ip}
where ipdz = #{ip}
</select>
</select>
<select
id=
"selectTpInfoListjg"
resultMap=
"TpInfoResult"
>
<select
id=
"selectTpInfoListjg"
resultMap=
"TpInfoResult"
>
select a.name,a.ipdz,GROUP_CONCAT(b.dwmc) dwmc from tp_info a left join tp_info_cb b on a.id=b.zbid
select a.name,a.ipdz,
a.create_time,
GROUP_CONCAT(b.dwmc) dwmc from tp_info a left join tp_info_cb b on a.id=b.zbid
where 1=1
where 1=1
<if
test=
"name != null and name != ''"
>
and name like concat('%', #{name}, '%')
</if>
<if
test=
"name != null and name != ''"
>
and name like concat('%', #{name}, '%')
</if>
<if
test=
"ipdz != null and ipdz != ''"
>
and ipdz like concat('%', #{ipdz}, '%')
</if>
<if
test=
"ipdz != null and ipdz != ''"
>
and ipdz like concat('%', #{ipdz}, '%')
</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