refactor(wms): 用 documentId 替代 referenceNo

- 在 WmsJournalEntry、WmsJournalEntryBo、WmsJournalEntryVo 中将 referenceNo 字段改为 documentId
- 更新 WmsFinancialDocumentMapper.xml 中的相关 SQL 语句
- 修改 WmsJournalEntryServiceImpl 中的查询条件
This commit is contained in:
2025-08-13 15:04:08 +08:00
parent 8f6cecede4
commit 1002999310
5 changed files with 7 additions and 7 deletions

View File

@@ -67,7 +67,7 @@ public class WmsJournalEntryServiceImpl implements IWmsJournalEntryService {
lqw.eq(bo.getAccountId() != null, WmsJournalEntry::getAccountId, bo.getAccountId());
lqw.eq(bo.getDebitAmount() != null, WmsJournalEntry::getDebitAmount, bo.getDebitAmount());
lqw.eq(bo.getCreditAmount() != null, WmsJournalEntry::getCreditAmount, bo.getCreditAmount());
lqw.eq(StringUtils.isNotBlank(bo.getReferenceNo()), WmsJournalEntry::getReferenceNo, bo.getReferenceNo());
lqw.eq(bo.getDocumentId() !=null, WmsJournalEntry::getDocumentId, bo.getDocumentId());
lqw.eq(bo.getRelatedOrderId() != null, WmsJournalEntry::getRelatedOrderId, bo.getRelatedOrderId());
lqw.eq(StringUtils.isNotBlank(bo.getStatus()), WmsJournalEntry::getStatus, bo.getStatus());
return lqw;