|
@ -354,13 +354,14 @@ public class PrescriptionController extends BaseController{
|
|
|
|
|
|
|
|
|
/**---------------------顺丰快递相关接口---------------------**/
|
|
|
@RequestMapping(value = "getSFExpressInfoByVisitNo",method = RequestMethod.GET)
|
|
|
@RequestMapping(value = "getSFExpressInfoByVisitNoAndRecipeNo",method = RequestMethod.GET)
|
|
|
@ResponseBody
|
|
|
@ApiOperation("根据基卫挂号单获取顺丰快递相关信息")
|
|
|
@ApiOperation("根据基卫挂号号和处方号获取顺丰快递相关信息")
|
|
|
public Result getSFExpressInfo(
|
|
|
@ApiParam(name="visitNo", value="基卫挂号号") @RequestParam(value = "visitNo",required = true) String visitNo){
|
|
|
@ApiParam(name="visitNo", value="基卫挂号号") @RequestParam(value = "visitNo",required = true) String visitNo,
|
|
|
@ApiParam(name="recipeNo", value="基卫处方号") @RequestParam(value = "recipeNo",required = true) String recipeNo){
|
|
|
try {
|
|
|
return prescriptionService.getSFExpressInfoByVisitNo(visitNo);
|
|
|
return prescriptionService.getSFExpressInfoByVisitNoAndRecipeNo(visitNo,recipeNo);
|
|
|
}catch (Exception e){
|
|
|
e.printStackTrace();
|
|
|
return Result.error(e.getMessage());
|