|
|
@ -41,7 +41,7 @@ public class ApiAppletExaminationController { |
|
|
|
|
|
|
|
@ApiOperation("伴宠师工作台-题目列表数据查询") |
|
|
|
@GetMapping("/questionList") |
|
|
|
public AjaxResult questionList(@RequestBody AppletQuestion question){ |
|
|
|
public AjaxResult questionList(AppletQuestion question){ |
|
|
|
List<AppletQuestion> questionList = appletQuestionService.selectAppletQuestionList(question); |
|
|
|
return AjaxResult.success("题目列表数据",questionList); |
|
|
|
} |
|
|
@ -57,14 +57,14 @@ public class ApiAppletExaminationController { |
|
|
|
|
|
|
|
@ApiOperation("伴宠师工作台-查询宠物类型列表") |
|
|
|
@GetMapping("/petTypeList") |
|
|
|
public AjaxResult petTypeList(@RequestBody AppletPetType appletPetType){ |
|
|
|
public AjaxResult petTypeList(AppletPetType appletPetType){ |
|
|
|
List<AppletPetType> petTypeList = appletPetTypeService.selectAppletPetTypeList(appletPetType); |
|
|
|
return AjaxResult.success("宠物类型列表数据",petTypeList); |
|
|
|
} |
|
|
|
|
|
|
|
@ApiOperation("伴宠师工作台-查询专业执照列表") |
|
|
|
@GetMapping("/licenseList") |
|
|
|
public AjaxResult licenseList(@RequestBody AppletLicense appletLicense){ |
|
|
|
public AjaxResult licenseList(AppletLicense appletLicense){ |
|
|
|
List<AppletLicense> licenseList = appletLicenseService.selectAppletLicenseList(appletLicense); |
|
|
|
return AjaxResult.success("专业执照列表数据",licenseList); |
|
|
|
} |
|
|
@ -94,7 +94,7 @@ public class ApiAppletExaminationController { |
|
|
|
|
|
|
|
@ApiOperation("伴宠师工作台-添加用户基本考核答案") |
|
|
|
@PostMapping("/addBaseAnswer") |
|
|
|
public AjaxResult addBaseAnswer(@RequestBody AppletAnswerBase answerBase){ |
|
|
|
public AjaxResult addBaseAnswer(AppletAnswerBase answerBase){ |
|
|
|
return toAjax(appletAnswerBaseService.insertAppletAnswerBase(answerBase)); |
|
|
|
} |
|
|
|
|
|
|
@ -124,7 +124,7 @@ public class ApiAppletExaminationController { |
|
|
|
|
|
|
|
@ApiOperation("伴宠师工作台-添加用户培训考核答案") |
|
|
|
@PostMapping("/addTrainAnswer") |
|
|
|
public AjaxResult addTrainAnswer(@RequestBody AppletAnswerTrain answerTrain){ |
|
|
|
public AjaxResult addTrainAnswer(AppletAnswerTrain answerTrain){ |
|
|
|
return toAjax(appletAnswerTrainService.insertAppletAnswerTrain(answerTrain)); |
|
|
|
} |
|
|
|
|
|
|
|