Ejemplo n.º 1
0
  /**
   * @author 何道军
   * @date 2011-1-7
   * @return String
   */
  public String getAttachsByGroupId() {
    ResponseVo rv = new ResponseVo();
    try {
      if (attachGroupId == 0) {
        JsonUtil.outJson(rv);
        return null;
      }
      List<AttachVo> attachVos = attachService.getAttachsByGroupId(attachGroupId);
      rv.setList(attachVos);
      rv.setTotalSize(attachVos.size());

    } catch (Exception e) {
      e.printStackTrace();
    }
    JsonUtil.outJson(rv);
    return null;
  }