重庆编码设备bug修改
This commit is contained in:
parent
fd9fd2d17c
commit
e88c625154
|
|
@ -214,6 +214,22 @@ public class MaTypeController extends BaseController {
|
||||||
return AjaxResult.success(ListPagingUtil.paging(pageIndex, pageSize, listByMaType));
|
return AjaxResult.success(ListPagingUtil.paging(pageIndex, pageSize, listByMaType));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 根据左列表类型id查询右表格
|
||||||
|
*
|
||||||
|
* @param typeId
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
|
@ApiOperation(value = "根据左列表类型id查询右表格")
|
||||||
|
@GetMapping("/getListByMaTypePid")
|
||||||
|
public AjaxResult getListByMaTypePid(Long typeId, @RequestParam(required = false) String typeName) {
|
||||||
|
List<MaType> listByParentId = iTypeService.getListByParentId(typeId, typeName);
|
||||||
|
Integer pageIndex = Convert.toInt(ServletUtils.getParameter(PAGE_NUM), 1);
|
||||||
|
Integer pageSize = Convert.toInt(ServletUtils.getParameter(PAGE_SIZE), 10);
|
||||||
|
return AjaxResult.success(ListPagingUtil.paging(pageIndex, pageSize, listByParentId));
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 根据左列表类型id查询右表格
|
* 根据左列表类型id查询右表格
|
||||||
* @param typeId
|
* @param typeId
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue