|
|
|
@ -136,8 +136,9 @@ public class ModuleCategoryServiceImpl extends BaseServiceImpl<ModuleCategoryDao |
|
|
|
for (String detail : dto.getDetailStyle()) { |
|
|
|
detailStyle.append(detail).append(","); |
|
|
|
} |
|
|
|
} |
|
|
|
entity.setDetailStyle(detailStyle.substring(0,detailStyle.lastIndexOf(","))); |
|
|
|
} |
|
|
|
|
|
|
|
insert(entity); |
|
|
|
} |
|
|
|
/** |
|
|
|
@ -240,8 +241,10 @@ public class ModuleCategoryServiceImpl extends BaseServiceImpl<ModuleCategoryDao |
|
|
|
for (String detail : dto.getDetailStyle()) { |
|
|
|
detailStyle.append(detail).append(","); |
|
|
|
} |
|
|
|
} |
|
|
|
entity.setDetailStyle(detailStyle.substring(0,detailStyle.lastIndexOf(","))); |
|
|
|
}else { |
|
|
|
entity.setDetailStyle(""); |
|
|
|
} |
|
|
|
updateById(entity); |
|
|
|
} |
|
|
|
|
|
|
|
|