|
|
@@ -45,7 +45,7 @@ public class AdminBusinessProjectController extends CertifyApiController{
|
|
|
res.getError().add(buildError(ErrorConstants.PARAM_BEING_ERROR, "项目名称已存在", "项目名称"));
|
|
|
return res;
|
|
|
}
|
|
|
- if(Integer.valueOf(country)==0){
|
|
|
+ if(Integer.parseInt(country)==0){
|
|
|
if (StringUtils.isBlank(province)) {
|
|
|
res.getError().add(buildError( "至少指定省", "至少指定省"));
|
|
|
return res;
|