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.
|
package task
|
|
|
|
import (
|
|
"LAPP_ACURA_MOM_BACKEND/global"
|
|
services "LAPP_ACURA_MOM_BACKEND/services/pln"
|
|
)
|
|
|
|
var ReportStatus int
|
|
|
|
func ReportSerialOrderFromMes() {
|
|
if ReportStatus == 1 {
|
|
return
|
|
} else {
|
|
ReportStatus = 1
|
|
}
|
|
custOrderSvr := services.NewCustOrderService()
|
|
user := &global.User{
|
|
PlantNr: 100,
|
|
UserId: "Scheduler",
|
|
}
|
|
custOrderSvr.ReportWort(user)
|
|
ReportStatus = 0
|
|
}
|