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

@@ -38,7 +38,7 @@
<result property="accountId" column="account_id"/>
<result property="debitAmount" column="debit_amount"/>
<result property="creditAmount" column="credit_amount"/>
<result property="referenceNo" column="reference_no"/>
<result property="documentId" column="document_id"/>
<result property="relatedOrderId" column="je_related_order_id"/>
<result property="status" column="je_status"/>
<result property="remark" column="je_remark"/>
@@ -63,13 +63,13 @@
wje.account_id as account_id,
wje.debit_amount as debit_amount,
wje.credit_amount as credit_amount,
wje.reference_no as reference_no,
wje.document_id as document_id,
wje.related_order_id as je_related_order_id,
wje.status as je_status,
wje.remark as je_remark
FROM wms_financial_document wfd
LEFT JOIN wms_journal_entry wje ON wfd.document_id = wje.document_id
${ew.customSqlSegment()}
${ew.customSqlSegment}
</select>
</mapper>