fix:修改sql语法错误

This commit is contained in:
2026-11-24 15:41:01 +08:00
parent 5f4fb325cd
commit ade1328cae

View File

@@ -25,7 +25,7 @@
INNER JOIN st_ivt_structattr attr ON ext.storagevehicle_code = attr.storagevehicle_code
<where>
attr.lock_type = '0'
AND attr.is_used = "1"
AND attr.is_used = '1'
AND ext.qty > 0
<if test="param.stor_id != null and param.stor_id != ''">
AND
@@ -263,7 +263,7 @@
<if test="params.struct_code != null and params.struct_code != ''">
AND
(attr.struct_code LIKE CONCAT('%', #{params.struct_code}, '%')
(attr.struct_code LIKE CONCAT('%', #{params.struct_code}, '%'))
</if>
<if test="params.pcsn != null and params.pcsn != ''">