public List<Wqwqxkzxq1Form> findWqwqxkzxq1ListWithPage(
     int pagesize, int pageno, Wqwqxkzxq1Form wqwqxkzxq1Form) {
   String hqlWhere = "";
   Object[] params = null;
   List<String> paramsList = new ArrayList<String>();
   LinkedHashMap<String, String> orderby = new LinkedHashMap<String, String>();
   if (wqwqxkzxq1Form != null && StringUtils.isNotBlank(wqwqxkzxq1Form.getXh())) {
     hqlWhere += " and o.xh like ?";
     paramsList.add("%" + wqwqxkzxq1Form.getXh() + "%");
   }
   if (wqwqxkzxq1Form != null && StringUtils.isNotBlank(wqwqxkzxq1Form.getZymc())) {
     hqlWhere += " and o.zymc like ?";
     paramsList.add("%" + wqwqxkzxq1Form.getZymc() + "%");
   }
   orderby.put(" o.xh", "desc");
   params = paramsList.toArray();
   List<Wqwqxkzxq1> list =
       wqwqxkzxq1Dao.findCollectionByConditionWithPage(
           hqlWhere, params, orderby, pagesize, pageno);
   List<Wqwqxkzxq1Form> formlist = this.Wqwqxkzxq1POListToVOList(list);
   if (pageno == 1) {
     formListTemp =
         Wqwqxkzxq1POListToVOList(
             wqwqxkzxq1Dao.findCollectionByConditionNoPage(hqlWhere, params, orderby));
   }
   return formlist;
 }
 public void saveObject(Wqwqxkzxq1Form wqwqxkzxq1Form, String username) {
   Wqwqxkzxq1 wqwqxkzxq1 = new Wqwqxkzxq1();
   wqwqxkzxq1.setXh(wqwqxkzxq1Form.getXh());
   wqwqxkzxq1.setZymc(wqwqxkzxq1Form.getZymc());
   wqwqxkzxq1.setBz(wqwqxkzxq1Form.getBz());
   wqwqxkzxq1.setJlnf(String.valueOf(Calendar.getInstance().get(Calendar.YEAR)));
   wqwqxkzxq1.setUsername(username);
   wqwqxkzxq1.setGxsj(new Date().toString());
   wqwqxkzxq1.setSubmit(0);
   wqwqxkzxq1Dao.save(wqwqxkzxq1);
 }