|
@@ -32,7 +32,7 @@ func SapJobInit() {
|
|
|
//for {
|
|
|
// i++
|
|
|
//for _, pasture := range pastureList {
|
|
|
- //s.SapAssetSalvage(t, "1024", 346)
|
|
|
+
|
|
|
//}
|
|
|
// if t.AddDate(0, 0, i).Format("2006-01-02") == "2023-08-24" {
|
|
|
// break
|
|
@@ -51,6 +51,7 @@ func SapJobInit() {
|
|
|
for _, pasture := range pastureList {
|
|
|
s.SapSupplier(t, pasture.CompanyCode, pasture.ID)
|
|
|
s.SapAsset(t, code, pasture.CompanyCode)
|
|
|
+ s.SapAssetSalvage(t, pasture.CompanyCode, pasture.ID)
|
|
|
}
|
|
|
s.SapMaterial(t, code)
|
|
|
s.d.DB.Exec(`call createEqstatus()`)
|