|
|
|
@ -859,6 +859,7 @@ public class ItemServiceImpl extends BaseServiceImpl<ItemDao, ItemEntity> implem |
|
|
|
return new Result().error(CheckDataUtils.violations_code, CheckDataUtils.violations_message); |
|
|
|
} |
|
|
|
|
|
|
|
// 诉求评价
|
|
|
|
ItemEntity itemEntity = new ItemEntity(); |
|
|
|
itemEntity.setId(evaluationFormDTO.getItemId()); |
|
|
|
itemEntity.setEvaluationScore(evaluationFormDTO.getEvaluationScore()); |
|
|
|
@ -866,7 +867,7 @@ public class ItemServiceImpl extends BaseServiceImpl<ItemDao, ItemEntity> implem |
|
|
|
itemEntity.setEvaluationTime(new Date()); |
|
|
|
baseDao.updateById(itemEntity); |
|
|
|
|
|
|
|
//接口异常,保存至待审核信息
|
|
|
|
//内容审核接口异常,保存至待审核信息
|
|
|
|
if (contentResult == null && !isConReview) { |
|
|
|
SaveCheckRecordsDTO record = CheckDataUtils.getPackageRecords(evaluationFormDTO.getUserId(), |
|
|
|
evaluationFormDTO.getUserName(), CheckDataUtils.cate_two, null, ModuleName.ITEM_SATISFACTION.getCode(), textList, |
|
|
|
@ -876,7 +877,7 @@ public class ItemServiceImpl extends BaseServiceImpl<ItemDao, ItemEntity> implem |
|
|
|
|
|
|
|
//判断是否为待审核
|
|
|
|
if (contentResult != null) { |
|
|
|
CheckResultMessageDTO twoTypes = null; |
|
|
|
CheckResultMessageDTO twoTypes; |
|
|
|
if (isConReview) { |
|
|
|
twoTypes = CheckDataUtils.saveTwoTypes(contentResult, null); |
|
|
|
} else { |
|
|
|
@ -890,7 +891,7 @@ public class ItemServiceImpl extends BaseServiceImpl<ItemDao, ItemEntity> implem |
|
|
|
contentSecurityFeign.insertRecords(record); |
|
|
|
} |
|
|
|
} |
|
|
|
//诉求评价
|
|
|
|
//诉求评价推送市中心
|
|
|
|
pushToCityGridService.evaluation(evaluationFormDTO.getItemId()); |
|
|
|
return new Result(); |
|
|
|
} else { |
|
|
|
|