优化租户管理的编辑功能
This commit is contained in:
@@ -77,6 +77,7 @@
|
||||
</foreach>
|
||||
)
|
||||
</update>
|
||||
|
||||
<resultMap id="BaseTreeResultMap" type="com.jsh.erp.datasource.vo.TreeNodeEx">
|
||||
<result column="id" property="id"/>
|
||||
<result column="text" property="text"/>
|
||||
@@ -129,4 +130,9 @@
|
||||
and ifnull(org_stcd,'0') !='5'
|
||||
order by sort asc
|
||||
</select>
|
||||
|
||||
<update id="disableUserByLimit">
|
||||
update jsh_user set Status='2'
|
||||
where tenant_id=#{tenantId} and id!=#{tenantId} and Status!='1'
|
||||
</update>
|
||||
</mapper>
|
||||
Reference in New Issue
Block a user