仓库管理 库存报损 新增按料号查询库存报损详情列表方法;
@ -100,4 +100,7 @@ public interface WarehouseInventoryReportDamageChildMapper
// 按单号批量查询详情
public List<WarehouseInventoryReportDamageChild> selectWarehouseInventoryReportDamageChildByCodes(String[] reportDamageCode);
// 按料号查询报损报告详情列表
public List<WarehouseInventoryReportDamageChild> selectWarehouseInventoryReportDamageChildByMaterialNo(String MaterialNo);
}
@ -211,4 +211,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
</foreach>
</select>
<select id="selectWarehouseInventoryReportDamageChildByMaterialNo" parameterType="String" resultMap="WarehouseInventoryReportDamageChildResult">
<include refid="selectWarehouseInventoryReportDamageChildVo"/>
where material_no = #{materialNo}
</mapper>