fix compilation

This commit is contained in:
shoopea 2019-08-27 12:51:32 +08:00
parent 03c1007bab
commit 1cb624f8a7

2
job.go
View File

@ -813,7 +813,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 := parseSubTypeMessageStockAck(msg, rule) cwm, err := parseSubTypeMessageStockAck(msg, rule.re)
for i := range cwm.Stock { for i := range cwm.Stock {
for j := range p.ResObjID64 { for j := range p.ResObjID64 {
if cwm.Stock[i].ItemID64 == p.ResObjID64[j] { if cwm.Stock[i].ItemID64 == p.ResObjID64[j] {