|  |  |  | 
|---|
|  |  |  | import com.doumee.core.annotation.excel.ExcelExporter; | 
|---|
|  |  |  | import com.doumee.core.annotation.pr.PreventRepeat; | 
|---|
|  |  |  | import com.doumee.core.utils.Constants; | 
|---|
|  |  |  | import com.doumee.dao.business.model.JkCustomerNavigation; | 
|---|
|  |  |  | import com.doumee.dao.business.model.JkSketchCustomer; | 
|---|
|  |  |  | import com.doumee.service.business.JkSketchCustomerService; | 
|---|
|  |  |  | import com.doumee.service.business.third.model.ApiResponse; | 
|---|
|  |  |  | 
|---|
|  |  |  | return ApiResponse.success(jkSketchCustomerService.findPage(pageWrap)); | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @ApiOperation("列表查询") | 
|---|
|  |  |  | @PostMapping("/allList") | 
|---|
|  |  |  | @CloudRequiredPermission("business:jksketchcustomer:query") | 
|---|
|  |  |  | public ApiResponse<List<JkSketchCustomer>> allList (@RequestBody JkSketchCustomer pageWrap) { | 
|---|
|  |  |  | return ApiResponse.success(jkSketchCustomerService.findList(pageWrap)); | 
|---|
|  |  |  | } | 
|---|
|  |  |  | @ApiOperation("列表查询") | 
|---|
|  |  |  | @PostMapping("/allMapList") | 
|---|
|  |  |  | @CloudRequiredPermission("business:jksketchcustomer:query") | 
|---|
|  |  |  | public ApiResponse<List<JkCustomerNavigation> > allMapList (@RequestBody JkSketchCustomer pageWrap) { | 
|---|
|  |  |  | return ApiResponse.success(jkSketchCustomerService.allMapList(pageWrap)); | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @ApiOperation("导出Excel") | 
|---|
|  |  |  | @PostMapping("/exportExcel") | 
|---|
|  |  |  | @CloudRequiredPermission("business:jksketchcustomer:exportExcel") | 
|---|