|
|
@@ -84,7 +84,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
WHERE i.order_id = #{orderId}
|
|
|
</select>
|
|
|
|
|
|
- <!-- 会员发票夹(010 Phase 11):按 userId 列已开发票,不含码图(证明联一次为限,不返回 bar_code/qrcode) -->
|
|
|
+ <!-- 会员发票夹(010 Phase 11):按 userId 列已开发票,字段与 selectInvoiceDetail 一致(含码图) -->
|
|
|
<select id="selectMyInvoices" parameterType="Long"
|
|
|
resultType="com.ruoyi.system.domain.vo.PosOrderInvoiceVo">
|
|
|
SELECT
|
|
|
@@ -97,14 +97,27 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
i.issue_triggered AS issueTriggered,
|
|
|
i.invoice_category AS invoiceCategory,
|
|
|
i.buyer_name AS buyerName,
|
|
|
+ i.buyer_ubn AS buyerUbn,
|
|
|
+ i.buyer_email AS buyerEmail,
|
|
|
i.carrier_type AS carrierType,
|
|
|
+ i.carrier_num AS carrierNum,
|
|
|
i.love_code AS loveCode,
|
|
|
i.love_org_name AS loveOrgName,
|
|
|
i.invoice_number AS invoiceNumber,
|
|
|
i.random_num AS randomNum,
|
|
|
i.invoice_status AS invoiceStatus,
|
|
|
i.total_amt AS totalAmt,
|
|
|
- i.issue_time AS issueTime
|
|
|
+ i.sales_amt AS salesAmt,
|
|
|
+ i.tax_amt AS taxAmt,
|
|
|
+ i.fail_reason AS failReason,
|
|
|
+ i.invoice_trans_no AS invoiceTransNo,
|
|
|
+ i.invoice_bar_code AS invoiceBarCode,
|
|
|
+ i.invoice_qrcode_l AS invoiceQrcodeL,
|
|
|
+ i.invoice_qrcode_r AS invoiceQrcodeR,
|
|
|
+ i.apply_time AS applyTime,
|
|
|
+ i.issue_time AS issueTime,
|
|
|
+ i.invalid_time AS invalidTime,
|
|
|
+ i.create_time AS createTime
|
|
|
FROM pos_order_invoice i
|
|
|
LEFT JOIN pos_order o ON o.id = i.order_id
|
|
|
LEFT JOIN pos_store s ON s.id = i.store_id
|