| | |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.annotation.Resource; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * <p> |
| | |
| | | @ApiOperation(value = "技师列表", tags = {"技师列表-小程序"}) |
| | | public R<TableDataInfo<TechnicianVO>> technicianListByShopId(@ApiParam("门店id") @RequestParam Long shopId,@ApiParam("技师姓名") String name) { |
| | | startPage(); |
| | | return R.ok(getDataTable(technicianService.getTechnicianListByShopId(shopId,name))); |
| | | List<TechnicianVO> technicianListByShopId = technicianService.getTechnicianListByShopId(shopId, name); |
| | | TableDataInfo<TechnicianVO> dataTable = getDataTable(technicianListByShopId); |
| | | return R.ok(dataTable); |
| | | } |
| | | |
| | | @GetMapping("/manage/list") |