Package net.yanhl.iouser

Examples of net.yanhl.iouser.IouserException


      // 设置分组关系
      Long groupId = jsonObject.getLong("groupId");
      if(groupId != null) {
        GroupRelation group = (GroupRelation) getBaseManager().get(GroupRelation.class, groupId);
        if(group == null) {
          throw new IouserException("债务人关系->分组为空");
        }
        user.setGroup(group);
      }
      getBaseManager().save(user);
      log.info(currentUserName + ">新增债务人:" + user);
View Full Code Here


      // 设置分组关系
      Long groupId = jsonObject.getLong("groupId");
      if(groupId != null) {
        GroupRelation group = (GroupRelation) getBaseManager().get(GroupRelation.class, groupId);
        if(group == null) {
          throw new IouserException("债务人关系->分组为空");
        }
        user.setGroup(group);
      }
      getBaseManager().update(user);
      print(response, RESBONSE_SUCCESS);
View Full Code Here

TOP

Related Classes of net.yanhl.iouser.IouserException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.