|
@@ -113,7 +113,7 @@
|
|
|
select count(*) from base_company_info where id_=#{0} and del_flag = 0
|
|
|
</select>
|
|
|
<select id="list" resultMap="CompanyInfoMap">
|
|
|
- select * from base_company_info where del_flag=0 order by sort_no asc
|
|
|
+ select * from base_company_info where del_flag=0 order by code_ asc,sort_no asc
|
|
|
</select>
|
|
|
<select id="search" parameterType="hashmap" resultMap="CompanyInfoMap">
|
|
|
<![CDATA[
|
|
@@ -156,7 +156,7 @@
|
|
|
)
|
|
|
</if>
|
|
|
</trim>
|
|
|
- order by a.sort_no asc,a.name_ asc
|
|
|
+ order by a.code_ asc,a.sort_no asc,a.name_ asc
|
|
|
</select>
|
|
|
<select id="countByParentId" resultType="long">
|
|
|
select count(*) from base_company_info
|