gongdecai 2 vuotta sitten
vanhempi
commit
41f87d4f3d

+ 1 - 1
unimall-admin-api/src/main/java/com/iotechn/unimall/admin/api/gubi/impl/GubiTypeInfoServiceImpl.java

@@ -98,7 +98,7 @@ public class GubiTypeInfoServiceImpl implements IGubiTypeInfoService {
                 if(!CollectionUtils.isEmpty(gubiTypeSeconds)){
                     for(int k=0;k<gubiTypeSeconds.size();k++){
                         List<GubiTypeThree> gubiTypeThrees = gubiTypeThreeMapper.selectList(new EntityWrapper<GubiTypeThree>()
-                                .eq("second_id", gubiTypeSeconds.get(k).getSecondName())
+                                .eq("second_id", gubiTypeSeconds.get(k).getId())
                                 .eq("delete_flag", "0")
                                 .orderBy("postion"));
                         gubiTypeSeconds.get(k).setGubiTypeThrees(gubiTypeThrees);