Merge remote-tracking branch 'frps/master' into frp-master

This commit is contained in:
syruan 2025-07-30 15:53:43 +08:00
commit c43ec2a116
1 changed files with 4 additions and 8 deletions

View File

@ -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