|
|
@@ -327,31 +327,31 @@ public class WxCoupon implements Serializable { |
|
|
public static enum Field |
|
|
public static enum Field |
|
|
{ |
|
|
{ |
|
|
Id_ASC("`id` ASC"),Id_DESC("`id` DESC") |
|
|
Id_ASC("`id` ASC"),Id_DESC("`id` DESC") |
|
|
,TenantId_ASC("`tenantId` ASC"),TenantId_DESC("`tenantId` DESC") |
|
|
|
|
|
,MerchantId_ASC("`merchantId` ASC"),MerchantId_DESC("`merchantId` DESC") |
|
|
|
|
|
|
|
|
,TenantId_ASC("`tenant_id` ASC"),TenantId_DESC("`tenant_id` DESC") |
|
|
|
|
|
,MerchantId_ASC("`merchant_id` ASC"),MerchantId_DESC("`merchant_id` DESC") |
|
|
,Type_ASC("`type` ASC"),Type_DESC("`type` DESC") |
|
|
,Type_ASC("`type` ASC"),Type_DESC("`type` DESC") |
|
|
,CoverImg_ASC("`coverImg` ASC"),CoverImg_DESC("`coverImg` DESC") |
|
|
|
|
|
|
|
|
,CoverImg_ASC("`cover_img` ASC"),CoverImg_DESC("`cover_img` DESC") |
|
|
,Title_ASC("`title` ASC"),Title_DESC("`title` DESC") |
|
|
,Title_ASC("`title` ASC"),Title_DESC("`title` DESC") |
|
|
,SubTitle_ASC("`subTitle` ASC"),SubTitle_DESC("`subTitle` DESC") |
|
|
|
|
|
,SalePrice_ASC("`salePrice` ASC"),SalePrice_DESC("`salePrice` DESC") |
|
|
|
|
|
,UsePrice_ASC("`usePrice` ASC"),UsePrice_DESC("`usePrice` DESC") |
|
|
|
|
|
,UseLimitQuantity_ASC("`useLimitQuantity` ASC"),UseLimitQuantity_DESC("`useLimitQuantity` DESC") |
|
|
|
|
|
,TargetAd_ASC("`targetAd` ASC"),TargetAd_DESC("`targetAd` DESC") |
|
|
|
|
|
,SendType_ASC("`sendType` ASC"),SendType_DESC("`sendType` DESC") |
|
|
|
|
|
,SendStartDate_ASC("`sendStartDate` ASC"),SendStartDate_DESC("`sendStartDate` DESC") |
|
|
|
|
|
,SendEndDate_ASC("`sendEndDate` ASC"),SendEndDate_DESC("`sendEndDate` DESC") |
|
|
|
|
|
,ValidType_ASC("`validType` ASC"),ValidType_DESC("`validType` DESC") |
|
|
|
|
|
,ValidStartDate_ASC("`validStartDate` ASC"),ValidStartDate_DESC("`validStartDate` DESC") |
|
|
|
|
|
,ValidEndDate_ASC("`validEndDate` ASC"),ValidEndDate_DESC("`validEndDate` DESC") |
|
|
|
|
|
,ValidDays_ASC("`validDays` ASC"),ValidDays_DESC("`validDays` DESC") |
|
|
|
|
|
|
|
|
,SubTitle_ASC("`sub_title` ASC"),SubTitle_DESC("`sub_title` DESC") |
|
|
|
|
|
,SalePrice_ASC("`sale_price` ASC"),SalePrice_DESC("`sale_price` DESC") |
|
|
|
|
|
,UsePrice_ASC("`use_price` ASC"),UsePrice_DESC("`use_price` DESC") |
|
|
|
|
|
,UseLimitQuantity_ASC("`use_limit_quantity` ASC"),UseLimitQuantity_DESC("`use_limit_quantity` DESC") |
|
|
|
|
|
,TargetAd_ASC("`target_ad` ASC"),TargetAd_DESC("`target_ad` DESC") |
|
|
|
|
|
,SendType_ASC("`send_type` ASC"),SendType_DESC("`send_type` DESC") |
|
|
|
|
|
,SendStartDate_ASC("`send_start_date` ASC"),SendStartDate_DESC("`send_start_date` DESC") |
|
|
|
|
|
,SendEndDate_ASC("`send_end_date` ASC"),SendEndDate_DESC("`send_end_ate` DESC") |
|
|
|
|
|
,ValidType_ASC("`valid_type` ASC"),ValidType_DESC("`valid_type` DESC") |
|
|
|
|
|
,ValidStartDate_ASC("`valid_start_date` ASC"),ValidStartDate_DESC("`valid_start_date` DESC") |
|
|
|
|
|
,ValidEndDate_ASC("`valid_end_date` ASC"),ValidEndDate_DESC("`valid_end_date` DESC") |
|
|
|
|
|
,ValidDays_ASC("`valid_days` ASC"),ValidDays_DESC("`valid_days` DESC") |
|
|
,Detail_ASC("`detail` ASC"),Detail_DESC("`detail` DESC") |
|
|
,Detail_ASC("`detail` ASC"),Detail_DESC("`detail` DESC") |
|
|
,Price_ASC("`price` ASC"),Price_DESC("`price` DESC") |
|
|
,Price_ASC("`price` ASC"),Price_DESC("`price` DESC") |
|
|
,RemainInventory_ASC("`remainInventory` ASC"),RemainInventory_DESC("`remainInventory` DESC") |
|
|
|
|
|
|
|
|
,RemainInventory_ASC("`remain_inventory` ASC"),RemainInventory_DESC("`remain_inventory` DESC") |
|
|
,Inventory_ASC("`inventory` ASC"),Inventory_DESC("`inventory` DESC") |
|
|
,Inventory_ASC("`inventory` ASC"),Inventory_DESC("`inventory` DESC") |
|
|
,Remark_ASC("`remark` ASC"),Remark_DESC("`remark` DESC") |
|
|
,Remark_ASC("`remark` ASC"),Remark_DESC("`remark` DESC") |
|
|
,Status_ASC("`status` ASC"),Status_DESC("`status` DESC") |
|
|
,Status_ASC("`status` ASC"),Status_DESC("`status` DESC") |
|
|
,CreateDate_ASC("`createDate` ASC"),CreateDate_DESC("`createDate` DESC") |
|
|
|
|
|
,UpdateDate_ASC("`updateDate` ASC"),UpdateDate_DESC("`updateDate` DESC") |
|
|
|
|
|
|
|
|
,CreateDate_ASC("`create_date` ASC"),CreateDate_DESC("`create_date` DESC") |
|
|
|
|
|
,UpdateDate_ASC("`update_date` ASC"),UpdateDate_DESC("`update_date` DESC") |
|
|
,Business_ASC("`business` ASC"),Business_DESC("`business` DESC") |
|
|
,Business_ASC("`business` ASC"),Business_DESC("`business` DESC") |
|
|
; |
|
|
; |
|
|
private String value; |
|
|
private String value; |
|
|
@@ -385,7 +385,7 @@ public class WxCoupon implements Serializable { |
|
|
sb.append(","); |
|
|
sb.append(","); |
|
|
sb.append(fields[k].toString()); |
|
|
sb.append(fields[k].toString()); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
this.sortColumns = sb.toString(); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
public void setSortColumns(String sortColumns) |
|
|
public void setSortColumns(String sortColumns) |
|
|
|