Commit 983f5ed1 authored by 周健威's avatar 周健威

修改天数bug

parent 3f6dc8e1
...@@ -245,6 +245,10 @@ public class OrderCalculateBiz { ...@@ -245,6 +245,10 @@ public class OrderCalculateBiz {
if(excess > bufferLong) { if(excess > bufferLong) {
bookDays += 1; bookDays += 1;
} }
if((0 == bookDays) && (bookTimeLag > 0)) {
bookDays = 1;
}
return bookDays; return bookDays;
} }
} }
\ No newline at end of file
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