fix:设备-维护保养、使用记录微调

This commit is contained in:
FCL
2026-03-09 14:43:12 +08:00
parent d9c8af3032
commit 937232b009
6 changed files with 29 additions and 5 deletions

View File

@@ -78,6 +78,13 @@
<if test="param.productId != null">
and d.PDT_ID = #{param.productId}
</if>
<if test="param.productIds != null and param.productIds.size > 0">
and d.PDT_ID in (
<foreach collection="param.productIds" item="productId" separator=",">
#{productId}
</foreach>
)
</if>
<if test="param.deviceName != null and param.deviceName != ''">
and d.DEV_NAME like concat('%',#{param.deviceName},'%')
</if>