|
|
|
@ -717,7 +717,7 @@ func checkTempTable(excelPath string, s1 ExcelUtil.TemplateStruct, batchId strin
|
|
|
|
|
/****************************************************************************/
|
|
|
|
|
//检查学生的身份证号重复
|
|
|
|
|
sql = `select t1.sfzjh,t2.row_number from t_base_student as t1 inner join t_base_student_import_excel as t2
|
|
|
|
|
on t1.sfzjh=t2.sfzjh where t2.batch_id=? and t1.bureau_id<>? and t2.sfzjh<>''`
|
|
|
|
|
on t1.sfzjh=t2.sfzjh where t2.batch_id=? and t1.bureau_id<>? and t1.sfzjh<>''`
|
|
|
|
|
listIdCardStudent, err := db.SQL(sql, batchId, bureauId).Query().List()
|
|
|
|
|
if err != nil {
|
|
|
|
|
LogUtil.Error(Const.DataBaseActionError, "在查询学生的身份证号重复时发生严重错误!")
|
|
|
|
|