|
@@ -208,12 +208,10 @@
|
|
|
left join district_glossory d1 on c.location_province =d1.id
|
|
left join district_glossory d1 on c.location_province =d1.id
|
|
|
left join district_glossory d2 on c.location_city =d2.id
|
|
left join district_glossory d2 on c.location_city =d2.id
|
|
|
where 1=1
|
|
where 1=1
|
|
|
|
|
+ and a.status > 2
|
|
|
<if test="aid !=null">
|
|
<if test="aid !=null">
|
|
|
and a.aid= #{aid}
|
|
and a.aid= #{aid}
|
|
|
</if>
|
|
</if>
|
|
|
- <if test="type == 1">
|
|
|
|
|
- and a.status > 1
|
|
|
|
|
- </if>
|
|
|
|
|
<if test="page_sql != null">
|
|
<if test="page_sql != null">
|
|
|
${page_sql}
|
|
${page_sql}
|
|
|
</if>
|
|
</if>
|
|
@@ -225,12 +223,10 @@
|
|
|
left join district_glossory d1 on c.location_province =d1.id
|
|
left join district_glossory d1 on c.location_province =d1.id
|
|
|
left join district_glossory d2 on c.location_city =d2.id
|
|
left join district_glossory d2 on c.location_city =d2.id
|
|
|
where 1=1
|
|
where 1=1
|
|
|
|
|
+ and a.status > 2
|
|
|
<if test="aid !=null">
|
|
<if test="aid !=null">
|
|
|
and a.aid= #{aid}
|
|
and a.aid= #{aid}
|
|
|
</if>
|
|
</if>
|
|
|
- <if test="type == 1">
|
|
|
|
|
- and a.status > 1
|
|
|
|
|
- </if>
|
|
|
|
|
</select>
|
|
</select>
|
|
|
<update id="updateByuids">
|
|
<update id="updateByuids">
|
|
|
update user_channel set
|
|
update user_channel set
|