@@ -38,6 +38,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="remarks != null and remarks != ''"> and remarks = #{remarks}</if>
<if test="sort != null "> and sort = #{sort}</if>
</where>
+ order by sort asc
</select>
<select id="selectTEntityCodeAttributeById" parameterType="String" resultMap="TEntityCodeAttributeResult">
@@ -40,6 +40,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="entilayer != null and entilayer != ''"> and entilayer = #{entilayer}</if>
<if test="entilaytype != null and entilaytype != ''"> and entilaytype = #{entilaytype}</if>
+ order by fourcode asc
<select id="selectTEntityCodeTableById" parameterType="String" resultMap="TEntityCodeTableResult">