常量

12114

常量总览

_constant结构

  1. CREATE TABLE `_constant` (
  2. `id` int(11) NOT NULL AUTO_INCREMENT,
  3. `constantKey` varchar(255) DEFAULT NULL,
  4. `constantType` varchar(255) DEFAULT NULL COMMENT '常量类型; object, array',
  5. `desc` varchar(255) DEFAULT NULL COMMENT '描述',
  6. `constantValue` text COMMENT '常量内容; object, array',
  7. `operation` varchar(255) DEFAULT 'insert' COMMENT '操作; insert, update, jhInsert, jhUpdate, jhDelete jhRestore',
  8. `operationByUserId` varchar(255) DEFAULT NULL COMMENT '操作者userId',
  9. `operationByUser` varchar(255) DEFAULT NULL COMMENT '操作者用户名',
  10. `operationAt` varchar(255) DEFAULT NULL COMMENT '操作时间; E.g: 2021-05-28T10:24:54+08:00 ',
  11. PRIMARY KEY (`id`) USING BTREE
  12. ) ENGINE = InnoDB AUTO_INCREMENT = 23 DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '常量表; 软删除未启用;'

_constant 表数据

学部科目

  • constantKey:segmentSubject

  • constantType:object

  1. {
  2. "小学": [
  3. {
  4. "value": "语文",
  5. "text": "语文",
  6. "width": 100
  7. },
  8. {
  9. "value": "数学",
  10. "text": "数学",
  11. "width": 100
  12. },
  13. {
  14. "value": "英语",
  15. "text": "英语",
  16. "width": 100
  17. },
  18. {
  19. "value": "体育",
  20. "text": "体育",
  21. "width": 100
  22. },
  23. {
  24. "value": "美术",
  25. "text": "美术",
  26. "width": 100
  27. },
  28. {
  29. "value": "书法",
  30. "text": "书法",
  31. "width": 100
  32. },
  33. {
  34. "value": "音乐",
  35. "text": "音乐",
  36. "width": 100
  37. },
  38. {
  39. "value": "舞蹈",
  40. "text": "舞蹈",
  41. "width": 100
  42. },
  43. {
  44. "value": "科学",
  45. "text": "科学",
  46. "width": 100
  47. },
  48. {
  49. "value": "编程",
  50. "text": "编程",
  51. "width": 100
  52. },
  53. {
  54. "value": "社团",
  55. "text": "社团",
  56. "width": 100
  57. },
  58. {
  59. "value": "心理健康",
  60. "text": "心理健康",
  61. "width": 100
  62. },
  63. {
  64. "value": "信息技术",
  65. "text": "信息技术",
  66. "width": 100
  67. },
  68. {
  69. "value": "红色文化",
  70. "text": "红色文化",
  71. "width": 100
  72. },
  73. {
  74. "value": "劳动实践",
  75. "text": "劳动实践",
  76. "width": 100
  77. },
  78. {
  79. "value": "班会",
  80. "text": "班会",
  81. "width": 100
  82. }
  83. ],
  84. "初中": [
  85. {
  86. "value": "语文",
  87. "text": "语文",
  88. "width": 100
  89. },
  90. {
  91. "value": "数学",
  92. "text": "数学",
  93. "width": 100
  94. },
  95. {
  96. "value": "英语",
  97. "text": "英语",
  98. "width": 100
  99. },
  100. {
  101. "value": "物理",
  102. "text": "物理",
  103. "width": 100
  104. },
  105. {
  106. "value": "化学",
  107. "text": "化学",
  108. "width": 100
  109. },
  110. {
  111. "value": "生物",
  112. "text": "生物",
  113. "width": 100
  114. },
  115. {
  116. "value": "历史",
  117. "text": "历史",
  118. "width": 100
  119. },
  120. {
  121. "value": "地理",
  122. "text": "地理",
  123. "width": 100
  124. },
  125. {
  126. "value": "政治",
  127. "text": "政治",
  128. "width": 100
  129. },
  130. {
  131. "value": "音乐",
  132. "text": "音乐",
  133. "width": 100
  134. },
  135. {
  136. "value": "美术",
  137. "text": "美术",
  138. "width": 100
  139. },
  140. {
  141. "value": "劳动",
  142. "text": "劳动",
  143. "width": 100
  144. },
  145. {
  146. "value": "信息技术",
  147. "text": "信息技术",
  148. "width": 100
  149. },
  150. {
  151. "value": "通用技术",
  152. "text": "通用技术",
  153. "width": 100
  154. },
  155. {
  156. "value": "体育",
  157. "text": "体育",
  158. "width": 100
  159. },
  160. {
  161. "value": "日语",
  162. "text": "日语",
  163. "width": 100
  164. },
  165. {
  166. "value": "班会",
  167. "text": "班会",
  168. "width": 100
  169. }
  170. ],
  171. "高中": [
  172. {
  173. "value": "语文",
  174. "text": "语文",
  175. "width": 100
  176. },
  177. {
  178. "value": "数学",
  179. "text": "数学",
  180. "width": 100
  181. },
  182. {
  183. "value": "英语",
  184. "text": "英语",
  185. "width": 100
  186. },
  187. {
  188. "value": "物理",
  189. "text": "物理",
  190. "width": 100
  191. },
  192. {
  193. "value": "化学",
  194. "text": "化学",
  195. "width": 100
  196. },
  197. {
  198. "value": "生物",
  199. "text": "生物",
  200. "width": 100
  201. },
  202. {
  203. "value": "历史",
  204. "text": "历史",
  205. "width": 100
  206. },
  207. {
  208. "value": "地理",
  209. "text": "地理",
  210. "width": 100
  211. },
  212. {
  213. "value": "政治",
  214. "text": "政治",
  215. "width": 100
  216. },
  217. {
  218. "value": "信息技术",
  219. "text": "信息技术",
  220. "width": 100
  221. },
  222. {
  223. "value": "通用技术",
  224. "text": "通用技术",
  225. "width": 100
  226. },
  227. {
  228. "value": "艺术",
  229. "text": "艺术",
  230. "width": 100
  231. },
  232. {
  233. "value": "体育",
  234. "text": "体育",
  235. "width": 100
  236. },
  237. {
  238. "value": "日语",
  239. "text": "日语",
  240. "width": 100
  241. },
  242. {
  243. "value": "辅导1",
  244. "text": "辅导1",
  245. "width": 100
  246. },
  247. {
  248. "value": "辅导2",
  249. "text": "辅导2",
  250. "width": 100
  251. },
  252. {
  253. "value": "辅导3",
  254. "text": "辅导3",
  255. "width": 100
  256. },
  257. {
  258. "value": "配班老师",
  259. "text": "配班老师",
  260. "width": 100
  261. },
  262. {
  263. "value": "班会",
  264. "text": "班会",
  265. "width": 100
  266. }
  267. ]
  268. }

可上课时间

  • constantKey:enableLessonDay

  • constantType:object

  1. [
  2. {
  3. "value": "周一",
  4. "text": "周一"
  5. },
  6. {
  7. "value": "周二",
  8. "text": "周二"
  9. },
  10. {
  11. "value": "周三",
  12. "text": "周三"
  13. },
  14. {
  15. "value": "周四",
  16. "text": "周四"
  17. },
  18. {
  19. "value": "周五",
  20. "text": "周五"
  21. },
  22. {
  23. "value": "周六",
  24. "text": "周六"
  25. },
  26. {
  27. "value": "周日",
  28. "text": "周日"
  29. }
  30. ]

