|
@@ -121,18 +121,7 @@ public class MileageController {
|
|
|
|
|
|
|
|
|
|
|
|
-// @ResponseBody
|
|
|
-// @RequestMapping(value="/list",method= RequestMethod.POST)
|
|
|
-// public R<Object> list(HttpServletRequest request, String projectId, String partNo, String partId, RequestPage page){
|
|
|
-// Long userid = AuthUtil.getUserId();
|
|
|
-// Map<String, Object> param = new HashMap<String, Object>();
|
|
|
-// param.put("partId",partId);
|
|
|
-// param.put("deleted",0);
|
|
|
-// param.put("projId", projectId);
|
|
|
-// this.service
|
|
|
-// result =mileagexyService.List(param,page.getStartNum(), page.getPageSize());
|
|
|
-// return result;
|
|
|
-// }
|
|
|
+
|
|
|
@GetMapping("/list")
|
|
|
public R<IPage<Mileagexy>> page(@RequestParam Map<String, Object> param, Query query) {
|
|
|
IPage<Mileagexy> pages = service.page(Condition.getPage(query), Condition.getQueryWrapper(param, Mileagexy.class));
|