aa
This commit is contained in:
@@ -432,7 +432,7 @@ func RefreshStoreManageState(ctx *jxcontext.Context) {
|
|||||||
if storeDetail.CloseTime2 != 0 && storeDetail.OpenTime2 != 0 {
|
if storeDetail.CloseTime2 != 0 && storeDetail.OpenTime2 != 0 {
|
||||||
optime += jxutils.JxOperationTime2TimeByDate(storeDetail.CloseTime2, time.Now()).Sub(jxutils.JxOperationTime2TimeByDate(storeDetail.OpenTime2, time.Now())).Hours()
|
optime += jxutils.JxOperationTime2TimeByDate(storeDetail.CloseTime2, time.Now()).Sub(jxutils.JxOperationTime2TimeByDate(storeDetail.OpenTime2, time.Now())).Hours()
|
||||||
}
|
}
|
||||||
storeManage.OpenTime = utils.Str2Float64(fmt.Sprintf("%.2f", storeManage.OpenTime))
|
storeManage.OpenTime = utils.Str2Float64(fmt.Sprintf("%.2f", optime))
|
||||||
//商品数
|
//商品数
|
||||||
highSkuCount := 0
|
highSkuCount := 0
|
||||||
storeSkus, _ := dao.GetStoresSkusForManageState(db, storeMap.StoreID, model.StoreSkuBindStatusNormal)
|
storeSkus, _ := dao.GetStoresSkusForManageState(db, storeMap.StoreID, model.StoreSkuBindStatusNormal)
|
||||||
|
|||||||
Reference in New Issue
Block a user