|
|
@@ -194,17 +194,6 @@ public class CommonService extends BaseService<Map<String, Object>> {
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
- * @desc : 获取商品品牌
|
|
|
- * @author : 夏常明
|
|
|
- * @date : 2023/1/10 14:24
|
|
|
- */
|
|
|
- public ResponseResultVO<List<Map<String, Object>>> getBrand(Map<String, Object> param) {
|
|
|
- // 获取系统基础数据
|
|
|
- List<Map<String, Object>> list = commonMapper.getBrand(param);
|
|
|
- return ResponseResultUtil.success(list);
|
|
|
- }
|
|
|
-
|
|
|
- /**
|
|
|
* @desc : 获取角色
|
|
|
* @author : 姜宁
|
|
|
* @date : 2023/1/29 14:28
|
|
|
@@ -290,22 +279,6 @@ public class CommonService extends BaseService<Map<String, Object>> {
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
- * @desc : 获取组织部门
|
|
|
- * @author : 姜宁
|
|
|
- * @date : 2023/2/1 14:09
|
|
|
- */
|
|
|
- public ResponseResultVO<PageList<Map<String, Object>>> getOrganizationByPage(Map<String, Object> param) {
|
|
|
- // 校验分页参数
|
|
|
- if (param.get("pageSize") == null || param.get("currentPage") == null) {
|
|
|
- return ResponseResultUtil.error(ResponseCodeEnum.OPERATE_FAIL, "请检查分页参数!");
|
|
|
- }
|
|
|
- // 分页参数赋值
|
|
|
- param = this.getLimit(param);
|
|
|
- return super.mergeListWithCount(param, commonMapper.getOrganizationByPage(param),
|
|
|
- commonMapper.getOrganizationCountByPage(param));
|
|
|
- }
|
|
|
-
|
|
|
- /**
|
|
|
* @desc : 获取数据字典
|
|
|
* @author : 姜宁
|
|
|
* @date : 2023/2/7 14:47
|