TriggerStuActivity.cs 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497
  1. using Azure;
  2. using Azure.Cosmos;
  3. using System;
  4. using System.Collections.Generic;
  5. using System.IO;
  6. using System.Linq;
  7. using System.Text;
  8. using System.Text.Json;
  9. using System.Threading.Tasks;
  10. using TEAMModelOS.SDK.DI;
  11. using TEAMModelOS.SDK.Extension;
  12. using TEAMModelOS.SDK;
  13. using TEAMModelOS.SDK.Models;
  14. using TEAMModelOS.SDK.Models.Cosmos.Common;
  15. namespace TEAMModelFunction
  16. {
  17. public class TriggerStuActivity
  18. {
  19. public static async Task RefreshStuActivity(CosmosClient client, DingDing _dingDing, string id, string code)
  20. {
  21. MQActivity activity = null;
  22. try
  23. {
  24. var aactivity = await client.GetContainer("TEAMModelOS", "Common").ReadItemStreamAsync(id, new Azure.Cosmos.PartitionKey(code));
  25. using var da = await JsonDocument.ParseAsync(aactivity.ContentStream);
  26. activity = da.ToObject<MQActivity>();
  27. }
  28. catch (CosmosException ex)
  29. {
  30. }
  31. if (activity != null)
  32. {
  33. (List<TmdInfo> tmdids, List<StuInfo> students,List<ClassListInfo> classLists) = await GetStuList(client, _dingDing, activity.classes, activity.school);
  34. if (tmdids.IsNotEmpty())
  35. {
  36. foreach (TmdInfo tmdid in tmdids)
  37. {
  38. var stucourse = new StuActivity
  39. {
  40. id = activity.id,
  41. scode = activity.code,
  42. name = activity.name,
  43. code = $"Activity-{tmdid.id}",
  44. scope = activity.scope,
  45. school = activity.school,
  46. creatorId = activity.creatorId,
  47. pk = "Activity",
  48. type = activity.pk,
  49. subjects = activity.pk.ToLower().Equals("exam") && activity.subjects.IsNotEmpty() ? new List<string>() { activity.subjects[0].id } : new List<string>() { "" },
  50. startTime = activity.startTime,
  51. endTime = activity.endTime,
  52. blob = activity.blob,
  53. owner = activity.owner,
  54. createTime = DateTimeOffset.UtcNow.ToUnixTimeMilliseconds(),
  55. taskStatus = -1
  56. };
  57. await client.GetContainer("TEAMModelOS", "Teacher").UpsertItemAsync(stucourse, new PartitionKey(stucourse.code));
  58. }
  59. }
  60. if (students.IsNotEmpty())
  61. {
  62. foreach (StuInfo student in students)
  63. {
  64. var stucourse = new StuActivity
  65. {
  66. id = activity.id,
  67. scode = activity.code,
  68. name = activity.name,
  69. code = $"Activity-{activity.school}-{student.id}",
  70. scope = activity.scope,
  71. school = activity.school,
  72. creatorId = activity.creatorId,
  73. pk = "Activity",
  74. type = activity.pk,
  75. subjects = activity.pk.ToLower().Equals("exam") && activity.subjects.IsNotEmpty() ? new List<string>() { activity.subjects[0].id } : new List<string>() { "" },
  76. startTime = activity.startTime,
  77. endTime = activity.endTime,
  78. blob = activity.blob,
  79. owner = activity.owner,
  80. createTime = DateTimeOffset.UtcNow.ToUnixTimeMilliseconds(),
  81. taskStatus = -1
  82. };
  83. await client.GetContainer("TEAMModelOS", "Student").UpsertItemAsync(stucourse, new PartitionKey(stucourse.code));
  84. }
  85. }
  86. }
  87. }
  88. public static async Task<string> SaveStuActivity(CosmosClient client, DingDing _dingDing, List<StuActivity> stuActivities,List<StuActivity> tmdActivities) {
  89. try {
  90. if (stuActivities.IsNotEmpty())
  91. {
  92. foreach (var x in stuActivities)
  93. {
  94. await client.GetContainer("TEAMModelOS", "Student").UpsertItemAsync(x, new PartitionKey(x.code));
  95. }
  96. }
  97. if (tmdActivities.IsNotEmpty())
  98. {
  99. foreach (var x in tmdActivities)
  100. {
  101. await client.GetContainer("TEAMModelOS", "Teacher").UpsertItemAsync(x, new PartitionKey(x.code));
  102. }
  103. }
  104. } catch (Exception ex) {
  105. await _dingDing.SendBotMsg($"{Environment.GetEnvironmentVariable("Option:Location")}-OS,TriggerStuActivity-SaveStuActivity\n{ex.Message}\n{ex.StackTrace}", GroupNames.醍摩豆服務運維群組);
  106. }
  107. return "";
  108. }
  109. /// <summary>
  110. /// 获取行政班接口
  111. /// </summary>
  112. /// <param name="client"></param>
  113. /// <param name="_dingDing"></param>
  114. /// <param name="classes"></param>
  115. /// <param name="school"></param>
  116. /// <returns></returns>
  117. public static async Task<List<ClassInfo>> GetClassInfo(CosmosClient client, DingDing _dingDing, List<string> classes, string school)
  118. {
  119. try {
  120. List<ClassInfo> classInfos = new List<ClassInfo>();
  121. if (classes.IsNotEmpty()) {
  122. List<string> sqlList = new List<string>();
  123. classes.ForEach(x => { sqlList.Add($" '{x}' "); });
  124. string sql = string.Join(" , ", sqlList);
  125. if (!string.IsNullOrEmpty(school))
  126. {
  127. await foreach (var item in client.GetContainer("TEAMModelOS", "School").GetItemQueryIterator<ClassInfo>(queryText: $"select c.id,c.name ,c.periodId,c.year from c where c.id in ({sql})",
  128. requestOptions: new QueryRequestOptions() { PartitionKey = new Azure.Cosmos.PartitionKey($"Class-{school}") }))
  129. {
  130. classInfos.Add(item);
  131. }
  132. await foreach (var item in client.GetContainer("TEAMModelOS", "School").GetItemQueryIterator<ClassInfo>(queryText: $"select c.id,c.name from c where c.id in ({sql})",
  133. requestOptions: new QueryRequestOptions() { PartitionKey = new Azure.Cosmos.PartitionKey($"StuList-{school}") }))
  134. {
  135. //item.from = "SchStuList";
  136. classInfos.Add(item);
  137. }
  138. }
  139. List<StuList> tchLists = new List<StuList>();
  140. await foreach (var item in client.GetContainer("TEAMModelOS", "Teacher").GetItemQueryIterator<ClassInfo>(queryText: $"select c.id,c.name from c where c.id in ({sql})",
  141. requestOptions: new QueryRequestOptions() { PartitionKey = new Azure.Cosmos.PartitionKey($"StuList") }))
  142. {
  143. // item.from = "TchStuList";
  144. classInfos.Add(item);
  145. }
  146. }
  147. return classInfos;
  148. } catch (Exception ex) {
  149. await _dingDing.SendBotMsg($"{Environment.GetEnvironmentVariable("Option:Location")}-OS,TriggerStuActivity-GetClassInfo\n{ex.Message}\n{ex.StackTrace}\n class{classes.ToJsonString()},{school}", GroupNames.醍摩豆服務運維群組);
  150. throw new Exception(ex.Message, ex);
  151. }
  152. }
  153. public static async Task<(List<TmdInfo> tmdinfos, List<StuInfo> students, List<ClassListInfo> classInfo)> GetStuListInStu(CosmosClient client, DingDing _dingDing, List<string> claes, string school)
  154. {
  155. try
  156. {
  157. List<string> classes = new List<string>();
  158. foreach (string ss in claes)
  159. {
  160. classes.Add(ss);
  161. }
  162. List<TmdInfo> tmdinfos = new List<TmdInfo>();
  163. List<Students> studentss = new List<Students>();
  164. List<string> tmdids = new List<string>();
  165. List<StuInfo> stuInfos = new List<StuInfo>();
  166. if (!classes.IsNotEmpty()) { return (tmdinfos, new List<StuInfo>(), null); }
  167. List<string> sqlList = new List<string>();
  168. classes.ForEach(x => { sqlList.Add($" '{x}' "); });
  169. string sql = string.Join(" , ", sqlList);
  170. List<StuList> schList = new List<StuList>();
  171. List<Student> students = new List<Student>();
  172. if (!string.IsNullOrEmpty(school))
  173. {
  174. await foreach (var item in client.GetContainer("TEAMModelOS", "School").GetItemQueryIterator<StuList>(queryText: $"select value(c) from c where c.id in ({sql})",
  175. requestOptions: new QueryRequestOptions() { PartitionKey = new Azure.Cosmos.PartitionKey($"StuList-{school}") }))
  176. {
  177. schList.Add(item);
  178. }
  179. await foreach (var item in client.GetContainer("TEAMModelOS", "Student").GetItemQueryIterator<Student>(queryText: $"select value(c) from c where c.classId in ({sql})",
  180. requestOptions: new QueryRequestOptions() { PartitionKey = new Azure.Cosmos.PartitionKey($"Base-{school}") }))
  181. {
  182. students.Add(item);
  183. }
  184. }
  185. List<StuList> tchLists = new List<StuList>();
  186. await foreach (var item in client.GetContainer("TEAMModelOS", "Teacher").GetItemQueryIterator<StuList>(queryText: $"select value(c) from c where c.id in ({sql})",
  187. requestOptions: new QueryRequestOptions() { PartitionKey = new Azure.Cosmos.PartitionKey($"StuList") }))
  188. {
  189. tchLists.Add(item);
  190. }
  191. foreach (var x in schList)
  192. {
  193. if (x.students.IsNotEmpty())
  194. {
  195. studentss.AddRange(x.students);
  196. }
  197. if (x.tmids.IsNotEmpty())
  198. {
  199. tmdids.AddRange(x.tmids);
  200. }
  201. classes.Remove(x.id);
  202. }
  203. foreach (var x in tchLists)
  204. {
  205. if (x.students.IsNotEmpty())
  206. {
  207. studentss.AddRange(x.students);
  208. }
  209. if (x.tmids.IsNotEmpty())
  210. {
  211. tmdids.AddRange(x.tmids);
  212. }
  213. classes.Remove(x.id);
  214. }
  215. if (tmdids.IsNotEmpty())
  216. {
  217. List<TmdInfo> infos = new List<TmdInfo>();
  218. List<string> inids = new List<string>();
  219. tmdids.ForEach(x => { inids.Add($"'{x}'"); });
  220. var insql = string.Join(",", inids);
  221. var queryslt = $"SELECT value(c) FROM c where c.id in ({insql})";
  222. await foreach (var item in client.GetContainer("TEAMModelOS", "Teacher").GetItemQueryIterator<TmdInfo>(queryText: queryslt, requestOptions: new QueryRequestOptions() { PartitionKey = new PartitionKey($"Base") }))
  223. {
  224. infos.Add(item);
  225. }
  226. tmdinfos.AddRange(infos);
  227. }
  228. if (studentss.IsNotEmpty())
  229. {
  230. var stuGroups = studentss.GroupBy(x => x.code).ToList().Select(x => new { key = x.Key, list = x.ToList() }) ;
  231. foreach (var gp in stuGroups) {
  232. List<string> inidstus = new List<string>();
  233. gp.list.Select(x => x.id).ToList().ForEach(x => { inidstus.Add($"'{x}'"); });
  234. PartitionKey partitionKey = new PartitionKey($"Base-{gp.key.Replace("Base-", "")}");
  235. var insqlstu = string.Join(",", inidstus);
  236. var querystu = $"SELECT c.id,c.code,c.name,c.picture,c.classId,c.year,c.schoolId FROM c where c.id in ({insqlstu})";
  237. await foreach (var item in client.GetContainer("TEAMModelOS", "Student").GetItemQueryIterator<StuInfo>(queryText: querystu, requestOptions: new QueryRequestOptions() { PartitionKey= partitionKey }))
  238. {
  239. stuInfos.Add(item);
  240. }
  241. }
  242. }
  243. students.ForEach(x =>
  244. {
  245. if (!stuInfos.Select(y => y.classId).ToList().Contains(x.id))
  246. {
  247. stuInfos.Add(new StuInfo { id = x.id, code = x.code, schoolId = x.schoolId, classId = x.classId, name = x.name, picture = x.picture, year = x.year });
  248. }
  249. });
  250. List<ClassListInfo> classInfo = new List<ClassListInfo>();
  251. schList.ForEach(x => {
  252. ClassListInfo classListInfo = new ClassListInfo { id = x.id, name = x.name };
  253. if (x.students.IsNotEmpty())
  254. {
  255. x.students.ForEach(y => {
  256. var stuinfo = stuInfos.Where(z => z.id.Equals(y.id)).FirstOrDefault();
  257. if (stuinfo != null)
  258. {
  259. classListInfo.stuInfos.Add(stuinfo);
  260. }
  261. });
  262. }
  263. if (x.tmids.IsNotEmpty())
  264. {
  265. x.tmids.ForEach(y => {
  266. var tmdinfo = tmdinfos.Where(z => z.id.Equals(y)).FirstOrDefault();
  267. if (tmdinfo != null)
  268. {
  269. classListInfo.tmdInfos.Add(tmdinfo);
  270. }
  271. });
  272. }
  273. classInfo.Add(classListInfo);
  274. });
  275. tchLists.ForEach(x => {
  276. ClassListInfo classListInfo = new ClassListInfo { id = x.id, name = x.name };
  277. if (x.students.IsNotEmpty())
  278. {
  279. x.students.ForEach(y => {
  280. var stuinfo = stuInfos.Where(z => z.id.Equals(y.id)).FirstOrDefault();
  281. if (stuinfo != null)
  282. {
  283. classListInfo.stuInfos.Add(stuinfo);
  284. }
  285. });
  286. }
  287. if (x.tmids.IsNotEmpty())
  288. {
  289. x.tmids.ForEach(y => {
  290. var tmdinfo = tmdinfos.Where(z => z.id.Equals(y)).FirstOrDefault();
  291. if (tmdinfo != null)
  292. {
  293. classListInfo.tmdInfos.Add(tmdinfo);
  294. }
  295. });
  296. }
  297. classInfo.Add(classListInfo);
  298. });
  299. //var classeids= students.GroupBy(x => x.classId).Select(x => x.Key).ToList();
  300. List<ClassInfo> classInfos = await GetClassInfo(client, _dingDing, classes, school);
  301. classInfos.ForEach(x =>
  302. {
  303. ClassListInfo classListInfo = new ClassListInfo { id = x.id, name = x.name };
  304. var list = students.Where(y => y.classId .Equals(x.id)).ToList();
  305. list.ForEach(z => { classListInfo.stuInfos.Add(new StuInfo { id = z.id, code = z.code, schoolId = z.schoolId, classId = z.classId, name = z.name, picture = z.picture, year = z.year }); });
  306. classInfo.Add(classListInfo);
  307. });
  308. return (tmdinfos, stuInfos, classInfo);
  309. }
  310. catch (Exception ex)
  311. {
  312. await _dingDing.SendBotMsg($"{Environment.GetEnvironmentVariable("Option:Location")}-OS,TriggerStuActivity-GetStuList\n{ex.Message}\n{ex.StackTrace}", GroupNames.醍摩豆服務運維群組);
  313. }
  314. return (null, null, null);
  315. }
  316. public static async Task<(List<TmdInfo> tmdinfos, List<StuInfo> students,List<ClassListInfo>classInfo)> GetStuList(CosmosClient client, DingDing _dingDing, List<string> claes, string school)
  317. {
  318. try {
  319. List<string> classes = new List<string>();
  320. foreach (string ss in claes)
  321. {
  322. classes.Add(ss);
  323. }
  324. List<TmdInfo> tmdinfos = new List<TmdInfo>();
  325. List<Students> studentss = new List<Students>();
  326. List<string> tmdids = new List<string>();
  327. List<StuInfo> stuInfos = new List<StuInfo>();
  328. if (!classes.IsNotEmpty()) { return (tmdinfos, new List<StuInfo>(),null); }
  329. List<string> sqlList = new List<string>();
  330. classes.ForEach(x => { sqlList.Add($" '{x}' "); });
  331. string sql = string.Join(" , ", sqlList);
  332. List<StuList> schList = new List<StuList>();
  333. List<Student> students = new List<Student>();
  334. if (!string.IsNullOrEmpty(school)) {
  335. await foreach (var item in client.GetContainer("TEAMModelOS", "School").GetItemQueryIterator<StuList>(queryText: $"select value(c) from c where c.id in ({sql})",
  336. requestOptions: new QueryRequestOptions() { PartitionKey = new Azure.Cosmos.PartitionKey($"StuList-{school}") }))
  337. {
  338. schList.Add(item);
  339. }
  340. await foreach (var item in client.GetContainer("TEAMModelOS", "Student").GetItemQueryIterator<Student>(queryText: $"select value(c) from c where c.classId in ({sql})",
  341. requestOptions: new QueryRequestOptions() { PartitionKey = new Azure.Cosmos.PartitionKey($"Base-{school}") }))
  342. {
  343. students.Add(item);
  344. }
  345. }
  346. List<StuList> tchLists = new List<StuList>();
  347. await foreach (var item in client.GetContainer("TEAMModelOS", "Teacher").GetItemQueryIterator<StuList>(queryText: $"select value(c) from c where c.id in ({sql})",
  348. requestOptions: new QueryRequestOptions() { PartitionKey = new Azure.Cosmos.PartitionKey($"StuList") }))
  349. {
  350. tchLists.Add(item);
  351. }
  352. foreach (var x in schList) {
  353. if (x.students.IsNotEmpty())
  354. {
  355. studentss.AddRange(x.students);
  356. }
  357. if (x.tmids.IsNotEmpty())
  358. {
  359. tmdids.AddRange(x.tmids);
  360. }
  361. classes.Remove(x.id);
  362. }
  363. foreach (var x in tchLists)
  364. {
  365. if (x.students.IsNotEmpty()) {
  366. studentss.AddRange(x.students);
  367. }
  368. if (x.tmids.IsNotEmpty())
  369. {
  370. tmdids.AddRange(x.tmids);
  371. }
  372. classes.Remove(x.id);
  373. }
  374. if (tmdids.IsNotEmpty()) {
  375. List<TmdInfo> infos = new List<TmdInfo>();
  376. List<string> inids = new List<string>();
  377. tmdids.ForEach(x => { inids.Add($"'{x}'"); });
  378. var insql = string.Join(",", inids);
  379. var queryslt = $"SELECT value(c) FROM c where c.id in ({insql})";
  380. await foreach (var item in client.GetContainer("TEAMModelOS", "Teacher").GetItemQueryIterator<TmdInfo>(queryText: queryslt, requestOptions: new QueryRequestOptions() { PartitionKey = new PartitionKey($"Base") }))
  381. {
  382. infos.Add(item);
  383. }
  384. tmdinfos.AddRange(infos);
  385. }
  386. if (studentss.IsNotEmpty()) {
  387. List<string> inidstus = new List<string>();
  388. foreach (Students stu in studentss) {
  389. var querystu = $"SELECT c.id,c.code,c.name,c.picture,c.classId,c.year,c.schoolId FROM c where c.id = '{stu.id}'";
  390. await foreach (var item in client.GetContainer("TEAMModelOS", "Student").GetItemQueryIterator<StuInfo>(queryText: querystu, requestOptions: new QueryRequestOptions() { PartitionKey = new PartitionKey($"{stu.code}") }))
  391. {
  392. stuInfos.Add(item);
  393. }
  394. }
  395. /*studentss.Select(x => x.id).ToList().ForEach(x => { inidstus.Add($"'{x}'"); });
  396. var insqlstu = string.Join(",", inidstus);
  397. var querystu = $"SELECT c.id,c.code,c.name,c.picture,c.classId,c.year,c.schoolId FROM c where c.id in ({insqlstu})";
  398. await foreach (var item in client.GetContainer("TEAMModelOS", "Student").GetItemQueryIterator<StuInfo>(queryText: querystu, requestOptions: new QueryRequestOptions() { PartitionKey = new PartitionKey($"Base-{school}") }))
  399. {
  400. stuInfos.Add(item);
  401. }*/
  402. }
  403. students.ForEach(x =>
  404. {
  405. if (!stuInfos.Select(y => y.classId).ToList().Contains(x.id)) {
  406. stuInfos.Add(new StuInfo { id = x.id, code = x.code, schoolId = x.schoolId, classId = x.classId, name = x.name, picture = x.picture, year = x.year });
  407. }
  408. });
  409. List<ClassListInfo> classInfo = new List<ClassListInfo>();
  410. schList.ForEach(x => {
  411. ClassListInfo classListInfo = new ClassListInfo {id=x.id,name=x.name };
  412. if (x.students.IsNotEmpty()) {
  413. x.students.ForEach(y => {
  414. var stuinfo= stuInfos.Where(z => z.id.Equals(y.id)).FirstOrDefault();
  415. if (stuinfo != null) {
  416. classListInfo.stuInfos.Add(stuinfo);
  417. }
  418. });
  419. }
  420. if (x.tmids.IsNotEmpty())
  421. {
  422. x.tmids.ForEach(y => {
  423. var tmdinfo = tmdinfos.Where(z => z.id.Equals(y)).FirstOrDefault();
  424. if (tmdinfo != null)
  425. {
  426. classListInfo.tmdInfos.Add(tmdinfo);
  427. }
  428. });
  429. }
  430. classInfo.Add(classListInfo);
  431. });
  432. tchLists.ForEach(x => {
  433. ClassListInfo classListInfo = new ClassListInfo { id = x.id, name = x.name };
  434. if (x.students.IsNotEmpty())
  435. {
  436. x.students.ForEach(y => {
  437. var stuinfo = stuInfos.Where(z => z.id.Equals(y.id)).FirstOrDefault();
  438. if (stuinfo != null)
  439. {
  440. classListInfo.stuInfos.Add(stuinfo);
  441. }
  442. });
  443. }
  444. if (x.tmids.IsNotEmpty())
  445. {
  446. x.tmids.ForEach(y => {
  447. var tmdinfo = tmdinfos.Where(z => z.id.Equals(y)).FirstOrDefault();
  448. if (tmdinfo != null)
  449. {
  450. classListInfo.tmdInfos.Add(tmdinfo);
  451. }
  452. });
  453. }
  454. classInfo.Add(classListInfo);
  455. });
  456. //var classeids= students.GroupBy(x => x.classId).Select(x => x.Key).ToList();
  457. List<ClassInfo> classInfos= await GetClassInfo(client, _dingDing, classes, school);
  458. classInfos.ForEach(x =>
  459. {
  460. ClassListInfo classListInfo = new ClassListInfo { id = x.id, name = x.name };
  461. var list= students.Where(y => y.classId .Equals(x.id)).ToList();
  462. list.ForEach(z => { classListInfo.stuInfos.Add(new StuInfo { id = z.id, code = z.code, schoolId = z.schoolId, classId = z.classId, name = z.name, picture = z.picture, year = z.year }); });
  463. classInfo.Add(classListInfo);
  464. });
  465. return (tmdinfos, stuInfos, classInfo) ;
  466. }
  467. catch (Exception ex)
  468. {
  469. await _dingDing.SendBotMsg($"{Environment.GetEnvironmentVariable("Option:Location")}-OS,TriggerStuActivity-GetStuList\n{ex.Message}\n{ex.StackTrace}", GroupNames.醍摩豆服務運維群組);
  470. }
  471. return (null, null,null);
  472. }
  473. }
  474. public class ClassListInfo
  475. {
  476. public string id { get; set; }
  477. public string name { get; set; }
  478. // public string from { get; set; }
  479. public List<StuInfo> stuInfos { get; set; } = new List<StuInfo>();
  480. public List<TmdInfo> tmdInfos { get; set; } = new List<TmdInfo>();
  481. }
  482. }