Commit 3d547fc8f03ed942d9cc19bf289095cea86194d7
1 parent
c54684dc13
Exists in
master
and in
8 other branches
增加是否通知
Showing 1 changed file with 7 additions and 1 deletions
platform-biz-service/src/main/resources/mainOrm/Roles.xml
View file @
3d547fc
... | ... | @@ -59,6 +59,9 @@ |
59 | 59 | <if test="shortCode != null"> |
60 | 60 | shortCode = #{shortCode,jdbcType=VARCHAR}, |
61 | 61 | </if> |
62 | + <if test="orgid != null"> | |
63 | + orgid =#{orgid,jdbcType=INTEGER}, | |
64 | + </if> | |
62 | 65 | </set> |
63 | 66 | where id = #{id,jdbcType=INTEGER} |
64 | 67 | </update> |
... | ... | @@ -70,7 +73,7 @@ |
70 | 73 | |
71 | 74 | |
72 | 75 | <select id="getRoles" resultMap="RolesResultMap" parameterType="java.lang.Integer"> |
73 | -select id,type,name,publish_id,publish_name,yn,enable,modified,created,remarks,shortCode | |
76 | +select id,type,name,publish_id,publish_name,yn,enable,modified,created,remarks,shortCode,orgid | |
74 | 77 | from roles where id = #{id,jdbcType=INTEGER} |
75 | 78 | </select> |
76 | 79 | |
... | ... | @@ -129,6 +132,9 @@ |
129 | 132 | </if> |
130 | 133 | <if test="keyword != null and keyword != ''"> |
131 | 134 | and name like CONCAT(#{keyword}, '%') |
135 | + </if> | |
136 | + <if test="orgid != null"> | |
137 | + and orgid =#{orgid,jdbcType=INTEGER} | |
132 | 138 | </if> |
133 | 139 | </where> |
134 | 140 | </sql> |