|
|
|
@ -67,7 +67,7 @@ public class WorkdiaryServiceController { |
|
|
|
* @param id |
|
|
|
* @return |
|
|
|
*/ |
|
|
|
@RequestMapping(value = "/record/{id}",method = {RequestMethod.POST,RequestMethod.GET}) |
|
|
|
@RequestMapping(value = "/record/{id}/detail",method = {RequestMethod.POST,RequestMethod.GET}) |
|
|
|
public Result<WorkdiaryServiceRecordDTO> recordGet(@PathVariable("id") String id){ |
|
|
|
WorkdiaryServiceRecordDTO data = workdiaryServiceRecordService.get(id); |
|
|
|
return new Result<WorkdiaryServiceRecordDTO>().ok(data); |
|
|
|
@ -136,7 +136,7 @@ public class WorkdiaryServiceController { |
|
|
|
* 服务类型-单条 |
|
|
|
* @return |
|
|
|
*/ |
|
|
|
@RequestMapping(value = "/serviceType/{id}",method = {RequestMethod.POST,RequestMethod.GET}) |
|
|
|
@RequestMapping(value = "/serviceType/{id}/detail",method = {RequestMethod.POST,RequestMethod.GET}) |
|
|
|
public Result<WorkdiaryServiceTypeDTO> serviceTypeGet(@PathVariable("id") String id){ |
|
|
|
WorkdiaryServiceTypeDTO data = workdiaryServiceTypeService.get(id); |
|
|
|
return new Result<WorkdiaryServiceTypeDTO>().ok(data); |
|
|
|
|