fix(wms): 修复产品服务中更新时间字段设置问题
- 在WmsProductServiceImpl中添加了updateTime字段的正确设置 - 确保coils记录在更新时保持正确的更新时间戳 - 防止因时间字段未正确设置导致的数据同步问题
This commit is contained in:
@@ -418,6 +418,7 @@ public class WmsProductServiceImpl implements IWmsProductService {
|
|||||||
|
|
||||||
if (newItemId != null) {
|
if (newItemId != null) {
|
||||||
coil.setItemId(newItemId);
|
coil.setItemId(newItemId);
|
||||||
|
coil.setUpdateTime(coil.getUpdateTime());
|
||||||
coilMapper.updateById(coil);
|
coilMapper.updateById(coil);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user