yonge 3 年之前
父節點
當前提交
ad2dbbacef
共有 1 個文件被更改,包括 5 次插入5 次删除
  1. 5 5
      mec-biz/src/main/resources/config/mybatis/CloudTeacherOrderMapper.xml

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