|
|
@@ -15,6 +15,8 @@ import org.springframework.web.bind.annotation.*; |
|
|
import java.util.List; |
|
|
import java.util.List; |
|
|
import java.util.Map; |
|
|
import java.util.Map; |
|
|
|
|
|
|
|
|
|
|
|
import static com.iformall.domain.po.WxBrand.Field.Id_DESC; |
|
|
|
|
|
|
|
|
/** |
|
|
/** |
|
|
* @author gongbiao |
|
|
* @author gongbiao |
|
|
*/ |
|
|
*/ |
|
|
@@ -36,6 +38,7 @@ public class WxBrandController extends BaseController { |
|
|
if (null == wxBrand) { |
|
|
if (null == wxBrand) { |
|
|
wxBrand = new WxBrand(); |
|
|
wxBrand = new WxBrand(); |
|
|
} |
|
|
} |
|
|
|
|
|
wxBrand.setSortColumns(Id_DESC); |
|
|
final PageInfo<WxBrand> page = wxBrandService.listAsPage(wxBrand, pageNum, pageSize); |
|
|
final PageInfo<WxBrand> page = wxBrandService.listAsPage(wxBrand, pageNum, pageSize); |
|
|
return new ResultData(page); |
|
|
return new ResultData(page); |
|
|
} |
|
|
} |
|
|
|