Browse Source

update

add_mode
DengBiao 1 year ago
parent
commit
c08274d935
1 changed files with 4 additions and 4 deletions
  1. +4
    -4
      app/admin/svc/svc_data_statisstics.go

+ 4
- 4
app/admin/svc/svc_data_statisstics.go View File

@@ -81,7 +81,6 @@ func NursingHomeDataStatisticsExport(req md.NursingHomeDataStatisticsExportReq)
v.NursingHomePackageOrd.OutTradeNo, state, v.NursingHomePackageOrd.CreateAt}) v.NursingHomePackageOrd.OutTradeNo, state, v.NursingHomePackageOrd.CreateAt})
j++ j++
} }
xlsx.SaveAs("./static" + fileName)
break break
case 2: case 2:
//退款申请表 //退款申请表
@@ -264,7 +263,6 @@ func SelfSupportForSchoolDataStatisticsExport(req md.SelfSupportForSchoolDataSta
v.SelfSupportForUserFaceInfo.SchoolFacePaymentStatus, v.SelfSupportForUserFaceInfo.SchoolFacePassStatus, v.Grade.Name, v.Class.Name, v.UserIdentity.CreateAt}) v.SelfSupportForUserFaceInfo.SchoolFacePaymentStatus, v.SelfSupportForUserFaceInfo.SchoolFacePassStatus, v.Grade.Name, v.Class.Name, v.UserIdentity.CreateAt})
j++ j++
} }
xlsx.SaveAs("./static" + fileName)
break break
case 2: case 2:
//教师列表 //教师列表
@@ -310,7 +308,6 @@ func SelfSupportForSchoolDataStatisticsExport(req md.SelfSupportForSchoolDataSta
v.SelfSupportForUserFaceInfo.SchoolFacePaymentStatus, v.SelfSupportForUserFaceInfo.SchoolFacePassStatus, v.UserIdentity.CreateAt}) v.SelfSupportForUserFaceInfo.SchoolFacePaymentStatus, v.SelfSupportForUserFaceInfo.SchoolFacePassStatus, v.UserIdentity.CreateAt})
j++ j++
} }
xlsx.SaveAs("./static" + fileName)
break break
case 3: case 3:
//消费明细表 //消费明细表
@@ -369,9 +366,12 @@ func SelfSupportForSchoolDataStatisticsExport(req md.SelfSupportForSchoolDataSta
v.Grade.Name, v.Class.Name, v.SelfSupportForSchoolOrd.TradeAmount, state, v.SelfSupportForSchoolOrd.FaceTime, v.SelfSupportForSchoolOrd.DeviceSn, identity}) v.Grade.Name, v.Class.Name, v.SelfSupportForSchoolOrd.TradeAmount, state, v.SelfSupportForSchoolOrd.FaceTime, v.SelfSupportForSchoolOrd.DeviceSn, identity})
j++ j++
} }
xlsx.SaveAs("./static" + fileName + ".xlsx")
break break
} }

//将文件保存至服务器
xlsx.SaveAs("./static" + fileName)

//新增数据 //新增数据
selfSupportForSchoolExportRecordsDb := db.SelfSupportForSchoolExportRecordsDb{} selfSupportForSchoolExportRecordsDb := db.SelfSupportForSchoolExportRecordsDb{}
selfSupportForSchoolExportRecordsDb.Set() selfSupportForSchoolExportRecordsDb.Set()


Loading…
Cancel
Save