早自习数量配置

  • constantKey:morningLesson

  • constantType:object

  1. [
  2. {
  3. "value": 0,
  4. "text": "无"
  5. },
  6. {
  7. "value": 1,
  8. "text": "1节"
  9. },
  10. {
  11. "value": 2,
  12. "text": "2节"
  13. },
  14. {
  15. "value": 3,
  16. "text": "3节"
  17. },
  18. {
  19. "value": 4,
  20. "text": "4节"
  21. },
  22. {
  23. "value": 5,
  24. "text": "5节"
  25. }
  26. ]

上午节数

  • constantKey:amLesson

  • constantType:object

  1. [
  2. {
  3. "value": 1,
  4. "text": "1节"
  5. },
  6. {
  7. "value": 2,
  8. "text": "2节"
  9. },
  10. {
  11. "value": 3,
  12. "text": "3节"
  13. },
  14. {
  15. "value": 4,
  16. "text": "4节"
  17. },
  18. {
  19. "value": 5,
  20. "text": "5节"
  21. },
  22. {
  23. "value": 6,
  24. "text": "6节"
  25. }
  26. ]

下午节数

  • constantKey:pmLesson

  • constantType:object

  1. [
  2. {
  3. "value": 1,
  4. "text": "1节"
  5. },
  6. {
  7. "value": 2,
  8. "text": "2节"
  9. },
  10. {
  11. "value": 3,
  12. "text": "3节"
  13. },
  14. {
  15. "value": 4,
  16. "text": "4节"
  17. },
  18. {
  19. "value": 5,
  20. "text": "5节"
  21. },
  22. {
  23. "value": 6,
  24. "text": "6节"
  25. }
  26. ]

晚上节数

  • constantKey:eveningLesson

  • constantType:object

  1. [
  2. {
  3. "value": 0,
  4. "text": "无"
  5. },
  6. {
  7. "value": 1,
  8. "text": "1节"
  9. },
  10. {
  11. "value": 2,
  12. "text": "2节"
  13. },
  14. {
  15. "value": 3,
  16. "text": "3节"
  17. },
  18. {
  19. "value": 4,
  20. "text": "4节"
  21. },
  22. {
  23. "value": 5,
  24. "text": "5节"
  25. }
  26. ]

一周上几次课

  • constantKey:daytimeLesson

  • constantType:object

  1. [
  2. {
  3. "value": 0,
  4. "text": "无"
  5. },
  6. {
  7. "value": 1,
  8. "text": "1节"
  9. },
  10. {
  11. "value": 2,
  12. "text": "2节"
  13. },
  14. {
  15. "value": 3,
  16. "text": "3节"
  17. },
  18. {
  19. "value": 4,
  20. "text": "4节"
  21. },
  22. {
  23. "value": 5,
  24. "text": "5节"
  25. },
  26. {
  27. "value": 6,
  28. "text": "6节"
  29. },
  30. {
  31. "value": 7,
  32. "text": "7节"
  33. },
  34. {
  35. "value": 8,
  36. "text": "8节"
  37. },
  38. {
  39. "value": 9,
  40. "text": "9节"
  41. },
  42. {
  43. "value": 10,
  44. "text": "10节"
  45. },
  46. {
  47. "value": 11,
  48. "text": "11节"
  49. },
  50. {
  51. "value": 12,
  52. "text": "12节"
  53. },
  54. {
  55. "value": 13,
  56. "text": "13节"
  57. },
  58. {
  59. "value": 14,
  60. "text": "14节"
  61. },
  62. {
  63. "value": 15,
  64. "text": "15节"
  65. },
  66. {
  67. "value": 16,
  68. "text": "16节"
  69. },
  70. {
  71. "value": 17,
  72. "text": "17节"
  73. },
  74. {
  75. "value": 18,
  76. "text": "18节"
  77. }
  78. ]

连续次数

  • constantKey:consecutive

  • constantType:object

  1. [
  2. {
  3. "value": 0,
  4. "text": "无"
  5. },
  6. {
  7. "value": 1,
  8. "text": "1次"
  9. },
  10. {
  11. "value": 2,
  12. "text": "2次"
  13. },
  14. {
  15. "value": 3,
  16. "text": "3次"
  17. },
  18. {
  19. "value": 4,
  20. "text": "4次"
  21. },
  22. {
  23. "value": 5,
  24. "text": "5次"
  25. },
  26. {
  27. "value": 6,
  28. "text": "6次"
  29. },
  30. {
  31. "value": 7,
  32. "text": "7次"
  33. }
  34. ]

年级

  • constantKey:level

  • constantType:object

  1. [
  2. {
  3. "value": "01",
  4. "text": "一年级",
  5. "segment": "小学"
  6. },
  7. {
  8. "value": "02",
  9. "text": "二年级",
  10. "segment": "小学"
  11. },
  12. {
  13. "value": "03",
  14. "text": "三年级",
  15. "segment": "小学"
  16. },
  17. {
  18. "value": "04",
  19. "text": "四年级",
  20. "segment": "小学"
  21. },
  22. {
  23. "value": "05",
  24. "text": "五年级",
  25. "segment": "小学"
  26. },
  27. {
  28. "value": "06",
  29. "text": "六年级",
  30. "segment": "小学"
  31. },
  32. {
  33. "value": "07",
  34. "text": "七年级",
  35. "segment": "初中"
  36. },
  37. {
  38. "value": "08",
  39. "text": "八年级",
  40. "segment": "初中"
  41. },
  42. {
  43. "value": "09",
  44. "text": "九年级",
  45. "segment": "初中"
  46. },
  47. {
  48. "value": "10",
  49. "text": "高一",
  50. "segment": "高中"
  51. },
  52. {
  53. "value": "11",
  54. "text": "高二",
  55. "segment": "高中"
  56. },
  57. {
  58. "value": "12",
  59. "text": "高三",
  60. "segment": "高中"
  61. }
  62. ]

当前学期

  • constantKey:currentSemester

  • constantType:object

  1. {
  2. "semester": "春季",
  3. "year": 2024
  4. }

null

  • constantKey:weekday

  • constantType:array

  1. [
  2. {
  3. "text": "周一",
  4. "value": "01"
  5. },
  6. {
  7. "text": "周二",
  8. "value": "02"
  9. },
  10. {
  11. "text": "周三",
  12. "value": "03"
  13. },
  14. {
  15. "text": "周四",
  16. "value": "04"
  17. },
  18. {
  19. "text": "周五",
  20. "value": "05"
  21. },
  22. {
  23. "text": "周六",
  24. "value": "06"
  25. },
  26. {
  27. "text": "周日",
  28. "value": "07"
  29. },
  30. {
  31. "text": "+周一",
  32. "value": "11"
  33. },
  34. {
  35. "text": "+周二",
  36. "value": "12"
  37. },
  38. {
  39. "text": "+周三",
  40. "value": "13"
  41. },
  42. {
  43. "text": "+周四",
  44. "value": "14"
  45. },
  46. {
  47. "text": "+周五",
  48. "value": "15"
  49. },
  50. {
  51. "text": "+周六",
  52. "value": "16"
  53. },
  54. {
  55. "text": "+周日",
  56. "value": "17"
  57. }
  58. ]

