提醒自动结束会销短信发送bug
This commit is contained in:
@@ -763,7 +763,7 @@ public class ExhibitionServiceImpl implements ExhibitionService {
|
|||||||
public void sendSMSToExhibitionApplicants() {
|
public void sendSMSToExhibitionApplicants() {
|
||||||
//1. 查询昨晚被自动结束的会销
|
//1. 查询昨晚被自动结束的会销
|
||||||
HyExhibitionDO hyExhibitionDO = new HyExhibitionDO();
|
HyExhibitionDO hyExhibitionDO = new HyExhibitionDO();
|
||||||
hyExhibitionDO.setClosedType(2);
|
hyExhibitionDO.setClosedType(1);
|
||||||
String startDayStr = DateUtil.format(DateUtil.offsetDay(new Date(), -1), CoolDateUtils.DATE_FORMAT_DAY);
|
String startDayStr = DateUtil.format(DateUtil.offsetDay(new Date(), -1), CoolDateUtils.DATE_FORMAT_DAY);
|
||||||
hyExhibitionDO.setStartDateStr(startDayStr);
|
hyExhibitionDO.setStartDateStr(startDayStr);
|
||||||
hyExhibitionDO.setDeleted(Boolean.FALSE);
|
hyExhibitionDO.setDeleted(Boolean.FALSE);
|
||||||
|
|||||||
@@ -41,22 +41,22 @@ class EventRequestTest extends AbstractJUnit4SpringContextTests {
|
|||||||
@Test
|
@Test
|
||||||
void testFeishuNotice() throws ApiException {
|
void testFeishuNotice() throws ApiException {
|
||||||
String userId = "34f4a9ga";
|
String userId = "34f4a9ga";
|
||||||
// //1. 工作台通知
|
//1. 工作台通知
|
||||||
// eventCenterHttpRequest.sendFeiShuNotice(FeiShuNoticeMsgEnum.common_notice, Arrays.asList(userId), "测试");
|
eventCenterHttpRequest.sendFeiShuNotice(FeiShuNoticeMsgEnum.common_notice, Arrays.asList(userId), "测试");
|
||||||
// //2. 分配招商经理
|
//2. 分配招商经理
|
||||||
// eventCenterHttpRequest.sendFeiShuNotice(FeiShuNoticeMsgEnum.ALLOCATION_INVESTMENT_MANAGER, Arrays.asList(userId), "2011-12-11 11:11:11", "测试", "1008631");
|
eventCenterHttpRequest.sendFeiShuNotice(FeiShuNoticeMsgEnum.ALLOCATION_INVESTMENT_MANAGER, Arrays.asList(userId), "2011-12-11 11:11:11", "测试", "1008631");
|
||||||
// //3. 转让招商经理
|
//3. 转让招商经理
|
||||||
// eventCenterHttpRequest.sendFeiShuNotice(FeiShuNoticeMsgEnum.TRANS_INVESTMENT_MANAGER, Arrays.asList(userId), "2012-11-11 11:11:11", "测试", "1108611");
|
eventCenterHttpRequest.sendFeiShuNotice(FeiShuNoticeMsgEnum.TRANS_INVESTMENT_MANAGER, Arrays.asList(userId), "2012-11-11 11:11:11", "测试", "1108611");
|
||||||
// //4. 收到新线索
|
//4. 收到新线索
|
||||||
// eventCenterHttpRequest.sendFeiShuNotice(FeiShuNoticeMsgEnum.BATCH_TRANS_INVESTMENT_MANAGER, Arrays.asList(userId), "1", "2023-01-24 16:41:07");
|
eventCenterHttpRequest.sendFeiShuNotice(FeiShuNoticeMsgEnum.BATCH_TRANS_INVESTMENT_MANAGER, Arrays.asList(userId), "1", "2023-01-24 16:41:07");
|
||||||
// //5. 加盟意向申请
|
//5. 加盟意向申请
|
||||||
// eventCenterHttpRequest.sendFeiShuNotice(FeiShuNoticeMsgEnum.INTENTION_APPLY, Arrays.asList(userId), "测试", "1007611", "2023-09-24 16:42:07");
|
eventCenterHttpRequest.sendFeiShuNotice(FeiShuNoticeMsgEnum.INTENTION_APPLY, Arrays.asList(userId), "测试", "1007611", "2023-09-24 16:42:07");
|
||||||
// //6. 线索跟进任务
|
//6. 线索跟进任务
|
||||||
// eventCenterHttpRequest.sendFeiShuNotice(FeiShuNoticeMsgEnum.FOLLOW_TASK, Arrays.asList(userId), "测试线索跟进任务");
|
eventCenterHttpRequest.sendFeiShuNotice(FeiShuNoticeMsgEnum.FOLLOW_TASK, Arrays.asList(userId), "测试线索跟进任务");
|
||||||
// //7. 面试预约申请
|
//7. 面试预约申请
|
||||||
// eventCenterHttpRequest.sendFeiShuNotice(FeiShuNoticeMsgEnum.INTERVIEW_APPOINTMENT, Arrays.asList(userId), "测试", "1108611", "2023-10-24 16:43:07");
|
eventCenterHttpRequest.sendFeiShuNotice(FeiShuNoticeMsgEnum.INTERVIEW_APPOINTMENT, Arrays.asList(userId), "测试", "1108611", "2023-10-24 16:43:07");
|
||||||
// //8. 会销协作通知
|
//8. 会销协作通知
|
||||||
// eventCenterHttpRequest.sendFeiShuNotice(FeiShuNoticeMsgEnum.EXHIBITION_COLLABORATOR, Arrays.asList(userId), "68", "老大", "会销", "2023-12-31", "系东方大酒店");
|
eventCenterHttpRequest.sendFeiShuNotice(FeiShuNoticeMsgEnum.EXHIBITION_COLLABORATOR, Arrays.asList(userId), "68", "老大", "会销", "2023-12-31", "系东方大酒店");
|
||||||
//9. 线索报名会销
|
//9. 线索报名会销
|
||||||
eventCenterHttpRequest.sendFeiShuNotice(FeiShuNoticeMsgEnum.PARTNER_SIGNUP_EXHIBITION, Arrays.asList(userId), "237298", "e2771d330ec54648841a38607f06b598", "线索客户", "1008611", "2023-10-24", "会销", "蜀山");
|
eventCenterHttpRequest.sendFeiShuNotice(FeiShuNoticeMsgEnum.PARTNER_SIGNUP_EXHIBITION, Arrays.asList(userId), "237298", "e2771d330ec54648841a38607f06b598", "线索客户", "1008611", "2023-10-24", "会销", "蜀山");
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user