|
@@ -179,6 +179,20 @@ public class SopUserLogsInfoServiceImpl implements ISopUserLogsInfoService {
|
|
|
|
|
|
@Override
|
|
|
public int deleteSopUserLogsInfoByIds(String[] ids) {
|
|
|
+
|
|
|
+ List<SopUserLogsInfo> sopUserLogsInfos = sopUserLogsInfoMapper.selectSopUserLogsInfoByIds(ids);
|
|
|
+ List<Map<String, Object>> result = sopUserLogsInfos.stream()
|
|
|
+ .map(info -> {
|
|
|
+ Map<String, Object> fields = new HashMap<>();
|
|
|
+ fields.put("sopId", info.getSopId());
|
|
|
+ fields.put("exterId", info.getExternalContactId());
|
|
|
+ fields.put("qwUserId", info.getQwUserId());
|
|
|
+ fields.put("cropId", info.getCorpId());
|
|
|
+ return fields;
|
|
|
+ })
|
|
|
+ .collect(Collectors.toList());
|
|
|
+ log.info("删除客户营期-"+result);
|
|
|
+
|
|
|
return sopUserLogsInfoMapper.deleteSopUserLogsInfoByIds(ids);
|
|
|
}
|
|
|
|