|
|
|
@ -650,7 +650,7 @@ func checkTempTable(excelPath string, s1 ExcelUtil.TemplateStruct, batchId strin
|
|
|
|
|
on t1.sfzjh=t2.sfzjh
|
|
|
|
|
inner join t_base_teacher_org as t3
|
|
|
|
|
on t1.person_id=t3.person_id and t3.b_use=1 and t3.is_main=1
|
|
|
|
|
where t2.batch_id=? and t1.bureau_id<>?`
|
|
|
|
|
where t2.batch_id=? and t3.bureau_id<>?`
|
|
|
|
|
listIdCardTeacher, err := db.SQL(sql, batchId, bureauId).Query().List()
|
|
|
|
|
if err != nil {
|
|
|
|
|
LogUtil.Error(Const.DataBaseActionError, "在查询学生的身份证号重复时发生严重错误!")
|
|
|
|
|