public RowSet getLine(String transId) throws QueryException {
   AmsBjTransQueryModel model = new AmsBjTransQueryModel(sfUser, dto);
   SQLModel sqlModel = model.getLineData(transId);
   SimpleQuery sq = new SimpleQuery(sqlModel, conn);
   sq.executeQuery();
   return sq.getSearchResult();
 }
  public DTOSet getLines(String transId) throws QueryException {
    AmsBjTransQueryModel model = new AmsBjTransQueryModel(sfUser, null);
    SimpleQuery sq = new SimpleQuery(model.getByTransIdModel(dto.getTransId()), conn);
    sq.setDTOClassName(AmsBjsAllotDDto.class.getName());
    sq.executeQuery();

    return sq.getDTOSet();
  }