Field error in object 'pojectInfo' on field 'staffCount': rejected value []; codes [typeMismatch.pojectInfo.staffCount,typeMismatch.staffCount,typeMismatch.int,typeMismatch];
arguments [org.springframework.context.support.DefaultMessageSourceResolvable: codes [pojectInfo.staffCount,staffCount]; arguments []; default message [staffCount]];
default message [Failed to convert property value of type 'java.lang.String' to required type 'int' for property 'staffCount'; nested exception is java.lang.NumberFormatException:
For input string: ""]
把基本类型改为 对象
如 int–》Integer