yonge před 3 roky
rodič
revize
ad2dbbacef

+ 5 - 5
mec-biz/src/main/resources/config/mybatis/CloudTeacherOrderMapper.xml

@@ -327,11 +327,11 @@
                cto.student_id_ as studentId,
                cto.type_ as type,
                case cto.type_
-                   when 1 then '天'
-                   when 2 then '月'
-                   when 3 then '季'
-                   when 4 then '半年'
-                   when 5 then '年'
+                   when 'DAY' then '天'
+                   when 'MONTH' then '月'
+                   when 'QUARTERLY' then '季'
+                   when 'YEAR_HALF' then '半年'
+                   when 'YEAR' then '年'
                    else ''
                end as typeName,
                cto.time_ as time,