sb.append("SELECT distinct a.sendWay,a.payInfo,a.id,case when costOfDepart=1 then '高尔夫上海总部' "
+"when costOfDepart=2 then '人事行政部' "
+"when costOfDepart=3 then '财务部'"
+"when costOfDepart=4 then '技术部'"
+"when costOfDepart=5 then '上海玩家俱乐部'"
+"when costOfDepart=6 then '高尔夫北京分部'"
+"when costOfDepart=7 then '高尔夫广州分部'"
+"else costOfDepart end costOfDepart,invoiceTitle,taxIdNum,contactName,contactTel,contactAddress,invoiceRemark,expressNo,refusedReason,sendTime,refusedReason,createTime,`status`,salesRemark,requestPerson");
sb.append(" FROM ord_invoicerequest a LEFT JOIN ord_invoiceorderinfo b on (a.id=b.requestId)");