| 1234567891011121314151617181920212223242526272829303132333435363738394041 |
- package cn.com.goldenwater.dcproj.service;
- import cn.com.goldenwater.core.service.CrudService;
- import cn.com.goldenwater.dcproj.model.UserRole;
- import cn.com.goldenwater.dcproj.param.UserRoleParam;
- import java.util.List;
- /**
- * @author lune
- * @date 2018-2-21
- */
- public interface UserRoleService extends CrudService<UserRole, UserRoleParam> {
- // ------------------------- 自定方法 -------------------------
- /**
- * 批量插入
- *
- * @param list
- * @return
- */
- public int addList(List<UserRoleParam> list);
- /**
- * 批量删除
- *
- * @param list
- * @return
- */
- public int deleteList(List<UserRoleParam> list);
- /**
- * 更新用户和角色的关联关系
- *
- * @param list
- * @param param
- */
- void updateUserRole(List<UserRoleParam> list, UserRoleParam param);
- }
|