浏览代码

fixed 商户禁用

fushengqian 1 年之前
父节点
当前提交
9a3a669ca7

+ 1 - 0
fuint-application/src/main/java/com/fuint/common/service/impl/MerchantServiceImpl.java

@@ -118,6 +118,7 @@ public class MerchantServiceImpl extends ServiceImpl<MtMerchantMapper, MtMerchan
         mtMerchant.setDescription(merchant.getDescription());
         mtMerchant.setPhone(merchant.getPhone());
         mtMerchant.setAddress(merchant.getAddress());
+        mtMerchant.setStatus(merchant.getStatus());
 
         if (mtMerchant.getStatus() == null) {
             mtMerchant.setStatus(StatusEnum.ENABLED.getKey());