use of com.ikoori.vip.server.modular.biz.warpper.StoreEmployeeWarpper in project vip by guangdada.
the class StoreEmployeeController method list.
/**
* 获取员工管理列表
*/
@Permission
@RequestMapping(value = "/list")
@ResponseBody
public Object list(String employeeName, String mobile, Integer sex, Long storeId, Long roleId) {
Page<Map<String, Object>> page = new PageFactory<Map<String, Object>>().defaultPage();
List<Map<String, Object>> result = storeEmployeeService.getStoreEmployeeList(page, employeeName, mobile, sex, storeId, roleId, page.getOrderByField(), page.isAsc());
page.setRecords((List<Map<String, Object>>) new StoreEmployeeWarpper(result).warp());
return super.packForBT(page);
}
Aggregations