备份storeskus到5天
This commit is contained in:
@@ -4049,7 +4049,7 @@ func BackUpStoreSkuBind(ctx *jxcontext.Context, isAsync, isContinueWhenError boo
|
|||||||
snapshotAt = utils.Time2Date(time.Now())
|
snapshotAt = utils.Time2Date(time.Now())
|
||||||
)
|
)
|
||||||
storeSkuBindHis := &model.StoreSkuBindHistory{
|
storeSkuBindHis := &model.StoreSkuBindHistory{
|
||||||
SnapshotAt: snapshotAt.AddDate(0, 0, -2),
|
SnapshotAt: snapshotAt.AddDate(0, 0, -5),
|
||||||
}
|
}
|
||||||
dao.DeleteEntity(db, storeSkuBindHis, "SnapshotAt")
|
dao.DeleteEntity(db, storeSkuBindHis, "SnapshotAt")
|
||||||
storeList, err := dao.GetStoreList(db, nil, nil, nil, nil, "")
|
storeList, err := dao.GetStoreList(db, nil, nil, nil, nil, "")
|
||||||
|
|||||||
Reference in New Issue
Block a user