From 3ea063d118c6f09f0c1d46824a90b725b9e5cea3 Mon Sep 17 00:00:00 2001 From: 199901012 Date: Fri, 12 Mar 2021 20:21:42 +0800 Subject: [PATCH] =?UTF-8?q?'=E6=8F=90=E4=BA=A4=E4=BB=A3=E7=A0=81'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/com/hai/service/HighMerchantService.java | 3 ++- .../main/java/com/hai/service/HighMerchantStoreService.java | 3 ++- .../java/com/hai/service/impl/HighMerchantServiceImpl.java | 3 ++- .../com/hai/service/impl/HighMerchantStoreServiceImpl.java | 3 ++- 4 files changed, 8 insertions(+), 4 deletions(-) diff --git a/hai-service/src/main/java/com/hai/service/HighMerchantService.java b/hai-service/src/main/java/com/hai/service/HighMerchantService.java index 340e3cfd..2deda497 100644 --- a/hai-service/src/main/java/com/hai/service/HighMerchantService.java +++ b/hai-service/src/main/java/com/hai/service/HighMerchantService.java @@ -1,6 +1,7 @@ package com.hai.service; import com.hai.entity.HighMerchant; +import com.hai.model.HighMerchantModel; import java.util.List; import java.util.Map; @@ -13,7 +14,7 @@ public interface HighMerchantService { /** * 编辑 */ - void editMerchant(HighMerchant highMerchant) throws Exception; + void editMerchant(HighMerchantModel highMerchant) throws Exception; /** * 根据id查询 diff --git a/hai-service/src/main/java/com/hai/service/HighMerchantStoreService.java b/hai-service/src/main/java/com/hai/service/HighMerchantStoreService.java index bc105f8f..9b839a62 100644 --- a/hai-service/src/main/java/com/hai/service/HighMerchantStoreService.java +++ b/hai-service/src/main/java/com/hai/service/HighMerchantStoreService.java @@ -1,6 +1,7 @@ package com.hai.service; import com.hai.entity.HighMerchantStore; +import com.hai.model.HighMerchantStoreModel; import java.util.List; import java.util.Map; @@ -17,7 +18,7 @@ public interface HighMerchantStoreService { * @Description 编辑门店 * @Date 2021/3/9 20:26 **/ - void editMerchantStore(HighMerchantStore highMerchantStore) throws Exception; + void editMerchantStore(HighMerchantStoreModel highMerchantStore) throws Exception; /** * @Author 胡锐 diff --git a/hai-service/src/main/java/com/hai/service/impl/HighMerchantServiceImpl.java b/hai-service/src/main/java/com/hai/service/impl/HighMerchantServiceImpl.java index db2aa21b..3927729a 100644 --- a/hai-service/src/main/java/com/hai/service/impl/HighMerchantServiceImpl.java +++ b/hai-service/src/main/java/com/hai/service/impl/HighMerchantServiceImpl.java @@ -5,6 +5,7 @@ import com.hai.dao.HighMerchantMapper; import com.hai.entity.HighMerchant; import com.hai.entity.HighMerchantExample; import com.hai.entity.SecUser; +import com.hai.model.HighMerchantModel; import com.hai.service.HighMerchantService; import com.hai.service.SecUserService; import org.apache.commons.collections4.MapUtils; @@ -28,7 +29,7 @@ public class HighMerchantServiceImpl implements HighMerchantService { @Override @Transactional - public void editMerchant(HighMerchant highMerchant) throws Exception { + public void editMerchant(HighMerchantModel highMerchant) throws Exception { if (highMerchant.getId() == null) { highMerchantMapper.insert(highMerchant); diff --git a/hai-service/src/main/java/com/hai/service/impl/HighMerchantStoreServiceImpl.java b/hai-service/src/main/java/com/hai/service/impl/HighMerchantStoreServiceImpl.java index 80df2aed..8d732497 100644 --- a/hai-service/src/main/java/com/hai/service/impl/HighMerchantStoreServiceImpl.java +++ b/hai-service/src/main/java/com/hai/service/impl/HighMerchantStoreServiceImpl.java @@ -9,6 +9,7 @@ import com.hai.dao.HighMerchantStoreMapper; import com.hai.entity.HighMerchantStore; import com.hai.entity.HighMerchantStoreExample; import com.hai.entity.SecUser; +import com.hai.model.HighMerchantStoreModel; import com.hai.service.HighMerchantStoreService; import com.hai.service.SecUserService; import org.apache.commons.collections4.MapUtils; @@ -32,7 +33,7 @@ public class HighMerchantStoreServiceImpl implements HighMerchantStoreService { @Override @Transactional - public void editMerchantStore(HighMerchantStore highMerchantStore) throws Exception { + public void editMerchantStore(HighMerchantStoreModel highMerchantStore) throws Exception { if (highMerchantStore.getId() != null) { highMerchantStoreMapper.updateByPrimaryKey(highMerchantStore); } else {