|
|
|
@ -12,6 +12,8 @@ import org.springframework.web.bind.annotation.GetMapping;
|
|
|
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
|
|
import org.springframework.web.bind.annotation.RestController;
|
|
|
|
|
|
|
|
|
|
import java.util.List;
|
|
|
|
|
|
|
|
|
|
@Api(tags = "诊断流程")
|
|
|
|
|
@RestController
|
|
|
|
|
@RequestMapping("askProcess")
|
|
|
|
@ -26,4 +28,10 @@ public class AskProcessController {
|
|
|
|
|
User user = UserUtil.getUser();
|
|
|
|
|
return askProcessService.creatDiagnosisProcess(patientId, user);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@ApiOperation("查询用户正在诊断中的诊断记录")
|
|
|
|
|
@GetMapping("queryUserProcess")
|
|
|
|
|
public List<Process> queryUserProcess(String userId){
|
|
|
|
|
return askProcessService.queryUserProcess(userId);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|