科目组排除规则

  • constantKey:subjectGroupExclude

  • constantType:object

  1. [
  2. {
  3. "level": [
  4. "01",
  5. "02",
  6. "03",
  7. "04",
  8. "05",
  9. "06"
  10. ],
  11. "subject": [
  12. "语文"
  13. ],
  14. "weekday": "01",
  15. "section": [
  16. "第2节",
  17. "第3节",
  18. "第4节"
  19. ]
  20. },
  21. {
  22. "level": [
  23. "07",
  24. "08",
  25. "09"
  26. ],
  27. "subject": [
  28. "语文"
  29. ],
  30. "weekday": "01",
  31. "section": [
  32. "第2节",
  33. "第3节",
  34. "第4节"
  35. ]
  36. },
  37. {
  38. "level": [
  39. "07",
  40. "08",
  41. "09"
  42. ],
  43. "subject": [
  44. "语文"
  45. ],
  46. "weekday": "11",
  47. "section": [
  48. "第2节",
  49. "第3节",
  50. "第4节"
  51. ]
  52. },
  53. {
  54. "level": [
  55. "10",
  56. "11",
  57. "12"
  58. ],
  59. "subject": [
  60. "语文"
  61. ],
  62. "weekday": "01",
  63. "section": [
  64. "第2节",
  65. "第3节",
  66. "第4节"
  67. ]
  68. },
  69. {
  70. "level": [
  71. "12"
  72. ],
  73. "subject": [
  74. "体育"
  75. ],
  76. "weekday": "01",
  77. "section": [
  78. "第1节",
  79. "第7节",
  80. "第8节"
  81. ]
  82. },
  83. {
  84. "level": [
  85. "12"
  86. ],
  87. "subject": [
  88. "体育"
  89. ],
  90. "weekday": "02",
  91. "section": [
  92. "第1节",
  93. "第7节",
  94. "第8节"
  95. ]
  96. },
  97. {
  98. "level": [
  99. "12"
  100. ],
  101. "subject": [
  102. "体育"
  103. ],
  104. "weekday": "03",
  105. "section": [
  106. "第1节",
  107. "第7节",
  108. "第8节"
  109. ]
  110. },
  111. {
  112. "level": [
  113. "12"
  114. ],
  115. "subject": [
  116. "体育"
  117. ],
  118. "weekday": "04",
  119. "section": [
  120. "第1节",
  121. "第7节",
  122. "第8节"
  123. ]
  124. },
  125. {
  126. "level": [
  127. "12"
  128. ],
  129. "subject": [
  130. "体育"
  131. ],
  132. "weekday": "05",
  133. "section": [
  134. "第1节",
  135. "第8节"
  136. ]
  137. },
  138. {
  139. "level": [
  140. "12"
  141. ],
  142. "subject": [
  143. "体育"
  144. ],
  145. "weekday": "06",
  146. "section": [
  147. "第1节",
  148. "第7节",
  149. "第8节"
  150. ]
  151. },
  152. {
  153. "level": [
  154. "12"
  155. ],
  156. "subject": [
  157. "体育"
  158. ],
  159. "weekday": "07",
  160. "section": [
  161. "第1节",
  162. "第7节",
  163. "第8节"
  164. ]
  165. },
  166. {
  167. "level": [
  168. "01",
  169. "02",
  170. "03",
  171. "04",
  172. "05",
  173. "06"
  174. ],
  175. "subject": [
  176. "数学"
  177. ],
  178. "weekday": "02",
  179. "section": [
  180. "第2节",
  181. "第3节",
  182. "第4节"
  183. ]
  184. },
  185. {
  186. "level": [
  187. "07",
  188. "08",
  189. "09"
  190. ],
  191. "subject": [
  192. "数学"
  193. ],
  194. "weekday": "02",
  195. "section": [
  196. "第2节",
  197. "第3节",
  198. "第4节"
  199. ]
  200. },
  201. {
  202. "level": [
  203. "07",
  204. "08",
  205. "09"
  206. ],
  207. "subject": [
  208. "数学"
  209. ],
  210. "weekday": "12",
  211. "section": [
  212. "第2节",
  213. "第3节",
  214. "第4节"
  215. ]
  216. },
  217. {
  218. "level": [
  219. "10",
  220. "11",
  221. "12"
  222. ],
  223. "subject": [
  224. "数学"
  225. ],
  226. "weekday": "02",
  227. "section": [
  228. "第2节",
  229. "第3节",
  230. "第4节"
  231. ]
  232. },
  233. {
  234. "level": [
  235. "07",
  236. "08",
  237. "09"
  238. ],
  239. "subject": [
  240. "英语"
  241. ],
  242. "weekday": "03",
  243. "section": [
  244. "第2节",
  245. "第3节",
  246. "第4节"
  247. ]
  248. },
  249. {
  250. "level": [
  251. "07",
  252. "08",
  253. "09"
  254. ],
  255. "subject": [
  256. "英语"
  257. ],
  258. "weekday": "13",
  259. "section": [
  260. "第2节",
  261. "第3节",
  262. "第4节"
  263. ]
  264. },
  265. {
  266. "level": [
  267. "07",
  268. "08",
  269. "09"
  270. ],
  271. "subject": [
  272. "历史",
  273. "地理",
  274. "政治"
  275. ],
  276. "weekday": "04",
  277. "section": [
  278. "第2节",
  279. "第3节",
  280. "第4节"
  281. ]
  282. },
  283. {
  284. "level": [
  285. "07",
  286. "08",
  287. "09"
  288. ],
  289. "subject": [
  290. "历史",
  291. "地理",
  292. "政治"
  293. ],
  294. "weekday": "14",
  295. "section": [
  296. "第2节",
  297. "第3节",
  298. "第4节"
  299. ]
  300. },
  301. {
  302. "level": [
  303. "07",
  304. "08",
  305. "09"
  306. ],
  307. "subject": [
  308. "物理",
  309. "化学",
  310. "生物"
  311. ],
  312. "weekday": "04",
  313. "section": [
  314. "第2节",
  315. "第3节",
  316. "第4节"
  317. ]
  318. },
  319. {
  320. "level": [
  321. "07",
  322. "08",
  323. "09"
  324. ],
  325. "subject": [
  326. "物理",
  327. "化学",
  328. "生物"
  329. ],
  330. "weekday": "14",
  331. "section": [
  332. "第2节",
  333. "第3节",
  334. "第4节"
  335. ]
  336. },
  337. {
  338. "level": [
  339. "03",
  340. "04",
  341. "05",
  342. "06"
  343. ],
  344. "subject": [
  345. "英语"
  346. ],
  347. "weekday": "03",
  348. "section": [
  349. "第2节",
  350. "第3节",
  351. "第4节"
  352. ]
  353. },
  354. {
  355. "level": [
  356. "10",
  357. "11",
  358. "12"
  359. ],
  360. "subject": [
  361. "历史",
  362. "地理",
  363. "政治"
  364. ],
  365. "weekday": "03",
  366. "section": [
  367. "第2节",
  368. "第3节",
  369. "第4节"
  370. ]
  371. },
  372. {
  373. "level": [
  374. "10",
  375. "11",
  376. "12"
  377. ],
  378. "subject": [
  379. "英语"
  380. ],
  381. "weekday": "04",
  382. "section": [
  383. "第2节",
  384. "第3节",
  385. "第4节"
  386. ]
  387. },
  388. {
  389. "level": [
  390. "10",
  391. "11",
  392. "12"
  393. ],
  394. "subject": [
  395. "物理",
  396. "化学",
  397. "生物"
  398. ],
  399. "weekday": "05",
  400. "section": [
  401. "第2节",
  402. "第3节",
  403. "第4节"
  404. ]
  405. }
  406. ]

科目指定节次

  • constantKey:subjectAllow

  • constantType:object

  1. []

