施工阶段处理人变动
This commit is contained in:
@@ -596,7 +596,17 @@ public class DecorationServiceImpl implements DecorationService {
|
||||
templateParam.put("shopName", shopInfo.getShopName());
|
||||
commonService.sendSms(lineInfo.getMobile(), SMSMsgEnum.DESIGN_STAGE, templateParam);
|
||||
// 发送企业微信消息
|
||||
sendMeasureUserMessage(request.getShopId(), shopInfo.getInvestmentManager(), MessageEnum.MESSAGE_36);
|
||||
List<EnterpriseUserDO> sendUsers = userAuthMappingService.getAllUserByRoleEnumAndRegionId(UserRoleEnum.CONSTRUCTION_CUSTOMER, shopInfo.getRegionId());
|
||||
if (CollectionUtils.isNotEmpty(sendUsers)) {
|
||||
List<String> sendUserIds = sendUsers.stream().map(enterpriseUserDO -> enterpriseUserDO.getUserId()).collect(Collectors.toList());
|
||||
HashMap<String, String> map = new HashMap<>();
|
||||
map.put("partnerUsername", lineInfo.getUsername());
|
||||
map.put("partnerMobile", lineInfo.getMobile());
|
||||
map.put("storeName", shopInfo.getShopName());
|
||||
commonService.sendQWMessage(sendUserIds,
|
||||
MessageEnum.MESSAGE_37,
|
||||
map);
|
||||
}
|
||||
return Boolean.TRUE;
|
||||
}
|
||||
} else {
|
||||
|
||||
@@ -777,13 +777,13 @@ public class ShopServiceImpl implements ShopService {
|
||||
case SHOP_SUB_STAGE_STATUS_11:
|
||||
case SHOP_SUB_STAGE_STATUS_21:
|
||||
case SHOP_SUB_STAGE_STATUS_50:
|
||||
case SHOP_SUB_STAGE_STATUS_110:
|
||||
case SHOP_SUB_STAGE_STATUS_111:
|
||||
case SHOP_SUB_STAGE_STATUS_140:
|
||||
case SHOP_SUB_STAGE_STATUS_141:
|
||||
case SHOP_SUB_STAGE_STATUS_142:
|
||||
return getUserFromInvestmentManager(shopInfo.getInvestmentManager());
|
||||
case SHOP_SUB_STAGE_STATUS_122:
|
||||
case SHOP_SUB_STAGE_STATUS_110:
|
||||
case SHOP_SUB_STAGE_STATUS_111:
|
||||
return getUsersByRolesAndRegion(Collections.singletonList(CONSTRUCTION_CUSTOMER), shopInfo.getRegionId());
|
||||
|
||||
case SHOP_SUB_STAGE_STATUS_70:
|
||||
|
||||
Reference in New Issue
Block a user