}
public Page getMainUsers(Page page,String loginame) throws ServiceException {
QueryCondition condition = new QueryCondition();
if(loginame!=null){
condition.where().and("loginname=?");
}
try {
List<MainUser> users = null;
int count =0 ;
if(loginame==null){