Commit bb830fc9 by huangfusuper

数据验证错误提示信息不明确

parent 1b985237
...@@ -102,7 +102,7 @@ public class ValidationUtil { ...@@ -102,7 +102,7 @@ public class ValidationUtil {
* @param errorMessage * @param errorMessage
*/ */
public static void isTrueValidation(boolean value,String... errorMessage){ public static void isTrueValidation(boolean value,String... errorMessage){
String message = errorMessageGenerate("isTrueValidation", "value not true"); String message = errorMessageGenerate("isTrueValidation", "value not true",errorMessage);
if(ValidationAdaptation.isTrueValidation(value)){ if(ValidationAdaptation.isTrueValidation(value)){
throw new DataValidationException(message); throw new DataValidationException(message);
} }
......
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