调整批次号

master
wjt 10 months ago
parent a163096e17
commit 121e91a4c2

@ -2,6 +2,7 @@ package com.baiye.modules.telemarkting.service.impl;
import cn.hutool.core.codec.Base64;
import cn.hutool.core.collection.CollUtil;
import cn.hutool.core.date.DateUtil;
import cn.hutool.core.util.IdUtil;
import cn.hutool.core.util.ObjectUtil;
import cn.hutool.core.util.RandomUtil;
@ -183,7 +184,7 @@ public class PreTestServiceImpl implements PreTestService {
// callImportDTO.setAuthKey(token);
callImportDTO.setActName(preTestAct.getActName());
callImportDTO.setActId(preTestAct.getActId());
callImportDTO.setBatchId(RandomUtil.randomString(8));
callImportDTO.setBatchId("by"+DateUtil.format(DateUtil.date(),"yyyyMMdd")+RandomUtil.randomString(4));
for (Map.Entry<Long, String> entry : clueMap.entrySet()) {
List<CallImportDTO.Source> sourceList = getSources(entry);
callImportDTO.setClientList(sourceList);

Loading…
Cancel
Save