给版本设置默认值
parent
a9e1266e38
commit
4079c01ff5
|
@ -45,7 +45,7 @@ public class GenerateConstant {
|
||||||
" @Override\n" +
|
" @Override\n" +
|
||||||
" public void run () {\n" +
|
" public void run () {\n" +
|
||||||
"if(DataValue.getValue==null)\n{" +
|
"if(DataValue.getValue==null)\n{" +
|
||||||
"\n数据不能为空\n}\n"+
|
"\nthrow new RuntimeException(\"数据不能为空!!!\");\n}\n"+
|
||||||
" }\n" +
|
" }\n" +
|
||||||
"}";
|
"}";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue