|
@@ -346,7 +346,21 @@
|
|
|
|
|
|
|
|
</if>
|
|
</if>
|
|
|
</where>
|
|
</where>
|
|
|
- order by id desc
|
|
|
|
|
|
|
+ order by
|
|
|
|
|
+
|
|
|
|
|
+ <if test="record.orderByStr != null and !"".equals(record.orderByStr)">
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+ <trim suffixOverrides=",">
|
|
|
|
|
+ <foreach item="item" index="index" separator="," collection="record.orderByStr.split('_;')">
|
|
|
|
|
+ <foreach item="itemDetail" index="detailIndex" collection="item.split('_,')">
|
|
|
|
|
+ ${itemDetail}
|
|
|
|
|
+ </foreach>
|
|
|
|
|
+ </foreach>
|
|
|
|
|
+ </trim>
|
|
|
|
|
+ ,
|
|
|
|
|
+ </if>
|
|
|
|
|
+ id desc
|
|
|
</select>
|
|
</select>
|
|
|
<select id="queryAllTableNiuseRongliang" parameterType="java.util.Map"
|
|
<select id="queryAllTableNiuseRongliang" parameterType="java.util.Map"
|
|
|
resultType="com.izouma.awesomeadmin.model.TableNiuseRongliang">
|
|
resultType="com.izouma.awesomeadmin.model.TableNiuseRongliang">
|
|
@@ -467,7 +481,22 @@
|
|
|
|
|
|
|
|
</if>
|
|
</if>
|
|
|
</where>
|
|
</where>
|
|
|
- order by id desc
|
|
|
|
|
|
|
+ order by
|
|
|
|
|
+
|
|
|
|
|
+ <if test="orderByStr != null and !"".equals(orderByStr)">
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+ <trim suffixOverrides=",">
|
|
|
|
|
+ <foreach item="item" index="index" separator="," collection="orderByStr.split('_;')">
|
|
|
|
|
+ <foreach item="itemDetail" index="detailIndex" collection="item.split('_,')">
|
|
|
|
|
+ ${itemDetail}
|
|
|
|
|
+ </foreach>
|
|
|
|
|
+ </foreach>
|
|
|
|
|
+ </trim>
|
|
|
|
|
+ ,
|
|
|
|
|
+ </if>
|
|
|
|
|
+
|
|
|
|
|
+ id desc
|
|
|
</select>
|
|
</select>
|
|
|
<select id="queryTableNiuseRongliang" parameterType="java.util.Map"
|
|
<select id="queryTableNiuseRongliang" parameterType="java.util.Map"
|
|
|
resultType="com.izouma.awesomeadmin.model.TableNiuseRongliang">
|
|
resultType="com.izouma.awesomeadmin.model.TableNiuseRongliang">
|