课时排除

  • constantKey:sectionExclude

  • constantType:object

  1. [
  2. {
  3. "type": "subject",
  4. "section": "第1节",
  5. "scope": [
  6. "音乐",
  7. "体育",
  8. "美术",
  9. "劳动实践",
  10. "信息技术",
  11. "书法",
  12. "舞蹈",
  13. "编程"
  14. ]
  15. },
  16. {
  17. "type": "teacher",
  18. "section": "第1节",
  19. "scope": [
  20. "EXXXXX",
  21. "E41000P",
  22. "E41001K",
  23. "E41002F",
  24. "H00002"
  25. ]
  26. },
  27. {
  28. "type": "subject",
  29. "section": "第2节",
  30. "scope": [
  31. {
  32. "value": "音乐",
  33. "text": "音乐",
  34. "width": 100
  35. },
  36. {
  37. "value": "书法",
  38. "text": "书法",
  39. "width": 100
  40. },
  41. {
  42. "value": "美术",
  43. "text": "美术",
  44. "width": 100
  45. },
  46. {
  47. "value": "体育",
  48. "text": "体育",
  49. "width": 100
  50. },
  51. {
  52. "value": "舞蹈",
  53. "text": "舞蹈",
  54. "width": 100
  55. },
  56. {
  57. "value": "科学",
  58. "text": "科学",
  59. "width": 100
  60. },
  61. {
  62. "value": "编程",
  63. "text": "编程",
  64. "width": 100
  65. },
  66. {
  67. "value": "信息技术",
  68. "text": "信息技术",
  69. "width": 100
  70. },
  71. {
  72. "value": "红色文化",
  73. "text": "红色文化",
  74. "width": 100
  75. },
  76. {
  77. "value": "劳动实践",
  78. "text": "劳动实践",
  79. "width": 100
  80. }
  81. ]
  82. },
  83. {
  84. "type": "subject",
  85. "section": "第3节",
  86. "scope": [
  87. {
  88. "value": "美术",
  89. "text": "美术",
  90. "width": 100
  91. },
  92. {
  93. "value": "书法",
  94. "text": "书法",
  95. "width": 100
  96. },
  97. {
  98. "value": "音乐",
  99. "text": "音乐",
  100. "width": 100
  101. },
  102. {
  103. "value": "舞蹈",
  104. "text": "舞蹈",
  105. "width": 100
  106. },
  107. {
  108. "value": "体育",
  109. "text": "体育",
  110. "width": 100
  111. },
  112. {
  113. "value": "科学",
  114. "text": "科学",
  115. "width": 100
  116. },
  117. {
  118. "value": "编程",
  119. "text": "编程",
  120. "width": 100
  121. },
  122. {
  123. "value": "劳动实践",
  124. "text": "劳动实践",
  125. "width": 100
  126. },
  127. {
  128. "value": "红色文化",
  129. "text": "红色文化",
  130. "width": 100
  131. }
  132. ]
  133. },
  134. {
  135. "type": "subject",
  136. "section": "第4节",
  137. "scope": [
  138. {
  139. "value": "体育",
  140. "text": "体育",
  141. "width": 100
  142. },
  143. {
  144. "value": "美术",
  145. "text": "美术",
  146. "width": 100
  147. },
  148. {
  149. "value": "书法",
  150. "text": "书法",
  151. "width": 100
  152. },
  153. {
  154. "value": "音乐",
  155. "text": "音乐",
  156. "width": 100
  157. },
  158. {
  159. "value": "舞蹈",
  160. "text": "舞蹈",
  161. "width": 100
  162. },
  163. {
  164. "value": "科学",
  165. "text": "科学",
  166. "width": 100
  167. },
  168. {
  169. "value": "编程",
  170. "text": "编程",
  171. "width": 100
  172. },
  173. {
  174. "value": "心理健康",
  175. "text": "心理健康",
  176. "width": 100
  177. },
  178. {
  179. "value": "红色文化",
  180. "text": "红色文化",
  181. "width": 100
  182. },
  183. {
  184. "value": "劳动实践",
  185. "text": "劳动实践",
  186. "width": 100
  187. },
  188. {
  189. "value": "信息技术",
  190. "text": "信息技术",
  191. "width": 100
  192. }
  193. ]
  194. }
  195. ]

工作日排除

  • constantKey:weekdayExclude

  • constantType:object

  1. [
  2. {
  3. "type": "teacher",
  4. "weekday": "05",
  5. "scope": [
  6. "E41231F",
  7. "E41136T",
  8. "E41239A",
  9. "E41191P",
  10. "E41188B",
  11. "E41197P",
  12. "E41187F"
  13. ]
  14. },
  15. {
  16. "type": "teacher",
  17. "weekday": "04",
  18. "scope": [
  19. "E41251D",
  20. "E41117B",
  21. "E41172R",
  22. "E41166R",
  23. "E41164A",
  24. "E41376L",
  25. "E41165W"
  26. ]
  27. },
  28. {
  29. "type": "teacher",
  30. "weekday": "03",
  31. "scope": [
  32. "E41179N",
  33. "E41237G",
  34. "E41360P",
  35. "E41219C",
  36. "E41193F",
  37. "E41190T"
  38. ]
  39. },
  40. {
  41. "type": "teacher",
  42. "weekday": "02",
  43. "scope": [
  44. "E41177W",
  45. "E41221U",
  46. "E41087J",
  47. "E41240V",
  48. "E41186J",
  49. "E41227W",
  50. "E41236L"
  51. ]
  52. },
  53. {
  54. "type": "teacher",
  55. "weekday": "03",
  56. "scope": [
  57. "E41223L",
  58. "E41154R",
  59. "E41237G",
  60. "E41131P",
  61. "E41119R",
  62. "E41419Y",
  63. "E41149N",
  64. "E41432J",
  65. "E41159W"
  66. ]
  67. },
  68. {
  69. "type": "teacher",
  70. "weekday": "04",
  71. "scope": [
  72. "E41209R",
  73. "E41134C",
  74. "E41151E",
  75. "E41225D",
  76. "E41143N",
  77. "E41138K"
  78. ]
  79. },
  80. {
  81. "type": "teacher",
  82. "weekday": "05",
  83. "scope": [
  84. "E41144J",
  85. "E41215T",
  86. "E41139F",
  87. "E41152B",
  88. "E41118W",
  89. "E41147W",
  90. "E41420W"
  91. ]
  92. },
  93. {
  94. "type": "teacher",
  95. "weekday": "06",
  96. "scope": [
  97. "E41194C",
  98. "E41399M",
  99. "E41196U",
  100. "E41238D",
  101. "E41157E",
  102. "E41156J"
  103. ]
  104. }
  105. ]

统一教师排除

  • constantKey:teacherExclude

  • constantType:array

  1. [
  2. {
  3. "type": "teacher",
  4. "weekdayList": [
  5. "05"
  6. ],
  7. "sectionList": [
  8. "第5节"
  9. ],
  10. "teacherList": [
  11. "E41144J",
  12. "E41146B",
  13. "E41152B"
  14. ]
  15. },
  16. {
  17. "weekdayList": [
  18. "02",
  19. "03",
  20. "01",
  21. "04",
  22. "05",
  23. "06",
  24. "11",
  25. "12",
  26. "13",
  27. "14",
  28. "15",
  29. "16"
  30. ],
  31. "sectionList": [
  32. "第2节",
  33. "第3节",
  34. "第1节",
  35. "第4节",
  36. "第5节",
  37. "第6节",
  38. "第7节",
  39. "第8节"
  40. ],
  41. "teacherList": [
  42. "H00002",
  43. "H00001",
  44. "E41433G"
  45. ],
  46. "remark": "不排课"
  47. }
  48. ]

