|
@@ -192,7 +192,7 @@ type ActionTmpU struct {
|
|
|
|
|
|
func (this APIUpdateExrpessionInput) CheckFormat() (err error) {
|
|
|
validOp := regexp.MustCompile(`^(>|=|<|!)(=)?$`)
|
|
|
- validRightValue := regexp.MustCompile(`^\d+$`)
|
|
|
+ validRightValue := regexp.MustCompile(`^\-?\d+(\.\d+)?$`)
|
|
|
switch {
|
|
|
case !validOp.MatchString(this.Op):
|
|
|
err = errors.New("op's formating is not vaild")
|