This commit is contained in:
gazebo
2019-01-26 09:18:09 +08:00
parent b413a76bb1
commit 9ef7ead456

View File

@@ -304,7 +304,7 @@ func (p *PurchaseHandler) arrangeSaleStore(order *model.GoodsOrder, cityName, pr
func (p *PurchaseHandler) setStoreOrderSeq(order *model.GoodsOrder) {
if order.StoreID > 0 {
year, month, day := order.StatusTime.Date()
dateBegin := time.Date(year, month, day, 0, 0, 0, 0, nil)
dateBegin := time.Date(year, month, day, 0, 0, 0, 0, order.StatusTime.Location())
// dateEnd := date1.Add(time.Hour * 24)
sql := `
SELECT COUNT(*) ct