feat(WmsJournal): 添加获取最后一条记录余额的功能
- 在 WmsJournalMapper 接口中添加 getLastBalance 方法,用于获取最后一条记录的余额 - 该功能用于新增记录时计算余额 -移除了 WmsJournalServiceImpl 中的 addJournal 方法
This commit is contained in:
@@ -97,11 +97,6 @@ public class WmsJournalServiceImpl implements IWmsJournalService {
|
||||
return flag;
|
||||
}
|
||||
|
||||
public void addJournal(WmsJournal journal) {
|
||||
|
||||
baseMapper.insert(journal);
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改资金日记账
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user