|
|
@@ -517,11 +517,12 @@
|
|
|
and b.id= #{superId,jdbcType=VARCHAR}
|
|
|
</select>
|
|
|
<select id="getVarieties" resultType="com.goafanti.business.bo.VarietiesBo">
|
|
|
- select id, cname AS name, varieties_logo as varietiesLogo
|
|
|
+ select id, cname AS name, varieties_logo as varietiesLogo ,sort
|
|
|
from business_varieties b
|
|
|
where b.delete_sign=0
|
|
|
and b.status=0
|
|
|
and b.layer=1
|
|
|
+ ORDER BY if(isnull(b.sort),1,0),b.sort
|
|
|
</select>
|
|
|
|
|
|
<select id="getCidMax" resultType="String">
|