重庆编码设备bug修改

This commit is contained in:
liang.chao 2024-11-21 10:07:16 +08:00
parent fd9fd2d17c
commit e88c625154
1 changed files with 16 additions and 0 deletions

View File

@ -214,6 +214,22 @@ public class MaTypeController extends BaseController {
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查询右表格
* @param typeId