去除多余代码
This commit is contained in:
parent
214f568f94
commit
b8b1930e57
@ -121,7 +121,7 @@ public class ShopBaseProductBrandServiceImpl extends BaseServiceImpl<ShopBasePro
|
|||||||
public boolean saveOrUpdateBrand(ShopBaseProductBrand shopBaseProductBrand) {
|
public boolean saveOrUpdateBrand(ShopBaseProductBrand shopBaseProductBrand) {
|
||||||
|
|
||||||
//shopBaseProductBrand.setBrand_name_pinyin("qi ta pin pai");
|
//shopBaseProductBrand.setBrand_name_pinyin("qi ta pin pai");
|
||||||
shopBaseProductBrand.setBrand_name_pinyin(PinyinUtil.getPinyin(shopBaseProductBrand.getBrand_name()," "));
|
shopBaseProductBrand.setBrand_name_pinyin(PinyinUtil.getPinyin(shopBaseProductBrand.getBrand_name()));
|
||||||
shopBaseProductBrand.setBrand_initial(Convert.toStr(shopBaseProductBrand.getBrand_name_pinyin().charAt(0)));
|
shopBaseProductBrand.setBrand_initial(Convert.toStr(shopBaseProductBrand.getBrand_name_pinyin().charAt(0)));
|
||||||
//shopBaseProductBrand.setBrand_initial("q");
|
//shopBaseProductBrand.setBrand_initial("q");
|
||||||
|
|
||||||
|
|||||||
@ -1246,7 +1246,7 @@ public class ShopBaseProductCategoryServiceImpl extends BaseServiceImpl<ShopBase
|
|||||||
if (CollUtil.isEmpty(map)) {
|
if (CollUtil.isEmpty(map)) {
|
||||||
QueryWrapper<ShopBaseProductCategory> queryWrapper = new QueryWrapper<>();
|
QueryWrapper<ShopBaseProductCategory> queryWrapper = new QueryWrapper<>();
|
||||||
queryWrapper.eq("store_id", storeId);
|
queryWrapper.eq("store_id", storeId);
|
||||||
queryWrapper.eq("data_source", 2);
|
// queryWrapper.eq("data_source", 2);
|
||||||
List<ShopBaseProductCategory> categoryList = find(queryWrapper);
|
List<ShopBaseProductCategory> categoryList = find(queryWrapper);
|
||||||
// 类似数据可以放到前端整理
|
// 类似数据可以放到前端整理
|
||||||
List<Map> category_tmp_rows = Convert.toList(Map.class, categoryList);
|
List<Map> category_tmp_rows = Convert.toList(Map.class, categoryList);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user