|
@@ -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
|
|
|
}
|