gongdecai 2 éve
szülő
commit
cf69487542

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

@@ -92,7 +92,7 @@ public class GubiTypeInfoServiceImpl implements IGubiTypeInfoService {
         if (!CollectionUtils.isEmpty(list)) {
             for (int i = 0; i < list.size(); i++) {
                 List<GubiTypeSecond> gubiTypeSeconds = gubiTypeSecondMapper.selectList(new EntityWrapper<GubiTypeSecond>()
-                        .eq("type_id", list.get(i).getTypeName())
+                        .eq("type_id", list.get(i).getId())
                         .eq("delete_flag", "0")
                         .orderBy("postion"));
                 if(!CollectionUtils.isEmpty(gubiTypeSeconds)){