Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
extend
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
park
extend
Commits
d98fe56e
Commit
d98fe56e
authored
Jun 19, 2020
by
xieshixiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
三方接口功能开发
parent
4787423d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
47 additions
and
0 deletions
+47
-0
infra/src/main/resources/BindInfoMapper.xml
+47
-0
logPath_IS_UNDEFINED/bmc-pub-web-mobile.log
+0
-0
No files found.
infra/src/main/resources/BindInfoMapper.xml
0 → 100644
View file @
d98fe56e
<?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.hikcreate.edl.pub.web.mobile.infra.data.mapper.BindInfoMapper"
>
<select
id=
"selectByQuery"
parameterType=
"com.hikcreate.edl.pub.web.mobile.infra.model.BindInfoQuery"
resultType=
"com.hikcreate.edl.pub.web.mobile.infra.model.BindInfo"
>
select b.unq_id, b.user_id, b.phone,
case plate_color
when 'A' then '白'
when 'B' then '灰'
when 'C' then '黄'
when 'D' then '粉'
when 'E' then '红'
when 'F' then '紫'
when 'G' then '绿'
when 'H' then '蓝'
when 'I' then '棕'
when 'J' then '黑'
end plateColor,
case status
when '0' then '未绑定'
when '1' then '已绑定'
end status,
b.plate_num, b.editor_time from edl_public.bind_info as b
<where>
<if
test=
"userId!=null and nuserId!=''"
>
and b.user_id=#{userId}
</if>
<if
test=
"phone!=null and phone!=''"
>
and b.phone=#{phone}
</if>
<if
test=
"plateColor!=null and plateColor!=''"
>
and b.plate_color=#{plateColor}
</if>
<if
test=
"plateNum!=null and plateNum!=''"
>
and b.plate_num=#{plateNum}
</if>
<if
test=
"status!=null and status!=''"
>
and b.status=#{status}
</if>
<if
test=
"editorTime!=null "
>
and b.editor_time=#{editorTime}
</if>
</where>
</select>
</mapper>
logPath_IS_UNDEFINED/bmc-pub-web-mobile.log
0 → 100644
View file @
d98fe56e
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