diff --git a/platform-biz-service/src/main/resources/mainOrm/Roles.xml b/platform-biz-service/src/main/resources/mainOrm/Roles.xml
index ceb817b..e476b70 100644
--- a/platform-biz-service/src/main/resources/mainOrm/Roles.xml
+++ b/platform-biz-service/src/main/resources/mainOrm/Roles.xml
@@ -59,6 +59,9 @@ insert into roles (type,name,publish_id,publish_name,yn,enable,modified,created,
shortCode = #{shortCode,jdbcType=VARCHAR},
+
+ orgid =#{orgid,jdbcType=INTEGER},
+
where id = #{id,jdbcType=INTEGER}
@@ -70,7 +73,7 @@ delete from roles where id = #{id,jdbcType=INTEGER}
@@ -130,6 +133,9 @@ select id,type,name,publish_id,publish_name,yn,enable,modified,created,remarks,s
and name like CONCAT(#{keyword}, '%')
+
+ and orgid =#{orgid,jdbcType=INTEGER}
+