perf(后台管理): 订单挂历

添加列表排序
master
hequan_waynaqua 4 years ago
parent 341ab215e1
commit 4670dc89ac

@ -69,7 +69,7 @@ public class BaseController {
if (sortOrder != null && sortOrder.startsWith(Constants.ORDER_DESC)) {
orderItem.setAsc(false);
} else {
orderItem.setAsc(false);
orderItem.setAsc(true);
}
tPage.addOrder(orderItem);
}

@ -66,7 +66,6 @@
<if test="order.endTime != null and order.endTime != ''">
AND DATE_FORMAT(create_time,'%Y-%m-%d') <![CDATA[ <= ]]> DATE_FORMAT(#{order.endTime},'%Y-%m-%d')
</if>
order by create_time DESC
</where>
</select>

Loading…
Cancel
Save