瀏覽代碼

征信管理修改

fengx 9 月之前
父節點
當前提交
cda6a0fb41
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/main/java/com/sunxung/factoring/service/credit/impl/CreditServiceImpl.java

+ 1 - 1
src/main/java/com/sunxung/factoring/service/credit/impl/CreditServiceImpl.java

@@ -59,7 +59,7 @@ public class CreditServiceImpl extends ServiceImpl<CreditInfoMapper, CreditInfo>
     public GridPage findByName(String name, Integer type, Integer page, Integer rows) {
         Page objectPage = PageHelper.startPage(page, rows);
         List<CreditInfo> list ;
-        list = lambdaQuery().eq(CreditInfo::getType,type).like(CreditInfo::getName, name).orderByDesc(CreditInfo::getGmtCreate).list();
+        list = lambdaQuery().eq(CreditInfo::getType,type).like(CreditInfo::getName, name).like(CreditInfo::getCardNo,name).orderByDesc(CreditInfo::getGmtCreate).list();
         return new GridPage(rows,page,objectPage.getTotal(),list);
     }