Explorar o código

考情监控-预警类型分布修改

wangliang %!s(int64=4) %!d(string=hai) anos
pai
achega
1bf579dee4

+ 1 - 1
themis-business/src/main/resources/mapper/TOeExamRecordMapper.xml

@@ -796,7 +796,7 @@
 	</select>
 	<select id="getTypeDistribution" resultType="java.util.Map">
 		SELECT
-			substring(w.info,instr(w.info,"【"),instr(w.info,"】")) as type,
+			substring(w.info,instr(w.info,"【") + 1,instr(w.info,"】") - 2) as type,
 			count(DISTINCT(w.id)) count
 		FROM
 			t_oe_exam_record f