|
|
@@ -123,12 +123,13 @@
|
|
|
</if>
|
|
|
|
|
|
<if test="settlementReq.keywords != null and settlementReq.keywords != ''">
|
|
|
- and l.name like concat('%'
|
|
|
- , #{settlementReq.keywords}
|
|
|
+ and ( and l.name like concat('%'
|
|
|
+ , #{settlementReq.keywords,jdbcType=VARCHAR}
|
|
|
, '%')
|
|
|
- and lu.firm_name like concat('%'
|
|
|
- , #{settlementReq.keywords}
|
|
|
+ or lu2.firm_name like concat('%'
|
|
|
+ , #{settlementReq.keywords,jdbcType=VARCHAR}
|
|
|
, '%')
|
|
|
+ )
|
|
|
</if>
|
|
|
</sql>
|
|
|
|
|
|
@@ -207,6 +208,7 @@
|
|
|
l.del_flag = 0
|
|
|
and s.del_flag = 0
|
|
|
and lu.del_flag = 0
|
|
|
+ and lu2.del_flag = 0
|
|
|
<include refid="settlementLogisticsSelectWhere"/>
|
|
|
<if test="ids != null and ids.size() > 0">
|
|
|
and s.id in
|