com.centit.framework.system.service.SysUserUnitManager Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of framework-system-module Show documentation
Show all versions of framework-system-module Show documentation
定义了一组和core兼容的表结构,并用mybatis实现了表的增删改查
The newest version!
package com.centit.framework.system.service;
import com.centit.framework.system.po.UserUnit;
import com.centit.support.database.utils.PageDesc;
import java.util.List;
import java.util.Map;
/**
* Created with IntelliJ IDEA.
* User: sx
* Date: 14-10-28
* Time: 下午3:05
* To change this template use File | Settings | File Templates.
*/
public interface SysUserUnitManager{
UserUnit getObjectById(String userUnitId);
void deleteObject(UserUnit userUnit);
List listObjects(Map filterMap, PageDesc pageDesc);
List listObjectByUserUnit(String userCode, String unitCode);
UserUnit getPrimaryUnitByUserCode(String userCode);
String saveNewUserUnit(UserUnit userUnit);
void updateUserUnit(UserUnit userunit);
boolean hasUserStation(String stationCode,String userCode);
List listUnitUsersByUnitCode(String unitCode);
List listUserUnitssByUserCode(String userCode);
void deletePrimaryUnitByUserCode(String userCode);
/**
* 获取 某机构及其子机构下 所有 用户组
* @param unitCode 机构Code
* @param map 过滤条件
* @param pageDesc 分页信息
* @return 用户组列表
*/
List listSubUsersByUnitCode(String unitCode, Map map, PageDesc pageDesc);
List listUserUnitsUnderUnitByUserCode(String userCode, String unitCode, PageDesc pageDesc);
}