Эх сурвалжийг харах

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

WH01243 1 жил өмнө
parent
commit
cdf2b640bb

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

@@ -433,9 +433,9 @@ func (d *DataExport) ToOrderDetail(orderCode string) error {
 
 // 查询订单最后开票状态
 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 {
-		return qutil.Int64All((*orderData)[0]["source"])
+		return util.Int64All((*orderData)[0]["source"])
 	}
 	return 0
 }