|
|
@@ -369,9 +369,9 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration |
|
|
|
db.ExecuteBySql(updSql); |
|
|
|
|
|
|
|
string addSql = @"insert into StuInfoBasic ( |
|
|
|
Stuid,StuNo,StuCode,ClassNo,StuName,GenderNo,DeptNo,MajorNo,IdentityCardNo,ExamScore,ProvinceCode |
|
|
|
Stuid,StuNo,StuCode,ClassNo,StuName,GenderNo,DeptNo,MajorNo,IdentityCardNo,ExamScore,ProvinceCode,AdmissionNo |
|
|
|
) |
|
|
|
select newid(),StuNo,'G'+CardNo,ClassNo,StuName,Sex,DeptNo,MajorNo,CardNo,StuScore,ProvinceCode |
|
|
|
select newid(),StuNo,'G'+CardNo,ClassNo,StuName,Sex,DeptNo,MajorNo,CardNo,StuScore,ProvinceCode,ExamNo |
|
|
|
from StuVolunteer t where t.ClassStatus=1 |
|
|
|
and t.StuNo not in (select b.StuNo from StuInfoBasic b where b.StuNo=t.StuNo) "; |
|
|
|
db.ExecuteBySql(addSql); |
|
|
|