Showing
2 changed files
with
2 additions
and
2 deletions
| @@ -64,7 +64,7 @@ class _DayOrderLeftPageState extends State<DayOrderLeftPage> { | @@ -64,7 +64,7 @@ class _DayOrderLeftPageState extends State<DayOrderLeftPage> { | ||
| 64 | 'day': widget.day, | 64 | 'day': widget.day, |
| 65 | 'reserveStatus': widget.index == 0 ? '1' : '2', | 65 | 'reserveStatus': widget.index == 0 ? '1' : '2', |
| 66 | }; | 66 | }; |
| 67 | - if (widget.uid != null && widget.uid != '') { | 67 | + if (widget.uid != null && widget.uid != '' && widget.uid != 'null') { |
| 68 | params['uid'] = widget.uid; | 68 | params['uid'] = widget.uid; |
| 69 | } | 69 | } |
| 70 | await customerProvider.getSellerCountsListByDay(context, params, | 70 | await customerProvider.getSellerCountsListByDay(context, params, |
| @@ -94,7 +94,7 @@ class _MonthOrderPageState extends State<MonthOrderPage> { | @@ -94,7 +94,7 @@ class _MonthOrderPageState extends State<MonthOrderPage> { | ||
| 94 | 'year': widget.year.toString(), | 94 | 'year': widget.year.toString(), |
| 95 | 'month': month.toString() | 95 | 'month': month.toString() |
| 96 | }; | 96 | }; |
| 97 | - if (widget.uid != null && widget.uid != '') { | 97 | + if (widget.uid != null && widget.uid != ''&& widget.uid != 'null') { |
| 98 | params['uid'] = widget.uid; | 98 | params['uid'] = widget.uid; |
| 99 | } | 99 | } |
| 100 | await customerProvider.getSellerCountsListByMonth(context, params, | 100 | await customerProvider.getSellerCountsListByMonth(context, params, |
-
Please register or login to post a comment