暂时只显示正选类目
This commit is contained in:
parent
c747158393
commit
1d91eb9976
|
|
@ -103,11 +103,13 @@ public class DeptGoodsCategoryServiceImpl implements DeptGoodsCategoryService {
|
||||||
customerSelection.setCustomerId(customerId);
|
customerSelection.setCustomerId(customerId);
|
||||||
List<CustomerSelection> customerSelections=customerSelectionService.selectCustomerSelectionList(customerSelection);
|
List<CustomerSelection> customerSelections=customerSelectionService.selectCustomerSelectionList(customerSelection);
|
||||||
List<DeptGoodsCategory> goodsCategoryList =new ArrayList<>();
|
List<DeptGoodsCategory> goodsCategoryList =new ArrayList<>();
|
||||||
|
// 第一层
|
||||||
for (CustomerSelection customerSelection1 : customerSelections) {
|
for (CustomerSelection customerSelection1 : customerSelections) {
|
||||||
DeptGoodsCategory deptGoodsCategory1=deptGoodsCategoryMapper.selectOneByGoodsCategoryId(customerSelection1.getDeptCategoryId());
|
DeptGoodsCategory deptGoodsCategory1=deptGoodsCategoryMapper.selectOneByGoodsCategoryId(customerSelection1.getDeptCategoryId());
|
||||||
|
if (customerSelection1.getSelectionType()==1){
|
||||||
goodsCategoryList.add(deptGoodsCategory1);
|
goodsCategoryList.add(deptGoodsCategory1);
|
||||||
}
|
}
|
||||||
// 第一层
|
}
|
||||||
// 第二层
|
// 第二层
|
||||||
this.fillChild(goodsCategoryList);
|
this.fillChild(goodsCategoryList);
|
||||||
// 第三层
|
// 第三层
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue