prescript

This commit is contained in:
wangjinlei
2023-12-15 15:39:57 +08:00
parent 065cce514f
commit 8d88be960e
5 changed files with 24 additions and 8 deletions

View File

@@ -119,8 +119,10 @@ public class PrescriptController {
*/
@RequestMapping("/prescriptListForJF")
public R prescriptListForJF(@RequestBody Map<String,Object> map){
return R.ok();
Integer limit = Integer.valueOf(map.get("limit").toString());
Integer page = Integer.valueOf(map.get("page").toString());
Page<PrescriptEntity> prescriptListForJF = prescriptService.getPrescriptListForJF(limit, page);
return R.ok().put("page",prescriptListForJF);
}
private R getR(@RequestBody Map<String, Object> map) {