|
|
@@ -198,10 +198,10 @@
|
|
|
and t.status_cd = '0'
|
|
|
group by t.owner_id,t.name,t.link
|
|
|
HAVING count(1) > 0
|
|
|
- )
|
|
|
+ ) a
|
|
|
</select>
|
|
|
<select id="getOwnerReserveGoods" parameterType="Map" resultType="Map">
|
|
|
- select t.owner_id,t.name,t.link,count(1) frequency
|
|
|
+ select t.owner_id ownerId,t.name,t.link,count(1) frequency
|
|
|
from building_owner t
|
|
|
left join building_owner bom on t.owner_id = bom.owner_id and bom.status_cd = '0'
|
|
|
left join reserve_goods_order rgo on (bom.link = rgo.person_tel or t.link = rgo.person_tel) and rgo.status_cd = '0'
|