CodePudding user response:
Try the wrapper class numeric typesCodePudding user response:
Clear type assignment, empty words also should pass a null stringCodePudding user response:
Excel spreadsheet to export is not the problem for is not null, and int and string is not read from the database of the field, and then according to the HSSF writing form, to export it again, this field is empty to query exception?CodePudding user response:
Should be a book. GetBooknum () is null, if allowed to Booknum is empty, before the assignment to make a judgment, if we do not allow empty, you'll have to check the program and data, to see what is the problem,