From 7433906d3a78eae987e82a3667551dff0201081c Mon Sep 17 00:00:00 2001
From: zy_Java <654600784@qq.com>
Date: Thu, 4 Mar 2021 09:40:52 +0800
Subject: [PATCH] 20210304v1.2
---
tcm/src/main/resources/application.yml | 4 ++--
tcm/src/main/resources/mapper_dao/QuestionDao.xml | 14 +++++++++++---
2 files changed, 13 insertions(+), 5 deletions(-)
diff --git a/tcm/src/main/resources/application.yml b/tcm/src/main/resources/application.yml
index 33b76558..4ecd13fd 100644
--- a/tcm/src/main/resources/application.yml
+++ b/tcm/src/main/resources/application.yml
@@ -1,5 +1,5 @@
spring:
profiles:
- active: green
- include: common, util-green
+ active: dev
+ include: common, util-dev
diff --git a/tcm/src/main/resources/mapper_dao/QuestionDao.xml b/tcm/src/main/resources/mapper_dao/QuestionDao.xml
index 13359c91..dc968715 100644
--- a/tcm/src/main/resources/mapper_dao/QuestionDao.xml
+++ b/tcm/src/main/resources/mapper_dao/QuestionDao.xml
@@ -149,7 +149,7 @@
if(r.contents_type = 2,r.contents,null) as explains,
if(r.contents_type = 1 and SUBSTRING_INDEX(r.contents,':',1) = o.submit_value,
- SUBSTRING(r.contents,char_length(o.submit_value)+1),null
+ SUBSTRING(r.contents,char_length(o.submit_value)+2),null
) as otherInformation
FROM
t_question q
@@ -189,6 +189,10 @@