diff --git a/ruoyi-admin/src/main/resources/static/ruoyi/js/ry-ui.js b/ruoyi-admin/src/main/resources/static/ruoyi/js/ry-ui.js index 2c38c31c8..8a852611d 100644 --- a/ruoyi-admin/src/main/resources/static/ruoyi/js/ry-ui.js +++ b/ruoyi-admin/src/main/resources/static/ruoyi/js/ry-ui.js @@ -259,7 +259,7 @@ selectDictLabel: function(datas, value) { var actions = []; $.each(datas, function(index, dict) { - if (dict.dictValue == value) { + if (dict.dictValue == ('' + value)) { actions.push("" + dict.dictLabel + ""); return false; } diff --git a/ruoyi-generator/src/main/resources/vm/java/ServiceImpl.java.vm b/ruoyi-generator/src/main/resources/vm/java/ServiceImpl.java.vm index 540c5ab39..c0df374b1 100644 --- a/ruoyi-generator/src/main/resources/vm/java/ServiceImpl.java.vm +++ b/ruoyi-generator/src/main/resources/vm/java/ServiceImpl.java.vm @@ -6,7 +6,7 @@ import org.springframework.stereotype.Service; import ${package}.mapper.${className}Mapper; import ${package}.domain.${className}; import ${package}.service.I${className}Service; -import com.ruoyi.common.support.Convert; +import com.ruoyi.common.core.text.Convert; /** * ${tableComment} 服务层实现