mirror of http://gitlab.batiao8.com/yic/film.git
log
This commit is contained in:
parent
e83ddbe635
commit
96f744f781
|
@ -70,7 +70,7 @@ func (d *Ddf) getDetail(shopId int) {
|
||||||
totalAmount += day.Amount
|
totalAmount += day.Amount
|
||||||
}
|
}
|
||||||
//订单完成提示
|
//订单完成提示
|
||||||
log.Errorf("[DDF] shopName=%s,workstation=%s,time=[%s],cost_minute=%d,money=%s,total=[%s/%d]",
|
log.Infof("[DDF] shopName=%s,workstation=%s,time=[%s],cost_minute=%d,money=%s,total=[%s/%d]",
|
||||||
m1.ShopName, m1.Workstation, goutil.TimeToDateTime(m1.StartTime),
|
m1.ShopName, m1.Workstation, goutil.TimeToDateTime(m1.StartTime),
|
||||||
(m1.EndTime-m1.StartTime)/60, goutil.FormatMoney(m1.Amount),
|
(m1.EndTime-m1.StartTime)/60, goutil.FormatMoney(m1.Amount),
|
||||||
goutil.FormatMoney(totalAmount), len(todays))
|
goutil.FormatMoney(totalAmount), len(todays))
|
||||||
|
|
|
@ -105,7 +105,7 @@ func (n *Nowcar) getInfo(devId string) ([]string, error) {
|
||||||
totalAmount += day.Amount
|
totalAmount += day.Amount
|
||||||
}
|
}
|
||||||
//订单完成提示
|
//订单完成提示
|
||||||
log.Errorf("[NowCar] shopName=%s,workstation=%s,time=[%s],cost_minute=%d,money=%s,total=[%s/%d]",
|
log.Infof("[NowCar] shopName=%s,workstation=%s,time=[%s],cost_minute=%d,money=%s,total=[%s/%d]",
|
||||||
m2.ShopName, m2.Workstation, goutil.TimeToDateTime(m2.StartTime),
|
m2.ShopName, m2.Workstation, goutil.TimeToDateTime(m2.StartTime),
|
||||||
(m2.EndTime-m2.StartTime)/60, goutil.FormatMoney(m2.Amount),
|
(m2.EndTime-m2.StartTime)/60, goutil.FormatMoney(m2.Amount),
|
||||||
goutil.FormatMoney(totalAmount), len(todays))
|
goutil.FormatMoney(totalAmount), len(todays))
|
||||||
|
|
Loading…
Reference in New Issue