update g deposit all

This commit is contained in:
shoopea 2019-08-30 15:21:13 +08:00
parent c22c44cca3
commit 0587660c76

2
job.go
View File

@ -868,7 +868,7 @@ func jobGDeposit(j Job) {
logOnError(err, "jobGDeposit : getObjMsg") logOnError(err, "jobGDeposit : getObjMsg")
rule, err := getMsgParsingRule(msg) rule, err := getMsgParsingRule(msg)
logOnError(err, "jobGDeposit : getMsgParsingRule") logOnError(err, "jobGDeposit : getMsgParsingRule")
cwm, err := parseSubTypeMessageStockAny(msg, rule.re) cwm, err := parseSubTypeMessageStockAnyAck(msg, rule.re)
for stockIdx := range cwm.Stock { for stockIdx := range cwm.Stock {
for resIdx := range p.ResObjID64 { for resIdx := range p.ResObjID64 {
if cwm.Stock[stockIdx].ItemID64 == p.ResObjID64[resIdx] { if cwm.Stock[stockIdx].ItemID64 == p.ResObjID64[resIdx] {