feat(wms): 添加钢卷物料改判记录查询功能

- 在IWmsMaterialCoilService中新增queryPageListWithRejudge方法
- 实现批量查询钢卷最新改判记录的Mapper方法
- 添加SQL映射查询每个钢卷的最新一条改判记录
- 创建WmsMaterialCoilRejudgeVo视图对象包含改判信息
- 实现控制器listWithRejudge接口供前端调用
- 在服务实现中批量关联钢卷与其最新改判记录
This commit is contained in:
2026-05-08 16:58:47 +08:00
parent 2260058c63
commit d248b0e585
6 changed files with 122 additions and 0 deletions

View File

@@ -24,4 +24,13 @@ public interface WmsCoilQualityRejudgeMapper extends BaseMapperPlus<WmsCoilQuali
*/
List<Map<String, Object>> selectMapsBySql(@Param("sql") String sql);
/**
* 批量根据钢卷ID列表查询每个钢卷的最新一条改判记录
*
* @param coilIds 钢卷ID列表
* @return 最新改判记录列表
*/
List<WmsCoilQualityRejudgeVo> selectLatestByCoilIds(@Param("coilIds") List<Long> coilIds);
}