This commit is contained in:
richboo111
2023-01-29 10:58:51 +08:00
parent d6a59b97ab
commit e640a0d2ed
2 changed files with 1 additions and 2 deletions

View File

@@ -373,7 +373,7 @@ func (P *PurchaseHandler) UpdateStore(db *dao.DaoDB, storeID int, userName strin
storeInfo, err = dao.GetStoreDetail(db, storeID, model.VendorIDDD, "")
apiObj := getAPI(storeInfo.VendorOrgCode, storeID, storeInfo.VendorStoreID)
//判断是否需要更新
if !IsNeedStoreUpdate(storeInfo, utils.Int2Str(storeID)) {
if !IsNeedStoreUpdate(storeInfo, storeInfo.VendorStoreID) {
return nil
} else {
if storeInfo.OpenTime1 != 0 && storeInfo.CloseTime1 != 0 {