Przeglądaj źródła

Merge branch 'release_toaliyun_real' of https://git.malls.iformall.com/server/formallProject into release_toaliyun_real

release_toaliyun_real
xhxu 3 lat temu
rodzic
commit
e326c8a991
2 zmienionych plików z 4 dodań i 0 usunięć
  1. +1
    -0
      mallinkService/src/main/java/com/iformall/service/impl/WxBusinessServiceImpl.java
  2. +3
    -0
      mallinkService/src/main/resources/mapper/WxBusinessMapper.xml

+ 1
- 0
mallinkService/src/main/java/com/iformall/service/impl/WxBusinessServiceImpl.java Wyświetl plik

@@ -288,6 +288,7 @@ public class WxBusinessServiceImpl implements WxBusinessService {
List<WxBusiness> treeList = new ArrayList<WxBusiness>();
for (WxBusiness business:childs) {
buildChildTree(business,childMap);
treeList.add(business);
}
if (treeList.size() > 0 ) {
parent.setChildren(treeList);


+ 3
- 0
mallinkService/src/main/resources/mapper/WxBusinessMapper.xml Wyświetl plik

@@ -95,6 +95,9 @@
<if test=" 1 == isRoot">
and `parent_id` is null
</if>
<if test=" null != isDel ">
and `is_del` = #{isDel}
</if>
order by create_date asc
</select>



Ładowanie…
Anuluj
Zapisz