Commit 705d9c3f authored by fengjunkai's avatar fengjunkai

门限调底

parent 561ac413
......@@ -81,7 +81,7 @@ func (Compare) ComparedWithSame(alter string, old []string, current []string) bo
func limitCompareSame(alter string, old string, current string) bool {
cf := parseToFloat(current)
of := parseToFloat(old)
if cf < 200 && of < 200 {
if cf < 200 || of < 200 {
return false
}
return (cf-of)/of > parseToFloat(alter)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment