Commit 61a9c5fb authored by 王琮's avatar 王琮

修改排序传参

parent c3f470ed
...@@ -138,14 +138,14 @@ ...@@ -138,14 +138,14 @@
<if test="entity.lastDateQueryEnd != null"> <if test="entity.lastDateQueryEnd != null">
and date_format(su.last_date,'%Y-%m-%d') &lt;= date_format(#{entity.lastDateQueryEnd},'%Y-%m-%d') and date_format(su.last_date,'%Y-%m-%d') &lt;= date_format(#{entity.lastDateQueryEnd},'%Y-%m-%d')
</if> </if>
<if test="entity.sort == '1'.toString() "><!-- 排序--> <if test="entity.sort == '3'.toString() "><!-- 排序-->
order BY su.first_date desc,su.create_date desc order BY su.first_date desc,su.create_date desc
</if> </if>
<if test="entity.sort == '2'.toString() "><!-- 排序--> <if test="entity.sort == '2'.toString() "><!-- 排序-->
-- order BY su.name desc -- order BY su.name desc
order BY F_GET_PYJM(su.name) order BY F_GET_PYJM(su.name)
</if> </if>
<if test="entity.sort == '3'.toString() "><!-- 排序--> <if test="entity.sort == '1'.toString() "><!-- 排序-->
order BY su.last_date desc,su.create_date desc order BY su.last_date desc,su.create_date desc
</if> </if>
</select> </select>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment