fixes for alch stuff

This commit is contained in:
shoopea 2020-02-29 16:47:40 +08:00
parent d06e8fbd53
commit b8a922dce5

2
job.go
View File

@ -2076,7 +2076,7 @@ func jobAlchAll(j Job) {
m, err := getObjMsg(j.Trigger) m, err := getObjMsg(j.Trigger)
logOnError(err, "jobAlchAll : getObjMsg("+strconv.FormatInt(j.Trigger, 10)+")") logOnError(err, "jobAlchAll : getObjMsg("+strconv.FormatInt(j.Trigger, 10)+")")
if err == nil { if err == nil {
rule, err := getMsgParsingRule(&m) rule, err := getMsgParsingRule(m)
logOnError(err, "jobAlchAll : getMsgParsingRule") logOnError(err, "jobAlchAll : getMsgParsingRule")
if rule.MsgTypeID64 == cacheObjSubType[`msg_alch_stock_ack`] { if rule.MsgTypeID64 == cacheObjSubType[`msg_alch_stock_ack`] {
c := TGCommand{ c := TGCommand{