1、百分比限制取消
This commit is contained in:
		| @ -51,7 +51,7 @@ func (s *LineReduceStrategyItem) Valid() error { | |||||||
| 		return errors.New("百分比不能小于等于0") | 		return errors.New("百分比不能小于等于0") | ||||||
| 	} | 	} | ||||||
|  |  | ||||||
| 	if s.QuantityPercent.Cmp(decimal.NewFromInt(100)) >= 0 { | 	if s.QuantityPercent.Cmp(decimal.NewFromInt(100)) > 0 { | ||||||
| 		return errors.New("数量百分比不能大于等于100") | 		return errors.New("数量百分比不能大于等于100") | ||||||
| 	} | 	} | ||||||
|  |  | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user