Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
eshiled-new
/
ne-shield-miniappserver
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit c0de9051
authored
Jul 21, 2022
by
levphon
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
bug修复
1 parent
acb3eb70
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
src/main/resources/mapper/UserWechatAccountMapper.xml
src/main/resources/mapper/VehicleMapper.xml
src/main/resources/mapper/UserWechatAccountMapper.xml
View file @
c0de905
...
@@ -33,7 +33,7 @@
...
@@ -33,7 +33,7 @@
</select>
</select>
<select
id=
"selectByUserIds"
resultType=
"cn.com.glsx.app.modules.model.CTerminalUserModel"
>
<select
id=
"selectByUserIds"
resultType=
"cn.com.glsx.app.modules.model.CTerminalUserModel"
>
select tcuar.user_id userId, tcu.rel_user_id relUserId, tcuta.openid account,
tcuwa.wechat_name
username, tcuwa.wechat_avatar avatar
select tcuar.user_id userId, tcu.rel_user_id relUserId, tcuta.openid account,
ifnull(tcuwa.wechat_name, 'wechat_user')
username, tcuwa.wechat_avatar avatar
from t_cust_user_auth_rel tcuar
from t_cust_user_auth_rel tcuar
inner join t_cust_user_third_auth tcuta on tcuar.auth_id = tcuta.id
inner join t_cust_user_third_auth tcuta on tcuar.auth_id = tcuta.id
left join t_cust_user tcu on tcuar.user_id = tcu.id
left join t_cust_user tcu on tcuar.user_id = tcu.id
...
...
src/main/resources/mapper/VehicleMapper.xml
View file @
c0de905
...
@@ -90,8 +90,8 @@
...
@@ -90,8 +90,8 @@
tv.vin,
tv.vin,
tv.owner_name as ownerName,
tv.owner_name as ownerName,
tw.partner_order_no workOrderNo,
tw.partner_order_no workOrderNo,
group_concat(
tvd.sn
) as sns,
group_concat(
distinct td.sn order by td.source desc
) as sns,
group_concat(
td.source
) as sources,
group_concat(
distinct td.source order by td.source desc
) as sources,
tcusd.permit_type as permitType,
tcusd.permit_type as permitType,
group_concat(tvs.receiver_id) as receiverIds
group_concat(tvs.receiver_id) as receiverIds
from t_vehicle tv
from t_vehicle tv
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment