feat: 优化排序
This commit is contained in:
parent
0ae031e163
commit
6bb2b93bc6
|
|
@ -68,7 +68,7 @@
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<select id="getSimpleListByLanguage" resultType="com.nflg.mobilebroken.common.pojo.vo.ProductSeriesSimpleVO">
|
<select id="getSimpleListByLanguage" resultType="com.nflg.mobilebroken.common.pojo.vo.ProductSeriesSimpleVO">
|
||||||
select distinct batch_number,psi.name,sort
|
select distinct batch_number,psi.name
|
||||||
from product_series ps
|
from product_series ps
|
||||||
inner join product_series_info psi on ps.id=psi.series_id
|
inner join product_series_info psi on ps.id=psi.series_id
|
||||||
where state=1 and enable=1 and module_id=#{moduleId} and psi.language_code=#{language}
|
where state=1 and enable=1 and module_id=#{moduleId} and psi.language_code=#{language}
|
||||||
|
|
|
||||||
|
|
@ -91,6 +91,7 @@
|
||||||
and pt.enable = 1
|
and pt.enable = 1
|
||||||
and pt.series_number = #{batchNumber}
|
and pt.series_number = #{batchNumber}
|
||||||
AND pti.language_code = #{language}
|
AND pti.language_code = #{language}
|
||||||
|
order by pt.sort
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<select id="getListForSort" resultType="com.nflg.mobilebroken.common.pojo.vo.ProductTypeSearchVO">
|
<select id="getListForSort" resultType="com.nflg.mobilebroken.common.pojo.vo.ProductTypeSearchVO">
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue