增加员工培训接口
This commit is contained in:
@@ -22,7 +22,7 @@ import java.util.List;
|
||||
* @author byd
|
||||
* @date 2024-04-30 10:15
|
||||
*/
|
||||
@Api(tags = "员工培训")
|
||||
@Api(tags = "PC员工培训")
|
||||
@RestController
|
||||
@RequestMapping("pc/employeeTraining")
|
||||
public class EmployeeTrainingController {
|
||||
@@ -30,6 +30,16 @@ public class EmployeeTrainingController {
|
||||
@Resource
|
||||
private EmployeeTrainingService employeeTrainingService;
|
||||
|
||||
|
||||
@ApiOperation("培训员工列表")
|
||||
@GetMapping("/trainingListByShopId")
|
||||
@ApiImplicitParams({
|
||||
@ApiImplicitParam(name = "shopId", value = "店铺id", required = true)
|
||||
})
|
||||
public ResponseResult<List<EmployeeTrainingVO>> trainingListByShopId(@RequestParam("shopId") Long shopId) {
|
||||
return ResponseResult.success(employeeTrainingService.trainingListByShopId(shopId));
|
||||
}
|
||||
|
||||
@ApiOperation("待巡员工列表")
|
||||
@PostMapping("/employeeTrainingList")
|
||||
public ResponseResult<PageInfo<EmployeeTrainingVO>> employeeTrainingList(@RequestBody EmployeeTrainingRequest employeeTrainingRequest) {
|
||||
|
||||
Reference in New Issue
Block a user