diff --git a/dsBaseRpc/RpcService/BaseStudent/BaseStudentDao/BaseStudentDao.go b/dsBaseRpc/RpcService/BaseStudent/BaseStudentDao/BaseStudentDao.go index 245d8a34..b809806e 100644 --- a/dsBaseRpc/RpcService/BaseStudent/BaseStudentDao/BaseStudentDao.go +++ b/dsBaseRpc/RpcService/BaseStudent/BaseStudentDao/BaseStudentDao.go @@ -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, "在查询学生的身份证号重复时发生严重错误!")