fix(WmsCoilCacheMapper): 查询线圈缓存时过滤已删除记录
- 在 selectVoByCoilId 查询中添加 del_flag = 0 条件 - 确保只返回未被标记为删除的线圈缓存数据
This commit is contained in:
@@ -18,7 +18,7 @@
|
|||||||
|
|
||||||
|
|
||||||
<select id="selectVoByCoilId" resultType="com.klp.domain.vo.WmsCoilCacheVo">
|
<select id="selectVoByCoilId" resultType="com.klp.domain.vo.WmsCoilCacheVo">
|
||||||
select * from wms_coil_cache where coil_id = #{coilId}
|
select * from wms_coil_cache where coil_id = #{coilId} and del_flag = 0
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
</mapper>
|
</mapper>
|
||||||
|
|||||||
Reference in New Issue
Block a user