@ -188,5 +188,6 @@ public class FilterOrderRequest extends ListPageRequest {
private String supInoivceSearch;
private List<String> invoiceActions1;
private List<String> invoiceActions2;
private String orderBy;
}
@ -99,5 +99,6 @@ public class PurOrderRequest extends ListPageRequest {
private String startAuditDate;
private String endAuditDate;
private Integer dealStatus;
@ -274,7 +274,6 @@
</if>
</where>
order by createTime desc
</select>
@ -331,7 +330,7 @@
]]>
@ -545,7 +544,15 @@
GROUP BY io.id
order by io.createTime desc
<choose>
<when test="(orderBy!=null ) and (sort=='desc' or sort=='asc')">
order by ${orderBy} ${sort}
</when>
<otherwise>
order by updateTime desc
</otherwise>
</choose>
@ -102,5 +102,14 @@
AND createUser = #{createUser}
order by pur_order.updateTime desc
</mapper>