设置默认排序顺序

pull/199/MERGE
RuoYi 2020-08-19 17:05:09 +08:00
parent 346670b197
commit 895c290cbf
2 changed files with 3 additions and 3 deletions

View File

@ -18,8 +18,8 @@ public class PageDomain
/** 排序列 */ /** 排序列 */
private String orderByColumn; private String orderByColumn;
/** 排序的方向 "desc" 或者 "asc". */ /** 排序的方向desc或者asc */
private String isAsc; private String isAsc = "asc";
public String getOrderBy() public String getOrderBy()
{ {

View File

@ -923,7 +923,7 @@ public class ExcelUtil<T>
{ {
if ((Double) val % 1 > 0) if ((Double) val % 1 > 0)
{ {
val = new DecimalFormat("0.00").format(val); val = new BigDecimal(val.toString());
} }
else else
{ {