Selaa lähdekoodia

订单详情页最后一次开票查询

WH01243 1 vuosi sitten
vanhempi
commit
cdf2b640bb
1 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  1. 2 2
      src/jfw/front/dataExport.go

+ 2 - 2
src/jfw/front/dataExport.go

@@ -433,9 +433,9 @@ func (d *DataExport) ToOrderDetail(orderCode string) error {
 
 
 // 查询订单最后开票状态
 // 查询订单最后开票状态
 func LastInvoiceSource(orderCode string) int64 {
 func LastInvoiceSource(orderCode string) int64 {
-	orderData := util.Mysql.SelectBySql("select source  from  invoice   where   order_code  =? ORDER BY  create_time desc ", orderCode)
+	orderData := public.Mysql.SelectBySql("select source  from  invoice   where   order_code  =? ORDER BY  create_time desc ", orderCode)
 	if orderData != nil && len(*orderData) > 0 {
 	if orderData != nil && len(*orderData) > 0 {
-		return qutil.Int64All((*orderData)[0]["source"])
+		return util.Int64All((*orderData)[0]["source"])
 	}
 	}
 	return 0
 	return 0
 }
 }