|
@@ -226,6 +226,8 @@ namespace TEAMModelOS.Controllers
|
|
|
stuList = student.ToObject<StuList>();
|
|
|
var client = _azureCosmos.GetCosmosClient();
|
|
|
string originCode = stuList.code;
|
|
|
+ string channelnum = $"{_option.LocationNum}{Utils.CreatSaltString(5, "0123456789")}";
|
|
|
+ stuList.no = channelnum;
|
|
|
stuList.code = stuList.pk + "-" + stuList.code;
|
|
|
|
|
|
if (scope.ToString().Equals("school", StringComparison.OrdinalIgnoreCase))
|