Commit ca660998 by zhangchen

添加发票寄送人

parent a36a393a
......@@ -25,7 +25,11 @@ public class InvoiceRequestDao extends GenericHibernateDao<InvoiceRequest, Integ
if (null != queryBean.getContactTel() && !"".equals(queryBean.getContactTel())) {
sb.append(" and a.contactTel=:contactTel ");
parameters.put("contactTel", queryBean.getContactTel());
}
}
if(!"".equals(queryBean.getContactName())&&queryBean.getContactName()!=null){
sb.append("and a.contactName like:contactName");
parameters.put("contactName", "%"+queryBean.getContactName()+"%");
}
if (null != queryBean.getRequestPerson() && !"".equals(queryBean.getRequestPerson())) {
sb.append(" and a.requestPerson=:requestPerson ");
parameters.put("requestPerson", queryBean.getRequestPerson());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment