prescript
This commit is contained in:
@@ -75,6 +75,19 @@ public class PrescriptController {
|
||||
return R.ok();
|
||||
}
|
||||
|
||||
/**
|
||||
* 查找方药文章
|
||||
* @param map
|
||||
* @return
|
||||
*/
|
||||
@RequestMapping("/searchPrescript")
|
||||
public R searchPrescript(@RequestBody Map<String,Object> map){
|
||||
Integer type = Integer.valueOf(map.get("type").toString());
|
||||
String keywords = map.get("keywords").toString();
|
||||
List<PrescriptEntity> prescriptEntities = prescriptService.searchPrescripts(type, keywords);
|
||||
return R.ok().put("list",prescriptEntities);
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改方剂文章
|
||||
* @param p
|
||||
|
||||
Reference in New Issue
Block a user