@@ -155,6 +155,7 @@ func WorkDataHandle(company, phone, demand, name, product string, acceptanceData
return true
}
func AddOrderWork(acceptanceData map[string]interface{}, userData map[string]interface{}, product, phone, company string, isNewScore bool) bool {
+ time.Sleep(time.Second * 1)
nowTime := time.Now().Format(date.Date_Full_Layout)
work_order_no := fmt.Sprintf("GD%s%s", time.Now().Format(date.Date_yyyyMMdd), FindNumber("gd"))
productArr := []string{}