选址相关枚举 消息
This commit is contained in:
@@ -103,6 +103,11 @@ public class HyOpenAreaInfoDAO {
|
|||||||
return ListUtils.emptyIfNull(hyOpenAreaInfoDOS).stream().collect(Collectors.toMap(k->k.getId(), v->v.getAreaPath().replace("/"," ").trim()));
|
return ListUtils.emptyIfNull(hyOpenAreaInfoDOS).stream().collect(Collectors.toMap(k->k.getId(), v->v.getAreaPath().replace("/"," ").trim()));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public String selectNameMapById(Long id){
|
||||||
|
HyOpenAreaInfoDO hyOpenAreaInfoDOS = hyOpenAreaInfoMapper.selectById(id);
|
||||||
|
return hyOpenAreaInfoDOS.getAreaPath().replace("/", " ").trim();
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
public HyOpenAreaInfoDO selectById(Long id){
|
public HyOpenAreaInfoDO selectById(Long id){
|
||||||
if (id==null){
|
if (id==null){
|
||||||
|
|||||||
@@ -138,6 +138,7 @@ public class LineInterviewServiceImpl extends LineFlowService implements LineInt
|
|||||||
}
|
}
|
||||||
LineInterviewDO addInterview = LineInterviewDO.convertDO(lineInfo, startTime, endTime, UUIDUtils.get8UUID(), interviewerUserId, interviewType.getCode(), eventId);
|
LineInterviewDO addInterview = LineInterviewDO.convertDO(lineInfo, startTime, endTime, UUIDUtils.get8UUID(), interviewerUserId, interviewType.getCode(), eventId);
|
||||||
lineInterviewDAO.addInterviewInfo(addInterview);
|
lineInterviewDAO.addInterviewInfo(addInterview);
|
||||||
|
commonService.sendMessage(Arrays.asList(interviewerUserId), lineInfo.getId(), MessageEnum.MESSAGE_2, lineInfo.getUsername(), hyOpenAreaInfoDAO.selectNameMapById(lineInfo.getWantShopAreaId()), DateUtils.parseDateToStr(DateUtils.YYYY_MM_DD_HH_MM, startTime));
|
||||||
return Boolean.TRUE;
|
return Boolean.TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -73,3 +73,5 @@ wx.pay.privateKeyPath=D:\\weixin\\apiclient_key.pem
|
|||||||
|
|
||||||
aliyun.accessKeyId=LTAI5tQ6QBnWaB5LaJYz6zcD
|
aliyun.accessKeyId=LTAI5tQ6QBnWaB5LaJYz6zcD
|
||||||
aliyun.accessKeySecret=spqsOgtfr54cwK861O3N3fInydTgjA
|
aliyun.accessKeySecret=spqsOgtfr54cwK861O3N3fInydTgjA
|
||||||
|
|
||||||
|
coolstore.page.domain=https://t2store.coolstore.cn/
|
||||||
Reference in New Issue
Block a user