@@ -162,8 +162,8 @@ func (e *EquityActive) processEquityInfo(activeName string, activeId, mold int)
}
threshold, b := config.Config.EquityActive.MailAlarm.Threshold[fmt.Sprintf("%v", mold)]
if count < 1 || eId <= 0 {
- tx.Rollback()
- // 没有库存
+ tx.Rollback()
+ // 没有库存
if b {
go e.sendAlarmMail(activeName, activeId, threshold.Name, mold, 0)