|
@ -6,7 +6,6 @@ import com.yihu.wlyy.service.service.prescription.PrescriptionService;
|
|
import io.swagger.annotations.Api;
|
|
import io.swagger.annotations.Api;
|
|
import io.swagger.annotations.ApiOperation;
|
|
import io.swagger.annotations.ApiOperation;
|
|
import io.swagger.annotations.ApiParam;
|
|
import io.swagger.annotations.ApiParam;
|
|
import com.alibaba.fastjson.JSONObject;
|
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
import org.springframework.stereotype.Controller;
|
|
import org.springframework.stereotype.Controller;
|
|
import org.springframework.web.bind.annotation.*;
|
|
import org.springframework.web.bind.annotation.*;
|
|
@ -173,8 +172,8 @@ public class PrescriptionController extends BaseController{
|
|
@RequestParam(value = "prescriptionCode",required = true) String prescriptionCode)
|
|
@RequestParam(value = "prescriptionCode",required = true) String prescriptionCode)
|
|
{
|
|
{
|
|
try {
|
|
try {
|
|
// String re = prescriptionService.saveRecipe(prescriptionCode);
|
|
|
|
String re = "{\"CODE\":\"1\",\"returnData\":[[{\"VISIT_NO\":\"3277875\",\"RECIPE_NO\":\"5477158\"}]],\"byRefParaData\":[{ \"errorMsg\": \"\" }]}";
|
|
|
|
|
|
String re = prescriptionService.saveRecipe(prescriptionCode);
|
|
|
|
// String re = "{\"CODE\":\"1\",\"returnData\":[[{\"VISIT_NO\":\"3277875\",\"RECIPE_NO\":\"5477158\"}]],\"byRefParaData\":[{ \"errorMsg\": \"\" }]}";
|
|
// String re = prescriptionService.testSaveRecipe();
|
|
// String re = prescriptionService.testSaveRecipe();
|
|
|
|
|
|
return Result.success("挂号开处方接口!",re);
|
|
return Result.success("挂号开处方接口!",re);
|