Merge remote-tracking branch 'frps/master' into frp-master
This commit is contained in:
commit
c43ec2a116
|
|
@ -89,10 +89,8 @@
|
|||
ws_ma_info
|
||||
<where>
|
||||
<if test="maCode != null and maCode != ''">
|
||||
and ma_code like concat('%', #{maCode}, '%')
|
||||
</if>
|
||||
<if test="qrCode != null and qrCode != ''">
|
||||
and qr_code = #{qrCode}
|
||||
and (ma_code like concat('%', #{maCode}, '%')
|
||||
or qr_code = #{maCode})
|
||||
</if>
|
||||
</where>
|
||||
LIMIT 10
|
||||
|
|
@ -115,10 +113,8 @@
|
|||
LEFT JOIN ma_type mt1 ON mt1.type_id = mt.parent_id
|
||||
<where>
|
||||
<if test="maCode != null and maCode != ''">
|
||||
and mm.ma_code like concat('%', #{maCode}, '%')
|
||||
</if>
|
||||
<if test="qrCode != null and qrCode != ''">
|
||||
and qr_code = #{qrCode}
|
||||
and (mm.ma_code like concat('%', #{maCode}, '%')
|
||||
or mm.qr_code = #{maCode})
|
||||
</if>
|
||||
</where>
|
||||
LIMIT 10
|
||||
|
|
|
|||
Loading…
Reference in New Issue