|
@@ -261,13 +261,13 @@
|
|
|
and a.id = #{authId}
|
|
|
</select>
|
|
|
<select id="getAuthFormById" resultType="com.caimei.model.vo.AuthFormVo">
|
|
|
- select id as authId,
|
|
|
+ select id as authId,
|
|
|
authParty,
|
|
|
authUserId,
|
|
|
a.provinceId,
|
|
|
a.cityId,
|
|
|
a.townId,
|
|
|
- concat(p.name, '/', c.name, '/', t.name) as area,
|
|
|
+ concat(ifnull(p.name, ''), '/', ifnull(c.name, ''), '/', ifnull(t.name, '')) as area,
|
|
|
address,
|
|
|
lng,
|
|
|
lat,
|
|
@@ -282,7 +282,7 @@
|
|
|
remarks,
|
|
|
status,
|
|
|
auditStatus,
|
|
|
- if(shopAuditStatus = 0,shopInvalidReason,invalidReason) as invalidReason
|
|
|
+ if(shopAuditStatus = 0, shopInvalidReason, invalidReason) as invalidReason
|
|
|
from cm_brand_auth a
|
|
|
left join province p on a.provinceId = p.provinceID
|
|
|
left join city c on a.cityId = c.cityID
|