bugfix:读取描述时会读取下一行
This commit is contained in:
parent
52c3c4fd50
commit
a773d804f8
@ -41,8 +41,8 @@ public class IndentItemView {
|
||||
IItem.setDiscount(-1F);
|
||||
}
|
||||
//描述
|
||||
if (!reader.hasNext("end") && !Objects.equals(reader.nextLine(), " ")) {
|
||||
IItem.setDescription(reader.nextLine());
|
||||
if (!reader.hasNext("end") && !reader.hasNext(" ")) {
|
||||
IItem.setDescription(reader.next());
|
||||
}
|
||||
//菜单ID
|
||||
indentDAO indent = new indentDAO();
|
||||
|
Loading…
Reference in New Issue
Block a user