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