小程序服务评价代码修改
This commit is contained in:
parent
1869987d7b
commit
dea1bd6bc3
@ -36,7 +36,6 @@ public class ConsultationInfoController extends BaseController {
|
|||||||
/**
|
/**
|
||||||
* 查询在线问诊-问诊信息列表
|
* 查询在线问诊-问诊信息列表
|
||||||
*/
|
*/
|
||||||
//@PreAuthorize("@ss.hasPermi('system:info:list')")
|
|
||||||
@GetMapping("/list")
|
@GetMapping("/list")
|
||||||
public TableDataInfo list(ConsultationInfoDTO consultationInfoDTO) {
|
public TableDataInfo list(ConsultationInfoDTO consultationInfoDTO) {
|
||||||
startPage();
|
startPage();
|
||||||
@ -44,11 +43,9 @@ public class ConsultationInfoController extends BaseController {
|
|||||||
return getDataTable(list);
|
return getDataTable(list);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 获取在线问诊-问诊信息详细信息
|
* 获取在线问诊-问诊信息详细信息
|
||||||
*/
|
*/
|
||||||
//@PreAuthorize("@ss.hasPermi('system:info:query')")
|
|
||||||
@GetMapping(value = "/{id}")
|
@GetMapping(value = "/{id}")
|
||||||
public AjaxResult getInfo(@PathVariable("id") Long id) {
|
public AjaxResult getInfo(@PathVariable("id") Long id) {
|
||||||
return AjaxResult.success(consultationInfoService.selectConsultationInfoById(id));
|
return AjaxResult.success(consultationInfoService.selectConsultationInfoById(id));
|
||||||
@ -57,7 +54,6 @@ public class ConsultationInfoController extends BaseController {
|
|||||||
/**
|
/**
|
||||||
* 新增在线问诊-问诊信息
|
* 新增在线问诊-问诊信息
|
||||||
*/
|
*/
|
||||||
// @PreAuthorize("@ss.hasPermi('system:info:add')")
|
|
||||||
@Log(title = "在线问诊-问诊信息", businessType = BusinessType.INSERT)
|
@Log(title = "在线问诊-问诊信息", businessType = BusinessType.INSERT)
|
||||||
@PostMapping
|
@PostMapping
|
||||||
public AjaxResult add(@Validated(Insert.class) @RequestBody ConsultationInfoDTO consultationInfoDTO) {
|
public AjaxResult add(@Validated(Insert.class) @RequestBody ConsultationInfoDTO consultationInfoDTO) {
|
||||||
@ -67,14 +63,12 @@ public class ConsultationInfoController extends BaseController {
|
|||||||
/**
|
/**
|
||||||
* 修改在线问诊-问诊信息(修改问诊状态)
|
* 修改在线问诊-问诊信息(修改问诊状态)
|
||||||
*/
|
*/
|
||||||
// @PreAuthorize("@ss.hasPermi('system:info:edit')")
|
|
||||||
@Log(title = "在线问诊-问诊信息", businessType = BusinessType.UPDATE)
|
@Log(title = "在线问诊-问诊信息", businessType = BusinessType.UPDATE)
|
||||||
@PutMapping
|
@PutMapping
|
||||||
public AjaxResult edit(@RequestBody ConsultationInfo consultationInfo) {
|
public AjaxResult edit(@RequestBody ConsultationInfo consultationInfo) {
|
||||||
return toAjax(consultationInfoService.updateConsultationInfo(consultationInfo));
|
return toAjax(consultationInfoService.updateConsultationInfo(consultationInfo));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 问诊资料上传接口
|
* 问诊资料上传接口
|
||||||
*/
|
*/
|
||||||
@ -88,5 +82,4 @@ public class ConsultationInfoController extends BaseController {
|
|||||||
}
|
}
|
||||||
return consultationInfoService.uploadConsultationFile(multipartFile);
|
return consultationInfoService.uploadConsultationFile(multipartFile);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user