|
|
@@ -44,8 +44,8 @@
|
|
|
</if>
|
|
|
<if test="keywords != null and keywords != ''">
|
|
|
and (
|
|
|
- dr.name like concat('%',#{keyWords},'%')
|
|
|
- or dr.phone like concat('%',#{keyWords},'%')
|
|
|
+ dr.name like concat('%',#{keywords},'%')
|
|
|
+ or dr.phone like concat('%',#{keywords},'%')
|
|
|
)
|
|
|
</if>
|
|
|
GROUP BY dr.`status`
|
|
|
@@ -56,7 +56,7 @@
|
|
|
dr.id, dr.name, dr.phone, dr.idcard, dr.status, drc.expire_time idcardExpireTime, drc.address, drl.driver_no driverNo,
|
|
|
drl.type licenseType, drl.expire_time licenseExpireTime, drl.grant_unit licenseGrantUnit,
|
|
|
drq.quali_no qualiNo, dr.ent_id entId, dr.create_by createBy, dr.create_time createTime,
|
|
|
- dr.update_time updateTime, dr.remark, trr.truck_no truckNo, fl.name fleetName
|
|
|
+ dr.update_time updateTime, dr.remark, tr.truck_no truckNo, fl.name fleetName
|
|
|
from kwf_driver dr
|
|
|
left join kwf_driver_ent dre on dre.driver_id = dr.id
|
|
|
left join kwf_driver_card drc on drc.driver_id = dr.id and drc.del_flag = 0
|
|
|
@@ -99,8 +99,8 @@
|
|
|
</if>
|
|
|
<if test="keywords != null and keywords != ''">
|
|
|
and (
|
|
|
- dr.name like concat('%',#{keyWords},'%')
|
|
|
- or dr.phone like concat('%',#{keyWords},'%')
|
|
|
+ dr.name like concat('%',#{keywords},'%')
|
|
|
+ or dr.phone like concat('%',#{keywords},'%')
|
|
|
)
|
|
|
</if>
|
|
|
ORDER BY dr.create_time desc
|
|
|
@@ -139,8 +139,8 @@
|
|
|
<if test="keywords != null and keywords != ''">
|
|
|
and (
|
|
|
dr.name like concat('%',#{keyWords},'%')
|
|
|
- or dr.idcard like concat('%',#{keyWords},'%')
|
|
|
- or dr.phone like concat('%',#{keyWords},'%')
|
|
|
+ or dr.idcard like concat('%',#{keywords},'%')
|
|
|
+ or dr.phone like concat('%',#{keywords},'%')
|
|
|
)
|
|
|
</if>
|
|
|
ORDER BY dr.create_time desc
|