浏览代码

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

wangliang 4 年之前
父节点
当前提交
1bf579dee4
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      themis-business/src/main/resources/mapper/TOeExamRecordMapper.xml

+ 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