选址相关枚举 消息

This commit is contained in:
zhangchenbiao
2024-03-27 13:59:14 +08:00
parent 5b0f864d61
commit 0da056d9d3
3 changed files with 9 additions and 1 deletions

View File

@@ -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){

View File

@@ -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;
} }

View File

@@ -72,4 +72,6 @@ recommended.channel.id=52400
wx.pay.privateKeyPath=D:\\weixin\\apiclient_key.pem 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/