|
@@ -371,7 +371,7 @@
|
|
|
where account = #{account}
|
|
where account = #{account}
|
|
|
and password = #{password}
|
|
and password = #{password}
|
|
|
and goods_id = #{goodsId} limit 1) a
|
|
and goods_id = #{goodsId} limit 1) a
|
|
|
- inner join grops_trips gt
|
|
|
|
|
|
|
+ inner join groups_trips gt
|
|
|
on gt.account_id = a.id
|
|
on gt.account_id = a.id
|
|
|
inner join groups_relation gr on gr.num = #{num}
|
|
inner join groups_relation gr on gr.num = #{num}
|
|
|
where gr.expiry_time > now() limit 1
|
|
where gr.expiry_time > now() limit 1
|