统一学科排除

  • constantKey:subjectExclude

  • constantType:array

  1. [
  2. {
  3. "type": "subject",
  4. "weekdayList": [
  5. "05"
  6. ],
  7. "sectionList": [
  8. "第5节"
  9. ],
  10. "subjectList": [
  11. "体育",
  12. "美术"
  13. ]
  14. },
  15. {
  16. "weekdayList": [
  17. "01",
  18. "02",
  19. "03",
  20. "04",
  21. "05",
  22. "06",
  23. "07"
  24. ],
  25. "sectionList": [
  26. "第1节"
  27. ],
  28. "subjectList": [
  29. "体育",
  30. "美术",
  31. "书法",
  32. "音乐",
  33. "舞蹈",
  34. "编程",
  35. "信息技术",
  36. "劳动实践",
  37. "心理健康",
  38. "红色文化",
  39. "社团",
  40. "科学",
  41. "通用技术",
  42. "劳动",
  43. "艺术",
  44. "配班老师"
  45. ]
  46. }
  47. ]

学部列表

  • constantKey:segment

  • constantType:array

  1. [
  2. {
  3. "value": "小学",
  4. "text": "小学"
  5. },
  6. {
  7. "value": "初中",
  8. "text": "初中"
  9. },
  10. {
  11. "value": "高中",
  12. "text": "高中"
  13. }
  14. ]

