소스 검색

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

release_toaliyun_real
xhxu 3 년 전
부모
커밋
e326c8a991
2개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  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 파일 보기

@@ -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 파일 보기

@@ -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>



불러오는 중...
취소
저장