浏览代码

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

WH01243 1 年之前
父节点
当前提交
cdf2b640bb
共有 1 个文件被更改,包括 2 次插入2 次删除
  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 {
-	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
 }