|
|
|
@@ -218,26 +218,26 @@ public class WxCouponOrderBVo extends WxCouponOrder{ |
|
|
|
|
|
|
|
public static enum Field {
|
|
|
|
Id_ASC("`id` ASC"), Id_DESC("`id` DESC"),
|
|
|
|
TenantId_ASC("`tenantId` ASC"),
|
|
|
|
TenantId_DESC("`tenantId` DESC"),
|
|
|
|
CouponId_ASC("`couponId` ASC"),
|
|
|
|
CouponId_DESC("`couponId` DESC"),
|
|
|
|
CUserId_ASC("`cUserId` ASC"),
|
|
|
|
CUserId_DESC("`cUserId` DESC"),
|
|
|
|
BUserId_ASC("`bUserId` ASC"),
|
|
|
|
BUserId_DESC("`bUserId` DESC"),
|
|
|
|
OrderId_ASC("`orderId` ASC"),
|
|
|
|
OrderId_DESC("`orderId` DESC"),
|
|
|
|
ExpiredTime_ASC("`expiredTime` ASC"),
|
|
|
|
ExpiredTime_DESC("`expiredTime` DESC"),
|
|
|
|
CouponOrderStatus_ASC("`couponOrderStatus` ASC"),
|
|
|
|
CouponOrderStatus_DESC("`couponOrderStatus` DESC"),
|
|
|
|
CreateDate_ASC("`createDate` ASC"),
|
|
|
|
CreateDate_DESC("`createDate` DESC"),
|
|
|
|
UpdateDate_ASC("`updateDate` ASC"),
|
|
|
|
UpdateDate_DESC("`updateDate` DESC"),
|
|
|
|
CouponPrice_ASC("`couponPrice` ASC"),
|
|
|
|
CouponPrice_DESC("`couponPrice` DESC");
|
|
|
|
TenantId_ASC("`tenant_id` ASC"),
|
|
|
|
TenantId_DESC("`tenant_id` DESC"),
|
|
|
|
CouponId_ASC("`coupon_id` ASC"),
|
|
|
|
CouponId_DESC("`coupon_id` DESC"),
|
|
|
|
CUserId_ASC("`c_user_id` ASC"),
|
|
|
|
CUserId_DESC("`c_user_id` DESC"),
|
|
|
|
BUserId_ASC("`b_user_id` ASC"),
|
|
|
|
BUserId_DESC("`b_user_id` DESC"),
|
|
|
|
OrderId_ASC("`order_id` ASC"),
|
|
|
|
OrderId_DESC("`order_id` DESC"),
|
|
|
|
ExpiredTime_ASC("`expired_time` ASC"),
|
|
|
|
ExpiredTime_DESC("`expired_time` DESC"),
|
|
|
|
CouponOrderStatus_ASC("`coupon_order_status` ASC"),
|
|
|
|
CouponOrderStatus_DESC("`coupon_order_status` DESC"),
|
|
|
|
CreateDate_ASC("`create_date` ASC"),
|
|
|
|
CreateDate_DESC("`create_date` DESC"),
|
|
|
|
UpdateDate_ASC("`update_date` ASC"),
|
|
|
|
UpdateDate_DESC("`update_date` DESC"),
|
|
|
|
CouponPrice_ASC("`coupon_price` ASC"),
|
|
|
|
CouponPrice_DESC("`coupon_price` DESC");
|
|
|
|
private String value;
|
|
|
|
|
|
|
|
Field(String value) {
|
|
|
|
@@ -273,6 +273,7 @@ public class WxCouponOrderBVo extends WxCouponOrder{ |
|
|
|
sb.append(fields[k].toString());
|
|
|
|
}
|
|
|
|
|
|
|
|
this.sortColumns = sb.toString();
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setSortColumns(String sortColumns) {
|
|
|
|
|