|
@@ -146,7 +146,8 @@ public class GoodsShopServiceImpl extends ServiceImpl<GoodsShopDao, GoodsShop> i
|
|
|
}
|
|
}
|
|
|
// 默认不是供应商
|
|
// 默认不是供应商
|
|
|
goodsShop.setIsSupplier(1);
|
|
goodsShop.setIsSupplier(1);
|
|
|
-
|
|
|
|
|
|
|
+ // 默认开启消息配置
|
|
|
|
|
+ goodsShop.setMessageConfiguration(0);
|
|
|
|
|
|
|
|
baseMapper.insert(goodsShop);
|
|
baseMapper.insert(goodsShop);
|
|
|
UserEntity userEntity1 = userService.selectUserById(goodsShop.getUserId());
|
|
UserEntity userEntity1 = userService.selectUserById(goodsShop.getUserId());
|
|
@@ -470,6 +471,8 @@ public class GoodsShopServiceImpl extends ServiceImpl<GoodsShopDao, GoodsShop> i
|
|
|
BeanUtils.copyProperties(goodsShopVo, shop);
|
|
BeanUtils.copyProperties(goodsShopVo, shop);
|
|
|
// 默认不是供应商
|
|
// 默认不是供应商
|
|
|
shop.setIsSupplier(1);
|
|
shop.setIsSupplier(1);
|
|
|
|
|
+// 默认开启消息配置
|
|
|
|
|
+ shop.setMessageConfiguration(0);
|
|
|
baseMapper.insert(shop);
|
|
baseMapper.insert(shop);
|
|
|
CommonInfo name = commonInfoService.findOne(12);
|
|
CommonInfo name = commonInfoService.findOne(12);
|
|
|
Msg byPhone = msgDao.findByPhone(goodsShopVo.getPhone());
|
|
Msg byPhone = msgDao.findByPhone(goodsShopVo.getPhone());
|