main.go 528B

1234567891011121314151617181920212223242526272829
  1. package main
  2. import (
  3. _ "IC/routers"
  4. "IC/service"
  5. "github.com/astaxie/beego"
  6. )
  7. func init() {
  8. service.ConnectDB()
  9. //service.ConnectMSDB2()
  10. //service.ConnectMSDB()
  11. // service.ConnectMSDB2()
  12. // service.ConnectMSDB()
  13. }
  14. func main() {
  15. //service.BeginAutoSyncLis()
  16. //service.GetDataInsertDB(10138)
  17. //service.GetResultDataInsertDB(10138)
  18. // service.GetSHResultDataInsertDB(10215)
  19. // service.Synctfyz()
  20. // service.GetSHResultDataInsertDB(10215)
  21. service.SyncSYData2(10191)
  22. //service.UploadSYData(10191)
  23. beego.Run()
  24. }