fix 修复 hutool StrUtil.containsAny 传入参数后返回结果不一致问题
| | |
| | | for (String item : convertSource)
|
| | | {
|
| | | String[] itemArray = item.split("=");
|
| | | if (StrUtil.containsAny(separator, propertyValue))
|
| | | if (StrUtil.containsAny(propertyValue, separator)) |
| | | {
|
| | | for (String value : propertyValue.split(separator))
|
| | | {
|
| | |
| | | for (String item : convertSource)
|
| | | {
|
| | | String[] itemArray = item.split("=");
|
| | | if (StrUtil.containsAny(separator, propertyValue))
|
| | | if (StrUtil.containsAny(propertyValue, separator)) |
| | | {
|
| | | for (String value : propertyValue.split(separator))
|
| | | {
|
| | |
| | | // 获取模板列表 |
| | | List<String> templates = VelocityUtils.getTemplateList(table.getTplCategory()); |
| | | for (String template : templates) { |
| | | if (!StrUtil.containsAny(template, "sql.vm", "api.js.vm", "index.vue.vm", "index-tree.vue.vm")) { |
| | | if (!StrUtil.containsAny("sql.vm", "api.js.vm", "index.vue.vm", "index-tree.vue.vm", template)) { |
| | | // 渲染模板 |
| | | StringWriter sw = new StringWriter(); |
| | | Template tpl = Velocity.getTemplate(template, Constants.UTF8); |