master
huanghai 5 years ago
parent 8eaa728f05
commit 5a6c0ae7fc

@ -296,7 +296,7 @@ func ExportTeacherInfoExcel(targetPath string, bureauId string, ExportExcelStatu
t1.mzm,t1.zzmmm,t1.sfzjlxm, (case t1.sfzjh when '-1' then '' else t1.sfzjh end ) as sfzjh,
t1.xlm,t1.xwm,t1.zcm,t1.bzlbm,t1.stage_id,t1.subject_id,t1.gwzym,t1.lxdh,t1.dzxx
from t_base_teacher as t1 inner join t_base_organization as t2 on t1.org_id=t2.org_id
where t1.bureau_id=? and t1.identity_id=2`
where t1.bureau_id=? and t1.identity_id=2 and t1.b_use=1`
list, _ := db.SQL(sql, bureauId).Query().List()
for i := range list {
record := list[i]

Loading…
Cancel
Save