放款后督增加客户名称筛选条件

This commit is contained in:
zhangjun 2020-08-07 15:29:25 +08:00
parent 0343ce8aab
commit 45a991b6d2

View File

@ -42,13 +42,13 @@ public class ApplyOverseeServiceImpl implements ApplyOverseeService{
if(globaltext.length() ==0 ){
sql = sql+ " ORDER BY lfi.fact_date DESC ";
}else{
sql = sql+ " and (lci.contract_number like '%"+globaltext+"%') ORDER BY lfi.fact_date DESC ";
sql = sql+ " and (lci.contract_number like '%"+globaltext+"%' or lul.customer_name like '%"+globaltext+"%') ORDER BY lfi.fact_date DESC ";
}
List<Map<String, String>> dataList = DataOperatorUtil.getDataBySql(sql);
Map<String, Object> body = new HashMap<String, Object>();
body.put("datas", dataList);
body.put("filters", "ºÏͬºÅ");
body.put("filters", "合同号,客户名称");
ReturnMapUtil.setReturnMap(body,RestfullConstant.baseProperty.get("success").toString(), "");
return ReturnMapUtil.getReturnMap();
}