修改数据占比可能超过100%问题
This commit is contained in:
@@ -85,4 +85,8 @@ public class PubUtils {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public static Double dataLimits(Double data){
|
||||
return data>100?100:data;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -6,9 +6,7 @@ import org.slf4j.LoggerFactory;
|
||||
|
||||
import javax.servlet.ServletOutputStream;
|
||||
import javax.servlet.http.HttpServletResponse;
|
||||
import javax.servlet.http.HttpSession;
|
||||
import java.io.*;
|
||||
import java.net.URLEncoder;
|
||||
import java.util.*;
|
||||
import java.util.Map.Entry;
|
||||
import java.util.regex.Matcher;
|
||||
|
||||
Reference in New Issue
Block a user