Jelajahi Sumber

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

wangliang 4 tahun lalu
induk
melakukan
7d1554d93f

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

@@ -811,7 +811,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