fix(UI自动化): 修复元素库导入下载模板提示信息展示问题
--bug=1014993 --user=刘瑶 【UI测试】元素库-导入-下载模版-提示信息对应列不对-定位类型建议做成下拉选择 https://www.tapd.cn/55049933/s/1204366
This commit is contained in:
parent
10275df0b3
commit
605e7c763e
|
@ -195,7 +195,7 @@
|
||||||
|
|
||||||
<select id="selectByPrimaryKey" resultType="io.metersphere.base.domain.ModuleNode">
|
<select id="selectByPrimaryKey" resultType="io.metersphere.base.domain.ModuleNode">
|
||||||
select
|
select
|
||||||
<include refid="io.metersphere.base.mapper.TestCaseNodeMapper.Base_Column_List" />
|
*
|
||||||
from ${tableName}
|
from ${tableName}
|
||||||
where id = #{id,jdbcType=VARCHAR}
|
where id = #{id,jdbcType=VARCHAR}
|
||||||
</select>
|
</select>
|
||||||
|
|
|
@ -365,7 +365,7 @@ public class BaseModuleService extends NodeTreeService<ModuleNodeDTO> {
|
||||||
moduleNode.setId(UUID.randomUUID().toString());
|
moduleNode.setId(UUID.randomUUID().toString());
|
||||||
double pos = getNextLevelPos(projectId, level, pId);
|
double pos = getNextLevelPos(projectId, level, pId);
|
||||||
moduleNode.setPos(pos);
|
moduleNode.setPos(pos);
|
||||||
extModuleNodeMapper.insert(tableName, moduleNode);
|
extModuleNodeMapper.insertWithModulePath(tableName, moduleNode);
|
||||||
return moduleNode.getId();
|
return moduleNode.getId();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -431,8 +431,7 @@ public class BaseModuleService extends NodeTreeService<ModuleNodeDTO> {
|
||||||
moduleNode.setParentId(pId);
|
moduleNode.setParentId(pId);
|
||||||
if (level <= 1 && StringUtils.isBlank(parentPath)) {
|
if (level <= 1 && StringUtils.isBlank(parentPath)) {
|
||||||
moduleNode.setModulePath("/" + rootNode.getName());
|
moduleNode.setModulePath("/" + rootNode.getName());
|
||||||
}
|
} else {
|
||||||
else {
|
|
||||||
moduleNode.setModulePath(parentPath + "/" + rootNode.getName());
|
moduleNode.setModulePath(parentPath + "/" + rootNode.getName());
|
||||||
}
|
}
|
||||||
updateNodes.add(moduleNode);
|
updateNodes.add(moduleNode);
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Subproject commit 806edbbea6b2b3fffbb18b8fb83f4d293a1eed34
|
Subproject commit 9b3c05ac310942814b28e2433339e3303a5366e4
|
|
@ -1 +1 @@
|
||||||
Subproject commit d357c326a70088b0827ba1ced1d9cc035866170d
|
Subproject commit 1a5c65b84fb0c3cdce17b2671e6d80dc4e420337
|
Loading…
Reference in New Issue