用户功能优化

yun-zuoyi
wei.peng 7 years ago
parent 06927ff370
commit cab08786f3

@ -113,6 +113,10 @@ public class SysUserInfo extends BaseBean {
@ApiParam(value ="登录次数",example = "0")
private Integer userLoginNum;
@Column(name="USER_NUM")
@ApiParam(value ="用户账号数",example = "0")
private Integer userNum;
@Transient
@ApiParam(value ="用户所有部门信息")
private List<SysDepartment> departmentList;

@ -5,6 +5,8 @@ import cn.estsh.i3plus.pojo.base.tool.HqlPack;
import cn.estsh.i3plus.pojo.platform.bean.*;
import org.apache.commons.lang3.StringUtils;
import java.util.List;
/**
* @Description :
* @Reference :
@ -113,6 +115,16 @@ public class CoreHqlPack {
return result.toString();
}
public static String packHqlSysOrganize(Long[] ids, Integer typeId){
StringBuffer result = new StringBuffer();
// 查询参数封装
HqlPack.getInPack(StringUtils.join(ids,","),"id",result);
HqlPack.getNumEqualPack(typeId,"organizeType",result);
return result.toString();
}
/**
*
* @param department

Loading…
Cancel
Save