|
@@ -20,7 +20,7 @@ import java.util.Date;
|
|
|
" left join order_don o on o.id = uor.order_id and uor.type = 1" +
|
|
" left join order_don o on o.id = uor.order_id and uor.type = 1" +
|
|
|
" left join upgrade_order_don uod on uod.id = uor.order_id and uor.type = 2" +
|
|
" left join upgrade_order_don uod on uod.id = uor.order_id and uor.type = 2" +
|
|
|
" left join vip_order_don vod on vod.id = uor.order_id and uor.type = 3"
|
|
" left join vip_order_don vod on vod.id = uor.order_id and uor.type = 3"
|
|
|
- , groupBy = "uar.id,uar.user_id,uar.money,uar.zfb_payment,uar.head,uar.tax_no,uar.bank,uar.bank_no,uar.email,uar.status,uar.invoice_img,uar.created_time,uar.update_time")
|
|
|
|
|
|
|
+ , groupBy = "uar.id,uar.user_id,uar.money,uar.zfb_payment,uar.head,uar.tax_no,uar.bank,uar.bank_no,uar.email,uar.file_name,uar.status,uar.invoice_img,uar.created_time,uar.update_time")
|
|
|
public class UserInvoiceApplyRecordView {
|
|
public class UserInvoiceApplyRecordView {
|
|
|
|
|
|
|
|
@DbField("uar.id")
|
|
@DbField("uar.id")
|
|
@@ -80,7 +80,8 @@ public class UserInvoiceApplyRecordView {
|
|
|
@DbField("uar.invoice_img")
|
|
@DbField("uar.invoice_img")
|
|
|
private String invoiceImg;
|
|
private String invoiceImg;
|
|
|
|
|
|
|
|
- @DbField("group_concat(ifnull(o.order_no,ifnull(uod.order_no,vod.order_no)))")
|
|
|
|
|
|
|
+ // 三类订单表的排序规则可能不同,统一后再聚合,避免订单号 LIKE 筛选报错。
|
|
|
|
|
+ @DbField("group_concat(convert(ifnull(o.order_no,ifnull(uod.order_no,vod.order_no)) using utf8mb4) collate utf8mb4_general_ci)")
|
|
|
private String orderNoStr;
|
|
private String orderNoStr;
|
|
|
|
|
|
|
|
/**
|
|
/**
|