|
|
@@ -3,6 +3,7 @@ package com.ytpm.service.impl;
|
|
|
import cn.hutool.core.bean.BeanUtil;
|
|
|
import cn.hutool.core.collection.CollUtil;
|
|
|
import cn.hutool.core.date.DateUtil;
|
|
|
+import cn.hutool.core.text.CharSequenceUtil;
|
|
|
import cn.hutool.core.util.IdUtil;
|
|
|
import cn.hutool.core.util.StrUtil;
|
|
|
import com.github.pagehelper.PageHelper;
|
|
|
@@ -147,7 +148,7 @@ public class RiskServiceImpl extends ReflectUtil implements RiskService {
|
|
|
BeanUtil.copyProperties(listVO, config);
|
|
|
config.setChannelId(param.getChannelId());
|
|
|
String format = String.format(config.getFieldDesc(), config.getConfigVal());
|
|
|
- if(StrUtil.isNotBlank(format)){
|
|
|
+ if(CharSequenceUtil.isNotBlank(format)&&configList.indexOf(listVO)!= (configList.size() - 1)){
|
|
|
content.append(format).append(",");
|
|
|
}
|
|
|
configs.add(config);
|
|
|
@@ -464,7 +465,7 @@ public class RiskServiceImpl extends ReflectUtil implements RiskService {
|
|
|
*/
|
|
|
@Override
|
|
|
public Result<?> checkAdRisk(YtDyzUser dyzUser) {
|
|
|
- ResultTable<YtDyzAdRecord> table = appFeign.adRecords(dyzUser.getUserId());
|
|
|
+ ResultTable<YtDyzAdRecord> table = appFeign.adRecords(dyzUser.getUserId(),null);
|
|
|
List<YtDyzAdRecord> records = table.getData();
|
|
|
if(records.isEmpty()){
|
|
|
return Result.resultOk(RepMessage.QUERY_SUCCESS);
|