| | |
| | | shopRelTagService.deleteByShopId(shop.getShopId()); |
| | | shopRelUserService.deleteByShopId(shop.getShopId()); |
| | | //清空归属 |
| | | shopRelUserService.deleteByShopId(shop.getShopId()); |
| | | shopStaffService.clearShopStaffRelation(shop.getShopId()); |
| | | if(!shop.getShopName().equals(mgtEditShopDto.getShopName())){ |
| | | MgtMemberShopNameDto mgtMemberShopNameDto = new MgtMemberShopNameDto(); |
| | |
| | | shopProportion.setDelFlag(0); |
| | | shopProportion.setShopId(shop.getShopId()); |
| | | shopProportion.setShopType(shop.getShopType()); |
| | | BigDecimal proportionPercent = redisService.getCacheObject(SecurityConstant.SHOP_COMMON_PROPORTION); |
| | | String proportionPercentStr = redisService.getCacheObject(SecurityConstant.SHOP_COMMON_PROPORTION); |
| | | BigDecimal proportionPercent = new BigDecimal(proportionPercentStr); |
| | | if(proportionPercent==null){ |
| | | proportionPercent = new BigDecimal("30"); |
| | | } |
| | |
| | | shopTransferRecord.setAfterUserId(mgtTransferShopDto.getTransferUserId()); |
| | | shopTransferRecord.setTransferRemark(mgtTransferShopDto.getTransferRemark()); |
| | | shopTransferRecordService.save(shopTransferRecord); |
| | | shopRelUserService.deleteByUserId(shop.getBelongUserId()); |
| | | } |
| | | shop.setBelongUserId(mgtTransferShopDto.getTransferUserId()); |
| | | this.saveOrUpdate(shop); |
| | |
| | | shopAuthenticationService.saveOrUpdate(shopAuthentication); |
| | | } |
| | | |
| | | |
| | | /** |
| | | * 商户进件(汇付天下) |
| | | * @param mgtShopHFTXAuthDto |
| | | */ |
| | | @Override |
| | | public void mgtShopHFTXAuth(MgtShopHFTXAuthDto mgtShopHFTXAuthDto) { |
| | | |
| | | } |
| | | |
| | | /** |
| | | * @description 获取平台商户统计 |
| | | * @author jqs |