56610
This commit is contained in:
+6
-1
@@ -1354,7 +1354,8 @@ public class SarBussionessStandServiceImpl extends ServiceImpl<SarBussionessStan
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
//配置列表显示的数据权限
|
//配置列表显示的数据权限
|
||||||
if ("1".equals(page.getIsKU())) {
|
//63e999c65b1f2b1339119a00eb1d50cf
|
||||||
|
if ("1".equals(page.getIsKU()) && !"qbwdsc".equals(page.getCollectMenuId())) {
|
||||||
List<SarBussionessStand> sarlist = new ArrayList<>();
|
List<SarBussionessStand> sarlist = new ArrayList<>();
|
||||||
List<String> access = tsUserService.getResourceDataUserId(page.getUserId());
|
List<String> access = tsUserService.getResourceDataUserId(page.getUserId());
|
||||||
if (null == page.getMenuId() && null == page.getMenuAllChildrenIdList()) {
|
if (null == page.getMenuId() && null == page.getMenuAllChildrenIdList()) {
|
||||||
@@ -1379,6 +1380,10 @@ public class SarBussionessStandServiceImpl extends ServiceImpl<SarBussionessStan
|
|||||||
return sarlist;
|
return sarlist;
|
||||||
}
|
}
|
||||||
}else {
|
}else {
|
||||||
|
if ("qbwdsc".equals(page.getCollectMenuId())){
|
||||||
|
page.setMenuRoleList(null);
|
||||||
|
page.setMenuId(null);
|
||||||
|
}
|
||||||
Integer rowCount = this.baseMapper.getBussionessStandInfoCount(page);
|
Integer rowCount = this.baseMapper.getBussionessStandInfoCount(page);
|
||||||
page.getPager().setRowCount(rowCount);
|
page.getPager().setRowCount(rowCount);
|
||||||
List<SarBussionessStand> sarlist = this.baseMapper.getBussionessStandInfoPage(page);
|
List<SarBussionessStand> sarlist = this.baseMapper.getBussionessStandInfoPage(page);
|
||||||
|
|||||||
@@ -5,6 +5,7 @@ import com.adc.da.slrs.sarRole.entity.TsRole;
|
|||||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||||
import org.apache.ibatis.annotations.Delete;
|
import org.apache.ibatis.annotations.Delete;
|
||||||
import org.apache.ibatis.annotations.Insert;
|
import org.apache.ibatis.annotations.Insert;
|
||||||
|
import org.apache.ibatis.annotations.Param;
|
||||||
import org.apache.ibatis.annotations.Select;
|
import org.apache.ibatis.annotations.Select;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
@@ -33,7 +34,7 @@ public interface TsPositionDao extends BaseMapper<TsPosition> {
|
|||||||
* @param roleId:角色ID
|
* @param roleId:角色ID
|
||||||
*/
|
*/
|
||||||
@Insert("insert into ts_position_role (position_id,role_id) values (#{positionId},#{roleId})")
|
@Insert("insert into ts_position_role (position_id,role_id) values (#{positionId},#{roleId})")
|
||||||
void insertRole(String positionId, String roleId);
|
void insertRole(@Param("positionId") String positionId, @Param("roleId")String roleId);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 解绑角色
|
* 解绑角色
|
||||||
|
|||||||
Reference in New Issue
Block a user