_constant语句

  1. INSERT INTO _constant (id, constantKey, constantType, desc, constantValue, operation, operationByUserId, operationByUser, operationAt) VALUES (1, 'segmentSubject', 'object', '学部科目', '{
  2. "小学": [
  3. {"value": "语文", "text": "语文", "width": 100},
  4. {"value": "数学", "text": "数学", "width": 100},
  5. {"value": "英语", "text": "英语", "width": 100},
  6. {"value": "体育", "text": "体育", "width": 100},
  7. {"value": "美术", "text": "美术", "width": 100},
  8. {"value": "书法", "text": "书法", "width": 100},
  9. {"value": "音乐", "text": "音乐", "width": 100},
  10. {"value": "舞蹈", "text": "舞蹈", "width": 100},
  11. {"value": "科学", "text": "科学", "width": 100},
  12. {"value": "编程", "text": "编程", "width": 100},
  13. {"value": "社团", "text": "社团", "width": 100},
  14. {"value": "心理健康", "text": "心理健康", "width": 100},
  15. {"value": "信息技术", "text": "信息技术", "width": 100},
  16. {"value": "红色文化", "text": "红色文化", "width": 100},
  17. {"value": "劳动实践", "text": "劳动实践", "width": 100},
  18. {"value": "班会", "text": "班会", "width": 100}
  19. ],
  20. "初中": [
  21. {"value": "语文", "text": "语文", "width": 100},
  22. {"value": "数学", "text": "数学", "width": 100},
  23. {"value": "英语", "text": "英语", "width": 100},
  24. {"value": "物理", "text": "物理", "width": 100},
  25. {"value": "化学", "text": "化学", "width": 100},
  26. {"value": "生物", "text": "生物", "width": 100},
  27. {"value": "历史", "text": "历史", "width": 100},
  28. {"value": "地理", "text": "地理", "width": 100},
  29. {"value": "政治", "text": "政治", "width": 100},
  30. {"value": "音乐", "text": "音乐", "width": 100},
  31. {"value": "美术", "text": "美术", "width": 100},
  32. {"value": "劳动", "text": "劳动", "width": 100},
  33. {"value": "信息技术", "text": "信息技术", "width": 100},
  34. {"value": "通用技术", "text": "通用技术", "width": 100},
  35. {"value": "体育", "text": "体育", "width": 100},
  36. {"value": "日语", "text": "日语", "width": 100},
  37. {"value": "班会", "text": "班会", "width": 100}
  38. ],
  39. "高中": [
  40. {"value": "语文", "text": "语文", "width": 100},
  41. {"value": "数学", "text": "数学", "width": 100},
  42. {"value": "英语", "text": "英语", "width": 100},
  43. {"value": "物理", "text": "物理", "width": 100},
  44. {"value": "化学", "text": "化学", "width": 100},
  45. {"value": "生物", "text": "生物", "width": 100},
  46. {"value": "历史", "text": "历史", "width": 100},
  47. {"value": "地理", "text": "地理", "width": 100},
  48. {"value": "政治", "text": "政治", "width": 100},
  49. {"value": "信息技术", "text": "信息技术", "width": 100},
  50. {"value": "通用技术", "text": "通用技术", "width": 100},
  51. {"value": "艺术", "text": "艺术", "width": 100},
  52. {"value": "体育", "text": "体育", "width": 100},
  53. {"value": "日语", "text": "日语", "width": 100},
  54. {"value": "辅导1", "text": "辅导1", "width": 100},
  55. {"value": "辅导2", "text": "辅导2", "width": 100},
  56. {"value": "辅导3", "text": "辅导3", "width": 100},
  57. {"value": "配班老师", "text": "配班老师", "width": 100},
  58. {"value": "班会", "text": "班会", "width": 100}
  59. ]
  60. }', 'insert', NULL, NULL, NULL);
  61. INSERT INTO _constant (id, constantKey, constantType, desc, constantValue, operation, operationByUserId, operationByUser, operationAt) VALUES (2, 'enableLessonDay', 'object', '可上课时间', '[
  62. {"value": "周一", "text": "周一"},
  63. {"value": "周二", "text": "周二"},
  64. {"value": "周三", "text": "周三"},
  65. {"value": "周四", "text": "周四"},
  66. {"value": "周五", "text": "周五"},
  67. {"value": "周六", "text": "周六"},
  68. {"value": "周日", "text": "周日"}
  69. ]', 'insert', NULL, NULL, NULL);
  70. INSERT INTO _constant (id, constantKey, constantType, desc, constantValue, operation, operationByUserId, operationByUser, operationAt) VALUES (3, 'morningLesson', 'object', '早自习数量配置', '[
  71. {"value": 0, "text": "无"},
  72. {"value": 1, "text": "1节"},
  73. {"value": 2, "text": "2节"},
  74. {"value": 3, "text": "3节"},
  75. {"value": 4, "text": "4节"},
  76. {"value": 5, "text": "5节"}
  77. ]', 'insert', NULL, NULL, NULL);
  78. INSERT INTO _constant (id, constantKey, constantType, desc, constantValue, operation, operationByUserId, operationByUser, operationAt) VALUES (4, 'amLesson', 'object', '上午节数', '[
  79. {"value": 1, "text": "1节"},
  80. {"value": 2, "text": "2节"},
  81. {"value": 3, "text": "3节"},
  82. {"value": 4, "text": "4节"},
  83. {"value": 5, "text": "5节"},
  84. {"value": 6, "text": "6节"}
  85. ]', 'insert', NULL, NULL, NULL);
  86. INSERT INTO _constant (id, constantKey, constantType, desc, constantValue, operation, operationByUserId, operationByUser, operationAt) VALUES (5, 'pmLesson', 'object', '下午节数', '[
  87. {"value": 1, "text": "1节"},
  88. {"value": 2, "text": "2节"},
  89. {"value": 3, "text": "3节"},
  90. {"value": 4, "text": "4节"},
  91. {"value": 5, "text": "5节"},
  92. {"value": 6, "text": "6节"}
  93. ]', 'insert', NULL, NULL, NULL);
  94. INSERT INTO _constant (id, constantKey, constantType, desc, constantValue, operation, operationByUserId, operationByUser, operationAt) VALUES (6, 'eveningLesson', 'object', '晚上节数', '[
  95. {"value": 0, "text": "无"},
  96. {"value": 1, "text": "1节"},
  97. {"value": 2, "text": "2节"},
  98. {"value": 3, "text": "3节"},
  99. {"value": 4, "text": "4节"},
  100. {"value": 5, "text": "5节"}
  101. ]', 'insert', NULL, NULL, NULL);
  102. INSERT INTO _constant (id, constantKey, constantType, desc, constantValue, operation, operationByUserId, operationByUser, operationAt) VALUES (8, 'daytimeLesson', 'object', '一周上几次课', '[
  103. {"value": 0, "text": "无"},
  104. {"value": 1, "text": "1节"},
  105. {"value": 2, "text": "2节"},
  106. {"value": 3, "text": "3节"},
  107. {"value": 4, "text": "4节"},
  108. {"value": 5, "text": "5节"},
  109. {"value": 6, "text": "6节"},
  110. {"value": 7, "text": "7节"},
  111. {"value": 8, "text": "8节"},
  112. {"value": 9, "text": "9节"},
  113. {"value": 10, "text": "10节"},
  114. {"value": 11, "text": "11节"},
  115. {"value": 12, "text": "12节"},
  116. {"value": 13, "text": "13节"},
  117. {"value": 14, "text": "14节"},
  118. {"value": 15, "text": "15节"},
  119. {"value": 16, "text": "16节"},
  120. {"value": 17, "text": "17节"},
  121. {"value": 18, "text": "18节"}
  122. ]', 'insert', NULL, NULL, NULL);
  123. INSERT INTO _constant (id, constantKey, constantType, desc, constantValue, operation, operationByUserId, operationByUser, operationAt) VALUES (9, 'consecutive', 'object', '连续次数', '[
  124. {"value": 0, "text": "无"},
  125. {"value": 1, "text": "1次"},
  126. {"value": 2, "text": "2次"},
  127. {"value": 3, "text": "3次"},
  128. {"value": 4, "text": "4次"},
  129. {"value": 5, "text": "5次"},
  130. {"value": 6, "text": "6次"},
  131. {"value": 7, "text": "7次"}
  132. ]', 'insert', NULL, NULL, NULL);
  133. INSERT INTO _constant (id, constantKey, constantType, desc, constantValue, operation, operationByUserId, operationByUser, operationAt) VALUES (10, 'level', 'object', '年级', '[
  134. {"value":"01","text":"一年级","segment":"小学"},
  135. {"value":"02","text":"二年级","segment":"小学"},
  136. {"value":"03","text":"三年级","segment":"小学"},
  137. {"value": "04","text": "四年级","segment":"小学"},
  138. {"value": "05","text": "五年级","segment":"小学"},
  139. {"value": "06","text": "六年级","segment":"小学"},
  140. {"value": "07","text": "七年级","segment":"初中"},
  141. {"value": "08","text": "八年级","segment":"初中"},
  142. {"value": "09","text": "九年级","segment":"初中"},
  143. {"value": "10","text": "高一","segment":"高中"},
  144. {"value": "11","text": "高二","segment":"高中"},
  145. {"value": "12","text": "高三","segment":"高中"}
  146. ]', 'insert', NULL, NULL, NULL);
  147. INSERT INTO _constant (id, constantKey, constantType, desc, constantValue, operation, operationByUserId, operationByUser, operationAt) VALUES (11, 'currentSemester', 'object', '当前学期', '{"semester":"春季","year":2024}', 'update', NULL, NULL, '2024-01-27T15:49:02+08:00');
  148. INSERT INTO _constant (id, constantKey, constantType, desc, constantValue, operation, operationByUserId, operationByUser, operationAt) VALUES (12, 'weekday', 'array', NULL, '[{"text":"周一","value":"01"},{"text":"周二","value":"02"},{"text":"周三","value":"03"},{"text":"周四","value":"04"},{"text":"周五","value":"05"},{"text":"周六","value":"06"},{"text":"周日","value":"07"},{"text":"+周一","value":"11"},{"text":"+周二","value":"12"},{"text":"+周三","value":"13"},{"text":"+周四","value":"14"},{"text":"+周五","value":"15"},{"text":"+周六","value":"16"},{"text":"+周日","value":"17"}]', 'insert', NULL, NULL, NULL);
  149. INSERT INTO _constant (id, constantKey, constantType, desc, constantValue, operation, operationByUserId, operationByUser, operationAt) VALUES (13, 'subjectGroupExclude', 'object', '科目组排除规则', '[
  150. {
  151. "level": [
  152. "01",
  153. "02",
  154. "03",
  155. "04",
  156. "05",
  157. "06"
  158. ],
  159. "subject": [
  160. "语文"
  161. ],
  162. "weekday": "01",
  163. "section": [
  164. "第2节",
  165. "第3节",
  166. "第4节"
  167. ]
  168. },
  169. {
  170. "level": [
  171. "07",
  172. "08",
  173. "09"
  174. ],
  175. "subject": [
  176. "语文"
  177. ],
  178. "weekday": "01",
  179. "section": [
  180. "第2节",
  181. "第3节",
  182. "第4节"
  183. ]
  184. },
  185. {
  186. "level": [
  187. "07",
  188. "08",
  189. "09"
  190. ],
  191. "subject": [
  192. "语文"
  193. ],
  194. "weekday": "11",
  195. "section": [
  196. "第2节",
  197. "第3节",
  198. "第4节"
  199. ]
  200. },
  201. {
  202. "level": [
  203. "10",
  204. "11",
  205. "12"
  206. ],
  207. "subject": [
  208. "语文"
  209. ],
  210. "weekday": "01",
  211. "section": [
  212. "第2节",
  213. "第3节",
  214. "第4节"
  215. ]
  216. },
  217. {
  218. "level": [
  219. "12"
  220. ],
  221. "subject": [
  222. "体育"
  223. ],
  224. "weekday": "01",
  225. "section": [
  226. "第1节",
  227. "第7节",
  228. "第8节"
  229. ]
  230. },
  231. {
  232. "level": [
  233. "12"
  234. ],
  235. "subject": [
  236. "体育"
  237. ],
  238. "weekday": "02",
  239. "section": [
  240. "第1节",
  241. "第7节",
  242. "第8节"
  243. ]
  244. },
  245. {
  246. "level": [
  247. "12"
  248. ],
  249. "subject": [
  250. "体育"
  251. ],
  252. "weekday": "03",
  253. "section": [
  254. "第1节",
  255. "第7节",
  256. "第8节"
  257. ]
  258. },
  259. {
  260. "level": [
  261. "12"
  262. ],
  263. "subject": [
  264. "体育"
  265. ],
  266. "weekday": "04",
  267. "section": [
  268. "第1节",
  269. "第7节",
  270. "第8节"
  271. ]
  272. },
  273. {
  274. "level": [
  275. "12"
  276. ],
  277. "subject": [
  278. "体育"
  279. ],
  280. "weekday": "05",
  281. "section": [
  282. "第1节",
  283. "第8节"
  284. ]
  285. },
  286. {
  287. "level": [
  288. "12"
  289. ],
  290. "subject": [
  291. "体育"
  292. ],
  293. "weekday": "06",
  294. "section": [
  295. "第1节",
  296. "第7节",
  297. "第8节"
  298. ]
  299. },
  300. {
  301. "level": [
  302. "12"
  303. ],
  304. "subject": [
  305. "体育"
  306. ],
  307. "weekday": "07",
  308. "section": [
  309. "第1节",
  310. "第7节",
  311. "第8节"
  312. ]
  313. },
  314. {
  315. "level": [
  316. "01",
  317. "02",
  318. "03",
  319. "04",
  320. "05",
  321. "06"
  322. ],
  323. "subject": [
  324. "数学"
  325. ],
  326. "weekday": "02",
  327. "section": [
  328. "第2节",
  329. "第3节",
  330. "第4节"
  331. ]
  332. },
  333. {
  334. "level": [
  335. "07",
  336. "08",
  337. "09"
  338. ],
  339. "subject": [
  340. "数学"
  341. ],
  342. "weekday": "02",
  343. "section": [
  344. "第2节",
  345. "第3节",
  346. "第4节"
  347. ]
  348. },
  349. {
  350. "level": [
  351. "07",
  352. "08",
  353. "09"
  354. ],
  355. "subject": [
  356. "数学"
  357. ],
  358. "weekday": "12",
  359. "section": [
  360. "第2节",
  361. "第3节",
  362. "第4节"
  363. ]
  364. },
  365. {
  366. "level": [
  367. "10",
  368. "11",
  369. "12"
  370. ],
  371. "subject": [
  372. "数学"
  373. ],
  374. "weekday": "02",
  375. "section": [
  376. "第2节",
  377. "第3节",
  378. "第4节"
  379. ]
  380. },
  381. {
  382. "level": [
  383. "07",
  384. "08",
  385. "09"
  386. ],
  387. "subject": [
  388. "英语"
  389. ],
  390. "weekday": "03",
  391. "section": [
  392. "第2节",
  393. "第3节",
  394. "第4节"
  395. ]
  396. },
  397. {
  398. "level": [
  399. "07",
  400. "08",
  401. "09"
  402. ],
  403. "subject": [
  404. "英语"
  405. ],
  406. "weekday": "13",
  407. "section": [
  408. "第2节",
  409. "第3节",
  410. "第4节"
  411. ]
  412. },
  413. {
  414. "level": [
  415. "07",
  416. "08",
  417. "09"
  418. ],
  419. "subject": [
  420. "历史",
  421. "地理",
  422. "政治"
  423. ],
  424. "weekday": "04",
  425. "section": [
  426. "第2节",
  427. "第3节",
  428. "第4节"
  429. ]
  430. },
  431. {
  432. "level": [
  433. "07",
  434. "08",
  435. "09"
  436. ],
  437. "subject": [
  438. "历史",
  439. "地理",
  440. "政治"
  441. ],
  442. "weekday": "14",
  443. "section": [
  444. "第2节",
  445. "第3节",
  446. "第4节"
  447. ]
  448. },
  449. {
  450. "level": [
  451. "07",
  452. "08",
  453. "09"
  454. ],
  455. "subject": [
  456. "物理",
  457. "化学",
  458. "生物"
  459. ],
  460. "weekday": "04",
  461. "section": [
  462. "第2节",
  463. "第3节",
  464. "第4节"
  465. ]
  466. },
  467. {
  468. "level": [
  469. "07",
  470. "08",
  471. "09"
  472. ],
  473. "subject": [
  474. "物理",
  475. "化学",
  476. "生物"
  477. ],
  478. "weekday": "14",
  479. "section": [
  480. "第2节",
  481. "第3节",
  482. "第4节"
  483. ]
  484. },
  485. {
  486. "level": [
  487. "03",
  488. "04",
  489. "05",
  490. "06"
  491. ],
  492. "subject": [
  493. "英语"
  494. ],
  495. "weekday": "03",
  496. "section": [
  497. "第2节",
  498. "第3节",
  499. "第4节"
  500. ]
  501. },
  502. {
  503. "level": [
  504. "10",
  505. "11",
  506. "12"
  507. ],
  508. "subject": [
  509. "历史",
  510. "地理",
  511. "政治"
  512. ],
  513. "weekday": "03",
  514. "section": [
  515. "第2节",
  516. "第3节",
  517. "第4节"
  518. ]
  519. },
  520. {
  521. "level": [
  522. "10",
  523. "11",
  524. "12"
  525. ],
  526. "subject": [
  527. "英语"
  528. ],
  529. "weekday": "04",
  530. "section": [
  531. "第2节",
  532. "第3节",
  533. "第4节"
  534. ]
  535. },
  536. {
  537. "level": [
  538. "10",
  539. "11",
  540. "12"
  541. ],
  542. "subject": [
  543. "物理",
  544. "化学",
  545. "生物"
  546. ],
  547. "weekday": "05",
  548. "section": [
  549. "第2节",
  550. "第3节",
  551. "第4节"
  552. ]
  553. }
  554. ]', 'jhUpdate', 'E41428W', '刘珊珊', '2023-08-30T19:26:45+08:00');
  555. INSERT INTO _constant (id, constantKey, constantType, desc, constantValue, operation, operationByUserId, operationByUser, operationAt) VALUES (15, 'subjectAllow', 'object', '科目指定节次', '[]', 'jhUpdate', 'admin', '系统管理员', '2024-02-25T22:34:10+08:00');
  556. INSERT INTO _constant (id, constantKey, constantType, desc, constantValue, operation, operationByUserId, operationByUser, operationAt) VALUES (16, 'sectionExclude', 'object', '课时排除', '[
  557. {
  558. "type": "subject",
  559. "section": "第1节",
  560. "scope": [
  561. "音乐",
  562. "体育",
  563. "美术",
  564. "劳动实践",
  565. "信息技术",
  566. "书法",
  567. "舞蹈",
  568. "编程"
  569. ]
  570. },
  571. {
  572. "type": "teacher",
  573. "section": "第1节",
  574. "scope": [
  575. "EXXXXX",
  576. "E41000P",
  577. "E41001K",
  578. "E41002F",
  579. "H00002"
  580. ]
  581. },
  582. {
  583. "type": "subject",
  584. "section": "第2节",
  585. "scope": [
  586. {
  587. "value": "音乐",
  588. "text": "音乐",
  589. "width": 100
  590. },
  591. {
  592. "value": "书法",
  593. "text": "书法",
  594. "width": 100
  595. },
  596. {
  597. "value": "美术",
  598. "text": "美术",
  599. "width": 100
  600. },
  601. {
  602. "value": "体育",
  603. "text": "体育",
  604. "width": 100
  605. },
  606. {
  607. "value": "舞蹈",
  608. "text": "舞蹈",
  609. "width": 100
  610. },
  611. {
  612. "value": "科学",
  613. "text": "科学",
  614. "width": 100
  615. },
  616. {
  617. "value": "编程",
  618. "text": "编程",
  619. "width": 100
  620. },
  621. {
  622. "value": "信息技术",
  623. "text": "信息技术",
  624. "width": 100
  625. },
  626. {
  627. "value": "红色文化",
  628. "text": "红色文化",
  629. "width": 100
  630. },
  631. {
  632. "value": "劳动实践",
  633. "text": "劳动实践",
  634. "width": 100
  635. }
  636. ]
  637. },
  638. {
  639. "type": "subject",
  640. "section": "第3节",
  641. "scope": [
  642. {
  643. "value": "美术",
  644. "text": "美术",
  645. "width": 100
  646. },
  647. {
  648. "value": "书法",
  649. "text": "书法",
  650. "width": 100
  651. },
  652. {
  653. "value": "音乐",
  654. "text": "音乐",
  655. "width": 100
  656. },
  657. {
  658. "value": "舞蹈",
  659. "text": "舞蹈",
  660. "width": 100
  661. },
  662. {
  663. "value": "体育",
  664. "text": "体育",
  665. "width": 100
  666. },
  667. {
  668. "value": "科学",
  669. "text": "科学",
  670. "width": 100
  671. },
  672. {
  673. "value": "编程",
  674. "text": "编程",
  675. "width": 100
  676. },
  677. {
  678. "value": "劳动实践",
  679. "text": "劳动实践",
  680. "width": 100
  681. },
  682. {
  683. "value": "红色文化",
  684. "text": "红色文化",
  685. "width": 100
  686. }
  687. ]
  688. },
  689. {
  690. "type": "subject",
  691. "section": "第4节",
  692. "scope": [
  693. {
  694. "value": "体育",
  695. "text": "体育",
  696. "width": 100
  697. },
  698. {
  699. "value": "美术",
  700. "text": "美术",
  701. "width": 100
  702. },
  703. {
  704. "value": "书法",
  705. "text": "书法",
  706. "width": 100
  707. },
  708. {
  709. "value": "音乐",
  710. "text": "音乐",
  711. "width": 100
  712. },
  713. {
  714. "value": "舞蹈",
  715. "text": "舞蹈",
  716. "width": 100
  717. },
  718. {
  719. "value": "科学",
  720. "text": "科学",
  721. "width": 100
  722. },
  723. {
  724. "value": "编程",
  725. "text": "编程",
  726. "width": 100
  727. },
  728. {
  729. "value": "心理健康",
  730. "text": "心理健康",
  731. "width": 100
  732. },
  733. {
  734. "value": "红色文化",
  735. "text": "红色文化",
  736. "width": 100
  737. },
  738. {
  739. "value": "劳动实践",
  740. "text": "劳动实践",
  741. "width": 100
  742. },
  743. {
  744. "value": "信息技术",
  745. "text": "信息技术",
  746. "width": 100
  747. }
  748. ]
  749. }
  750. ]', 'jhUpdate', 'E41001K', '郭素琴', '2023-08-07T15:18:03+08:00');
  751. INSERT INTO _constant (id, constantKey, constantType, desc, constantValue, operation, operationByUserId, operationByUser, operationAt) VALUES (17, 'weekdayExclude', 'object', '工作日排除', '[
  752. {
  753. "type": "teacher",
  754. "weekday": "05",
  755. "scope": [
  756. "E41231F",
  757. "E41136T",
  758. "E41239A",
  759. "E41191P",
  760. "E41188B",
  761. "E41197P",
  762. "E41187F"
  763. ]
  764. },
  765. {
  766. "type": "teacher",
  767. "weekday": "04",
  768. "scope": [
  769. "E41251D",
  770. "E41117B",
  771. "E41172R",
  772. "E41166R",
  773. "E41164A",
  774. "E41376L",
  775. "E41165W"
  776. ]
  777. },
  778. {
  779. "type": "teacher",
  780. "weekday": "03",
  781. "scope": [
  782. "E41179N",
  783. "E41237G",
  784. "E41360P",
  785. "E41219C",
  786. "E41193F",
  787. "E41190T"
  788. ]
  789. },
  790. {
  791. "type": "teacher",
  792. "weekday": "02",
  793. "scope": [
  794. "E41177W",
  795. "E41221U",
  796. "E41087J",
  797. "E41240V",
  798. "E41186J",
  799. "E41227W",
  800. "E41236L"
  801. ]
  802. },
  803. {
  804. "type": "teacher",
  805. "weekday": "03",
  806. "scope": [
  807. "E41223L",
  808. "E41154R",
  809. "E41237G",
  810. "E41131P",
  811. "E41119R",
  812. "E41419Y",
  813. "E41149N",
  814. "E41432J",
  815. "E41159W"
  816. ]
  817. },
  818. {
  819. "type": "teacher",
  820. "weekday": "04",
  821. "scope": [
  822. "E41209R",
  823. "E41134C",
  824. "E41151E",
  825. "E41225D",
  826. "E41143N",
  827. "E41138K"
  828. ]
  829. },
  830. {
  831. "type": "teacher",
  832. "weekday": "05",
  833. "scope": [
  834. "E41144J",
  835. "E41215T",
  836. "E41139F",
  837. "E41152B",
  838. "E41118W",
  839. "E41147W",
  840. "E41420W"
  841. ]
  842. },
  843. {
  844. "type": "teacher",
  845. "weekday": "06",
  846. "scope": [
  847. "E41194C",
  848. "E41399M",
  849. "E41196U",
  850. "E41238D",
  851. "E41157E",
  852. "E41156J"
  853. ]
  854. }
  855. ]', 'jhUpdate', 'E41258C', '曾香媛', '2023-08-21T15:14:02+08:00');
  856. INSERT INTO _constant (id, constantKey, constantType, desc, constantValue, operation, operationByUserId, operationByUser, operationAt) VALUES (20, 'teacherExclude', 'array', '统一教师排除', '[
  857. {
  858. "type": "teacher",
  859. "weekdayList": [
  860. "05"
  861. ],
  862. "sectionList": [
  863. "第5节"
  864. ],
  865. "teacherList": [
  866. "E41144J",
  867. "E41146B",
  868. "E41152B"
  869. ]
  870. },
  871. {
  872. "weekdayList": [
  873. "02",
  874. "03",
  875. "01",
  876. "04",
  877. "05",
  878. "06",
  879. "11",
  880. "12",
  881. "13",
  882. "14",
  883. "15",
  884. "16"
  885. ],
  886. "sectionList": [
  887. "第2节",
  888. "第3节",
  889. "第1节",
  890. "第4节",
  891. "第5节",
  892. "第6节",
  893. "第7节",
  894. "第8节"
  895. ],
  896. "teacherList": [
  897. "H00002",
  898. "H00001",
  899. "E41433G"
  900. ],
  901. "remark": "不排课"
  902. }
  903. ]', 'jhUpdate', 'E41075M', '刘艳', '2023-08-25T16:20:50+08:00');
  904. INSERT INTO _constant (id, constantKey, constantType, desc, constantValue, operation, operationByUserId, operationByUser, operationAt) VALUES (21, 'subjectExclude', 'array', '统一学科排除', '[
  905. {
  906. "type": "subject",
  907. "weekdayList": [
  908. "05"
  909. ],
  910. "sectionList": [
  911. "第5节"
  912. ],
  913. "subjectList": [
  914. "体育",
  915. "美术"
  916. ]
  917. },
  918. {
  919. "weekdayList": [
  920. "01",
  921. "02",
  922. "03",
  923. "04",
  924. "05",
  925. "06",
  926. "07"
  927. ],
  928. "sectionList": [
  929. "第1节"
  930. ],
  931. "subjectList": [
  932. "体育",
  933. "美术",
  934. "书法",
  935. "音乐",
  936. "舞蹈",
  937. "编程",
  938. "信息技术",
  939. "劳动实践",
  940. "心理健康",
  941. "红色文化",
  942. "社团",
  943. "科学",
  944. "通用技术",
  945. "劳动",
  946. "艺术",
  947. "配班老师"
  948. ]
  949. }
  950. ]', 'jhUpdate', 'E41001K', '郭素琴', '2023-08-23T15:46:34+08:00');
  951. INSERT INTO _constant (id, constantKey, constantType, desc, constantValue, operation, operationByUserId, operationByUser, operationAt) VALUES (22, 'segment', 'array', '学部列表', '[{"value":"小学","text":"小学"},{"value": "初中","text": "初中"},{"value": "高中","text": "高中"}]', 'insert', NULL, NULL, NULL);