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
396f0f25
Commit
396f0f25
authored
Jul 19, 2022
by
helinlin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
开发特种设备详情页
parent
7db57197
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
0 deletions
+23
-0
IdxUjerMaper.xml
...module-tzs-api/src/main/resources/mapper/IdxUjerMaper.xml
+23
-0
No files found.
amos-boot-system-tzs/amos-boot-module-tzs-api/src/main/resources/mapper/IdxUjerMaper.xml
0 → 100644
View file @
396f0f25
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.yeejoin.amos.boot.module.tzs.api.mapper.IdxUjerMapper"
>
<select
id=
"getPage"
resultType=
"com.yeejoin.amos.boot.module.tzs.flc.api.entity.IdxUjer"
>
SELECT *, IF(b.id is null, '未建', '已建') as bizType
FROM idx_biz_odgu a
LEFT JOIN idx_biz_ujer b on a.companyId = b.companyId
<where>
<if
test=
"ids !=null and ids.size()>0"
>
AND a.companyId in
<foreach
collection=
"ids"
item=
"item"
index=
"index"
open=
"("
close=
")"
separator=
","
>
#{item}
</foreach>
</if>
<if
test=
"bizType=='yingjian'"
>
AND b.id is null
</if>
<if
test=
"bizType=='yijian'"
>
AND b.id is not null
</if>
</where>
</select>
</mapper>
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