|
|
@@ -557,6 +557,12 @@ public class StoreInfoServiceImpl extends ServiceImpl<StoreInfoMapper, StoreInfo
|
|
|
String userAccount = storeInfoDto.getUserAccount();
|
|
|
StoreUser storeUser = storeUserMapper.selectById(userAccount);
|
|
|
storeUser.setStoreId(storeInfo.getId());
|
|
|
+ if(StringUtils.isNotEmpty(storeInfoDto.getStoreContact())){
|
|
|
+ storeUser.setName(storeInfoDto.getStoreContact());
|
|
|
+ }
|
|
|
+ if(StringUtils.isNotEmpty(storeInfoDto.getIdCard())){
|
|
|
+ storeUser.setIdCard(storeInfoDto.getIdCard());
|
|
|
+ }
|
|
|
storeUserMapper.updateById(storeUser);
|
|
|
//存入店铺营业执照图片
|
|
|
List<String> businessLicenseAddress = storeInfoDto.getBusinessLicenseAddress();
|