|
@ -181,12 +181,17 @@ public class EpdcEventsServiceImpl extends BaseServiceImpl<EpdcEventsDao, EpdcEv |
|
|
//组装要保存的信息
|
|
|
//组装要保存的信息
|
|
|
SaveCheckRecordsDTO record = CheckDataUtils.getPackageRecords(dto.getUserId(), |
|
|
SaveCheckRecordsDTO record = CheckDataUtils.getPackageRecords(dto.getUserId(), |
|
|
dto.getNickName(), CheckDataUtils.cate_two, CheckDataUtils.decision_one, ModuleName.ISSUE_SUBMIT.getCode(), textList, |
|
|
dto.getNickName(), CheckDataUtils.cate_two, CheckDataUtils.decision_one, ModuleName.ISSUE_SUBMIT.getCode(), textList, |
|
|
dto.getImages(), null,contentResult, imgResult,null,dto.getMobile()); |
|
|
dto.getImages(), null,contentResult, imgResult,null,dto.getMobile(),"0"); |
|
|
contentSecurityFeign.insertViolationsRecord(record); |
|
|
contentSecurityFeign.insertViolationsRecord(record); |
|
|
throw new RenException(CheckDataUtils.violations_message); |
|
|
throw new RenException(CheckDataUtils.violations_message); |
|
|
// return new Result().error(CheckDataUtils.violations_message);
|
|
|
// return new Result().error(CheckDataUtils.violations_message);
|
|
|
} else { |
|
|
} |
|
|
logger.info("未进入违规信息记录contentResult:" + contentResult + "---imgResult:" + imgResult); |
|
|
//接口异常,保存至待审核信息
|
|
|
|
|
|
if(contentResult == null || imgResult == null) { |
|
|
|
|
|
SaveCheckRecordsDTO record = CheckDataUtils.getPackageRecords(dto.getUserId(), |
|
|
|
|
|
dto.getNickName(), CheckDataUtils.cate_two, null,ModuleName.ISSUE_SUBMIT.getCode(), textList, |
|
|
|
|
|
dto.getImages(), null,null,null, null,dto.getMobile(),"1"); |
|
|
|
|
|
contentSecurityFeign.insertRecords(record); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
EpdcEventsEntity entity = ConvertUtils.sourceToTarget(dto, EpdcEventsEntity.class); |
|
|
EpdcEventsEntity entity = ConvertUtils.sourceToTarget(dto, EpdcEventsEntity.class); |
|
@ -208,8 +213,8 @@ public class EpdcEventsServiceImpl extends BaseServiceImpl<EpdcEventsDao, EpdcEv |
|
|
//组装要保存的信息
|
|
|
//组装要保存的信息
|
|
|
SaveCheckRecordsDTO record = CheckDataUtils.getPackageRecords(dto.getUserId(), |
|
|
SaveCheckRecordsDTO record = CheckDataUtils.getPackageRecords(dto.getUserId(), |
|
|
dto.getNickName(), CheckDataUtils.cate_two, null,ModuleName.ISSUE_SUBMIT.getCode(), textList, |
|
|
dto.getNickName(), CheckDataUtils.cate_two, null,ModuleName.ISSUE_SUBMIT.getCode(), textList, |
|
|
dto.getImages(), entity.getId(),null,null, twoTypes,dto.getMobile()); |
|
|
dto.getImages(), entity.getId(),null,null, twoTypes,dto.getMobile(),"0"); |
|
|
contentSecurityFeign.insertRecords(record); |
|
|
contentSecurityFeign.insertRecords(record); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
return entity; |
|
|
return entity; |
|
|