新增库存单据根据主键id查询接口

This commit is contained in:
2025-07-24 15:47:47 +08:00
parent b6ac89fffc
commit 428787f83f
2 changed files with 17 additions and 0 deletions

View File

@@ -187,6 +187,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="rkType != null and rkType != ''"> and rk_type = #{rkType}</if>
<if test="wlType != null and wlType != ''"> and wl_type = #{wlType}</if>
<if test="cangku != null and cangku != ''"> and cangku = #{cangku}</if>
<if test="ids != null and ids.size > 0">
AND ri.id IN
<foreach collection="ids" item="id" open="(" separator="," close=")">
#{id}
</foreach>
</if>
<if test="startTime != null">
<![CDATA[ and rk_time >= #{startTime} ]]>
</if>