提交 fe83afe4 编写于 作者: doc_wei's avatar doc_wei

添加模板类型判断

上级 35fb64be
......@@ -64,6 +64,7 @@
WHERE a.id != #{id}
AND a.group_id = #{groupId}
AND a.model_name = #{modelName}
AND a.model_type = #{modelType}
</select>
<update id="editCodeModelMationById" parameterType="java.util.Map">
......
......@@ -329,6 +329,7 @@
<property id="modelContent" name="modelContent" ref="required" var="模板内容"/>
<property id="modelText" name="modelText" ref="required" var="模板纯文本"/>
<property id="groupId" name="groupId" ref="required" var="分组id"/>
<property id="modelType" name="modelType" ref="required" var="模板类型"/>
<property id="rowId" name="id" ref="required" var="模板id"/>
</url>
<url id="codemodel011" path="/post/CodeModelGroupController/queryTableParameterByTableName" val="根据表名获取表的相关信息" allUse="1">
......
......@@ -71,6 +71,7 @@ layui.config({
modelName: $("#modelName").val(),
modelContent: encodeURI(editor.getValue()),
modelText: encodeURI(editor.getValue()),
modelType: $("#modelType").val(),
groupId: parent.groupId,
rowId: parent.rowId
};
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册