Commit bfbc7509 authored by hezhuozhi's avatar hezhuozhi

27467 人大金仓数据库适配

parent 69d4e8d0
...@@ -15,7 +15,7 @@ public class OverviewQuestionDto { ...@@ -15,7 +15,7 @@ public class OverviewQuestionDto {
@ApiModelProperty(value = "问题内容") @ApiModelProperty(value = "问题内容")
private String content; private String content;
@ApiModelProperty(value = "问题内容") @ApiModelProperty(value = "问题内容")
private String content_; private String warningContent;
@ApiModelProperty(value = "问题完成情况描述") @ApiModelProperty(value = "问题完成情况描述")
private String completionStatusDesc; private String completionStatusDesc;
......
...@@ -211,7 +211,7 @@ ...@@ -211,7 +211,7 @@
SELECT SELECT
warning.SEQUENCE_NBR warningId, warning.SEQUENCE_NBR warningId,
question.CREATE_DATE createDate, question.CREATE_DATE createDate,
warning.CONTENT_ content_, warning.CONTENT_ warningContent,
question.COMPLETION_STATUS_DESC completionStatusDesc, question.COMPLETION_STATUS_DESC completionStatusDesc,
question.SOURCE_ATTRIBUTION_DESC sourceAttributionDesc question.SOURCE_ATTRIBUTION_DESC sourceAttributionDesc
FROM FROM
......
...@@ -109,7 +109,7 @@ public class McbWarningServiceImpl implements IMcbWarningService { ...@@ -109,7 +109,7 @@ public class McbWarningServiceImpl implements IMcbWarningService {
List<OverviewQuestionDto> list = mcbWarningMapper.overviewQuestionList((current - 1) * size, size, projectOrgCodes, startTime, endTime); List<OverviewQuestionDto> list = mcbWarningMapper.overviewQuestionList((current - 1) * size, size, projectOrgCodes, startTime, endTime);
if (CollectionUtil.isNotEmpty(list)) { if (CollectionUtil.isNotEmpty(list)) {
for (OverviewQuestionDto overviewQuestionDto : list) { for (OverviewQuestionDto overviewQuestionDto : list) {
overviewQuestionDto.setContent(overviewQuestionDto.getContent_()); overviewQuestionDto.setContent(overviewQuestionDto.getWarningContent());
} }
} }
Integer total = mcbWarningMapper.overviewQuestionListTotal(projectOrgCodes, startTime, endTime); Integer total = mcbWarningMapper.overviewQuestionListTotal(projectOrgCodes, startTime, endTime);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment