1
This commit is contained in:
@@ -760,7 +760,7 @@ func (c *PurchaseHandler) ListOrders(ctx *jxcontext.Context, vendorOrgCode strin
|
|||||||
return nil, fmt.Errorf("只能查询九十天的数据")
|
return nil, fmt.Errorf("只能查询九十天的数据")
|
||||||
}
|
}
|
||||||
if time.Now().Day()-queryDate.Day() > 7 {
|
if time.Now().Day()-queryDate.Day() > 7 {
|
||||||
endData = queryDate.AddDate(0, 0, 7)
|
endData = queryDate.AddDate(0, 0, 4)
|
||||||
} else {
|
} else {
|
||||||
endData = time.Now()
|
endData = time.Now()
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user