| | |
| | | public List<User_inf> serchByCondition(User_inf obj); |
| | | |
| | | //查询当前库中存在的name名字的排序(模糊) |
| | | public List serchinfoUname() ; |
| | | @Select("select uid,uname from db_user.tb_user_inf where uname like '%name%' order by uname") |
| | | public List<User_inf> serchinfoUname() ; |
| | | |
| | | //5.3根据uid查包机组 |
| | | @Select("select distinct(baoji_group_name) " + |
| | |
| | | "from db_user.tb_user_inf ,db_user.tb_user_battgroup_baojigroup_battgroup,db_user.tb_user_battgroup_baojigroup_usr " + |
| | | "where db_user.tb_user_battgroup_baojigroup_battgroup.baoji_group_id=db_user.tb_user_battgroup_baojigroup_usr.baoji_group_id " + |
| | | "and db_user.tb_user_battgroup_baojigroup_usr.uId=db_user.tb_user_inf.uid " + |
| | | "and db_user.tb_user_battgroup_baojigroup_battgroup.BattGroupId=#{BattGroupId} and db_user.tb_user_inf.uBaojiUsr=1 ") |
| | | "and db_user.tb_user_battgroup_baojigroup_battgroup.BattGroupId=#{battGroupId} and db_user.tb_user_inf.uBaojiUsr=1 ") |
| | | public List<User_inf> searchByBattGroupId(User_battgroup_baojigroup_battgroup obj); |
| | | |
| | | //根据uId查用户姓名 |
| | |
| | | public List<User_inf> serchUname(User_inf uinf); |
| | | |
| | | //查询所有uid在字符串objs中的所有用户名,并且用,连接多个用户名 |
| | | |
| | | @Select("SELECT GROUP_CONCAT(DISTINCT(uname))as unames from db_user.tb_user_inf where locate(uid,#{value});") |
| | | public String searchUnams(String value); |
| | | |
| | |
| | | public List<User_inf> searchByNameOrId(Batt_User_Permit obj); |
| | | |
| | | //包机组重做(穿梭框)查询所有的用户 |
| | | public List searchCS_All() ; |
| | | @Select("select distinct(tb_user_inf.uid),uSnId,uName,uShenFenId,uEmployeeId,uTelephone,uMobilephone,uEmail,uAddr,uBirthday,uAccessionDay,uSex,uDepartment,uProTitle,uAuthority,uJobGroup,uDuties,uTasks,uBaojiusr,uNote "+ |
| | | " from db_user.tb_user_inf " + |
| | | " order by uid ") |
| | | public List<User_inf> searchCS_All() ; |
| | | |
| | | |
| | | /*public static void main(String[] args) { |