Commit Graph

2 Commits

Author SHA1 Message Date
d9e0205da1 feat(mat): 添加入库记录时同步更新库存和价格历史功能
- 在 MatPurchaseInDetailService 中新增 insertByBoWithInventoryAndPriceHistory 方法
- 在 MatPurchaseInDetailService 中新增 deleteWithValidByIdsWithInventoryAndPriceHistory 方法
- 扩展 MatPriceHistory 实体类添加 purchaseInDetailId 关联字段
- 更新 MatPriceHistoryMapper.xml 映射文件包含新的关联字段
- 修改控制器方法调用新的带库存和价格历史更新的入库接口
- 实现库存数量更新逻辑和价格历史记录管理功能
- 添加入库记录删除时还原库存和价格历史的功能
2026-01-30 16:13:14 +08:00
9f2cca7ddd refactor(gear-mat): 重构配料价格历史模块命名
- 将 MatMatPriceHistory 重命名为 MatPriceHistory
- 将 MatMatPriceHistoryBo 重命名为 MatPriceHistoryBo
- 将 MatMatPriceHistoryVo 重命名为 MatPriceHistoryVo
- 将 IMatMatPriceHistoryService 重命名为 IMatPriceHistoryService
- 将 MatMatPriceHistoryController 重命名为 MatPriceHistoryController
- 将 MatMatPriceHistoryMapper 重命名为 MatPriceHistoryMapper
- 更新所有相关的导入包路径和类引用
- 移除不必要的导入和字段声明
- 简化代码结构并优化查询方法实现
2026-01-30 15:53:20 +08:00