|
@@ -5,9 +5,9 @@
|
|
|
<!--插入数据-->
|
|
|
<!--int insert(Structure structure);-->
|
|
|
<insert id="insert" useGeneratedKeys="true" keyProperty="id">
|
|
|
- insert into structure (parent_id, structure_name, path, remark, product_id, tenant_id, create_person_id,
|
|
|
+ insert into structure (parent_id, structure_name, path, remark, product_id, create_person_id,
|
|
|
create_person_name)
|
|
|
- values (#{parentId}, #{structureName}, #{path}, #{remark}, #{productId}, #{tenantId}, #{createPersonId},
|
|
|
+ values (#{parentId}, #{structureName}, #{path}, #{remark}, #{productId}, #{createPersonId},
|
|
|
#{createPersonName});
|
|
|
</insert>
|
|
|
|
|
@@ -56,7 +56,7 @@
|
|
|
</update>
|
|
|
|
|
|
<!--根据父级id和名称和架构id统计数量-->
|
|
|
- <!--int countByparentIdAndStructureName(Integer parentId, String structureName, Integer structureId, Integer tenantId);-->
|
|
|
+ <!--int countByparentIdAndStructureName(Integer parentId, String structureName, Integer structureId);-->
|
|
|
<select id="countByparentIdAndStructureName" resultType="int">
|
|
|
select count(*)
|
|
|
from structure
|