|
@ -6,6 +6,7 @@ import com.yihu.wlyy.web.BaseController;
|
|
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 org.json.JSONObject;
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
import org.springframework.web.bind.annotation.*;
|
|
import org.springframework.web.bind.annotation.*;
|
|
|
|
|
|
@ -44,13 +45,12 @@ public class PrescriptionInfoController extends BaseController{
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
@RequestMapping(value = "/getPrescriptionFilter")
|
|
|
|
|
|
@RequestMapping(value = "/getPrescriptionFilter", method = RequestMethod.GET)
|
|
@ResponseBody
|
|
@ResponseBody
|
|
@ApiOperation(value = "获取过滤规则信息")
|
|
@ApiOperation(value = "获取过滤规则信息")
|
|
public String getPrescriptionFilter(){
|
|
public String getPrescriptionFilter(){
|
|
try {
|
|
try {
|
|
|
|
|
|
return write(200, "查询成功!", "data", "");
|
|
|
|
|
|
return write(200, "查询成功!", "data",prescriptionInfoService.getPrescriptionFilter());
|
|
} catch (Exception e) {
|
|
} catch (Exception e) {
|
|
error(e);
|
|
error(e);
|
|
return error(-1, "查询失败!");
|
|
return error(-1, "查询失败!");
|