|
|
|
|
155
|
if (sampleContactList.size() > 0) {
|
155
|
if (sampleContactList.size() > 0) {
|
156
|
List<TaContact> taContactList = taContactService.list(new QueryWrapper<TaContact>().in("contact_id", sampleContactList.stream().map(TaSampleContact::getContactId).collect(Collectors.toList())));
|
156
|
List<TaContact> taContactList = taContactService.list(new QueryWrapper<TaContact>().in("contact_id", sampleContactList.stream().map(TaSampleContact::getContactId).collect(Collectors.toList())));
|
157
|
taH5Sample.setTaContactList(taContactList);
|
157
|
taH5Sample.setTaContactList(taContactList);
|
158
|
- String[] smsParams = {taH5Sample.getSampleName(), taH5Demand.getOrderer() + taH5Demand.getPhone()};
|
|
|
|
|
158
|
+ String[] smsParams = {taH5Sample.getSampleName(), taH5Demand.getOrderer() + "-" + taH5Demand.getPhone()};
|
159
|
for (TaContact taContact : taContactList){
|
159
|
for (TaContact taContact : taContactList){
|
160
|
sendSmsMessage(taContact.getPhone(), CommConstant.MESSAGE_CONTENT_OF_DEMAND, smsParams);
|
160
|
sendSmsMessage(taContact.getPhone(), CommConstant.MESSAGE_CONTENT_OF_DEMAND, smsParams);
|
161
|
}
|
161
|
}
|