master
wangning 6 years ago
parent 4b53fee85c
commit 2de776e4ca

@ -10,4 +10,10 @@
FROM sys_permission_functions f FROM sys_permission_functions f
LEFT JOIN sys_permission_modules m ON m.module_name = f.module LEFT JOIN sys_permission_modules m ON m.module_name = f.module
</sql> </sql>
<select id="listByClientMoniker" resultType="com.alibaba.fastjson.JSONObject">
select pmc.*,pm.module_name from sys_permission_partner_modules_clients pmc left join sys_permission_partner_modules pm
on pmc.module_id = pm.id and pmc.client_moniker = #{client_moniker}
</select>
</mapper> </mapper>

@ -11,7 +11,7 @@
</thead> </thead>
<tbody> <tbody>
<tr ng-repeat="permission in permissionList"> <tr ng-repeat="permission in permissionList">
<td ng-bind="permission.module_id"></td> <td ng-bind="permission.module_name"></td>
<td> <td>
<input type="checkbox" ng-click="switchValid(permission)" ng-model="permission.is_valid"> <input type="checkbox" ng-click="switchValid(permission)" ng-model="permission.is_valid">
</td> </td>

Loading…
Cancel
Save