|
@@ -673,7 +673,16 @@ public class CommonService extends BaseService<Map<String, Object>> {
|
|
|
public ResponseResultVO<List<Map<String, Object>>> getGoodsCategoryNoPage(Map<String, Object> param) {
|
|
public ResponseResultVO<List<Map<String, Object>>> getGoodsCategoryNoPage(Map<String, Object> param) {
|
|
|
List<Map<String, Object>> list = commonMapper.getGoodsCategory(param);
|
|
List<Map<String, Object>> list = commonMapper.getGoodsCategory(param);
|
|
|
return ResponseResultUtil.success(list);
|
|
return ResponseResultUtil.success(list);
|
|
|
|
|
+ } /**
|
|
|
|
|
+ * @desc : 商品种类查询 树形
|
|
|
|
|
+ * @author : 王英杰
|
|
|
|
|
+ * @date : 2024/2/26 10:36
|
|
|
|
|
+ */
|
|
|
|
|
+ public ResponseResultVO<List<Map<String, Object>>> getGoodsCategoryTree(Map<String, Object> param) {
|
|
|
|
|
+ List<Map<String, Object>> list = commonMapper.getGoodsCategoryTree(param);
|
|
|
|
|
+ return ResponseResultUtil.success(list);
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
/**
|
|
/**
|
|
|
* @desc : 获取页面数据源集合 (小程序用)
|
|
* @desc : 获取页面数据源集合 (小程序用)
|
|
|
* @author : 于继渤
|
|
* @author : 于继渤
|
|
@@ -713,6 +722,10 @@ public class CommonService extends BaseService<Map<String, Object>> {
|
|
|
if (dataSourceCode.equals("org")) {
|
|
if (dataSourceCode.equals("org")) {
|
|
|
list = commonMapper.getOrg(map);
|
|
list = commonMapper.getOrg(map);
|
|
|
}
|
|
}
|
|
|
|
|
+ //品牌
|
|
|
|
|
+ if (dataSourceCode.equals("brand")) {
|
|
|
|
|
+ list = commonMapper.getGoodsBrand(map);
|
|
|
|
|
+ }
|
|
|
//员工
|
|
//员工
|
|
|
if (dataSourceCode.equals("staff")) {
|
|
if (dataSourceCode.equals("staff")) {
|
|
|
list = commonMapper.getStaff(map);
|
|
list = commonMapper.getStaff(map);
|