Ver código fonte

代码修改

yeshijie 7 anos atrás
pai
commit
5a95f253e3

+ 2 - 3
patient-co-service/wlyy_service/src/main/java/com/yihu/wlyy/service/controller/PrescriptionController.java

@ -6,7 +6,6 @@ import com.yihu.wlyy.service.service.prescription.PrescriptionService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import io.swagger.annotations.ApiParam;
import com.alibaba.fastjson.JSONObject;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.*;
@ -173,8 +172,8 @@ public class PrescriptionController extends BaseController{
							 @RequestParam(value = "prescriptionCode",required = true) String prescriptionCode)
	{
		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();
			return Result.success("挂号开处方接口!",re);