广汽安道拓Acura项目MES后台
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
393 B

  1. package task
  2. import (
  3. "LAPP_ACURA_MOM_BACKEND/global"
  4. services "LAPP_ACURA_MOM_BACKEND/services/pln"
  5. )
  6. var ReportStatus int
  7. func ReportSerialOrderFromMes() {
  8. if ReportStatus == 1 {
  9. return
  10. } else {
  11. ReportStatus = 1
  12. }
  13. custOrderSvr := services.NewCustOrderService()
  14. user := &global.User{
  15. PlantNr: 100,
  16. UserId: "Scheduler",
  17. }
  18. custOrderSvr.ReportWort(user)
  19. ReportStatus = 0
  20. }