|
@@ -3,6 +3,7 @@ package com.iotechn.unimall.admin.api.gubi.impl;
|
|
import java.util.List;
|
|
import java.util.List;
|
|
|
|
|
|
import com.iotechn.unimall.data.domain.gubi.GubiTypeSecond;
|
|
import com.iotechn.unimall.data.domain.gubi.GubiTypeSecond;
|
|
|
|
+import com.iotechn.unimall.data.domain.gubi.GubiTypeThree;
|
|
import com.iotechn.unimall.data.mapper.gubi.GubiTypeSecondMapper;
|
|
import com.iotechn.unimall.data.mapper.gubi.GubiTypeSecondMapper;
|
|
import com.iotechn.unimall.data.mapper.gubi.GubiTypeThreeMapper;
|
|
import com.iotechn.unimall.data.mapper.gubi.GubiTypeThreeMapper;
|
|
import org.apache.ibatis.session.RowBounds;
|
|
import org.apache.ibatis.session.RowBounds;
|
|
@@ -94,12 +95,16 @@ public class GubiTypeInfoServiceImpl implements IGubiTypeInfoService {
|
|
.eq("type_id", list.get(i).getTypeName())
|
|
.eq("type_id", list.get(i).getTypeName())
|
|
.eq("delete_flag", "0")
|
|
.eq("delete_flag", "0")
|
|
.orderBy("postion"));
|
|
.orderBy("postion"));
|
|
|
|
+ if(!CollectionUtils.isEmpty(gubiTypeSeconds)){
|
|
|
|
+ for(int k=0;k<gubiTypeSeconds.size();k++){
|
|
|
|
+ List<GubiTypeThree> gubiTypeThrees = gubiTypeThreeMapper.selectList(new EntityWrapper<GubiTypeThree>()
|
|
|
|
+ .eq("type_id", gubiTypeSeconds.get(k).getId())
|
|
|
|
+ .eq("delete_flag", "0")
|
|
|
|
+ .orderBy("postion"));
|
|
|
|
+ gubiTypeSeconds.get(k).setGubiTypeThrees(gubiTypeThrees);
|
|
|
|
+ }
|
|
|
|
+ }
|
|
list.get(i).setGubiTypeSeconds(gubiTypeSeconds);
|
|
list.get(i).setGubiTypeSeconds(gubiTypeSeconds);
|
|
-// if(!CollectionUtils.isEmpty(gubiTypeSeconds)){
|
|
|
|
-// for(){
|
|
|
|
-//
|
|
|
|
-// }
|
|
|
|
-// }
|
|
|
|
}
|
|
}
|
|
|
|
|
|
}
|
|
}
|