Commit 9c834cf4 by huangjinxin

feat:代码优化

1 parent 3bf78820
...@@ -49,7 +49,7 @@ public class CapacityUtils { ...@@ -49,7 +49,7 @@ public class CapacityUtils {
*/ */
public List<String> getLayersBySkillCode(String brand, String type, String skillCode) { public List<String> getLayersBySkillCode(String brand, String type, String skillCode) {
List<String> layers = new ArrayList<>(); List<String> layers = new ArrayList<>();
List<SkillInfoEntity> entitys = skillInfoDao.getByBrandAndTypeAndsAndSkillCode(brand, type, skillCode); List<SkillInfoEntity> entitys = skillInfoDao.getByBrandAndTypeAndSkillCode(brand, type, skillCode);
if (CollectionUtils.isNotEmpty(entitys)) { if (CollectionUtils.isNotEmpty(entitys)) {
for (SkillInfoEntity entity : entitys) { for (SkillInfoEntity entity : entitys) {
layers.add(entity.getLayerId()); layers.add(entity.getLayerId());
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!