feat(WmsJournal): 添加获取最后一条记录余额的功能

- 在 WmsJournalMapper 接口中添加 getLastBalance 方法,用于获取最后一条记录的余额
- 该功能用于新增记录时计算余额
-移除了 WmsJournalServiceImpl 中的 addJournal 方法
This commit is contained in:
JR
2025-08-13 13:59:09 +08:00
parent c12e97bd1f
commit b5fa41097a
2 changed files with 3 additions and 5 deletions

View File

@@ -97,11 +97,6 @@ public class WmsJournalServiceImpl implements IWmsJournalService {
return flag;
}
public void addJournal(WmsJournal journal) {
baseMapper.insert(journal);
}
/**
* 修改资金日记账
*/