Commit 0ead1888 by wuwenlong

create order bugfix

parent 595d122e
......@@ -741,7 +741,7 @@ public class SOrderServiceImpl extends ServiceImpl<SOrderMapper, SOrder> impleme
}
private void checkOrderRoomStat(SRoom room) {
if (ObjectUtil.isNotEmpty(room)){
if (ObjectUtil.isEmpty(room)){
throw new BaseException("房间不存在!");
}
if(room.getRoomStat()!=null&&RoomStatEnum.ITEM_UP_SHELF.getValue().compareTo(room.getRoomStat())!=0){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment