|
@@ -48,7 +48,7 @@ class JxOrderController extends ChBaseController
|
|
$criteria->user_id('==',$user_id);
|
|
$criteria->user_id('==',$user_id);
|
|
}
|
|
}
|
|
if ($work_id) {
|
|
if ($work_id) {
|
|
- $criteria->user_id('==',$work_id);
|
|
|
|
|
|
+ $criteria->worker_id('==',$work_id);
|
|
}
|
|
}
|
|
$cursor = Order::model()->findAll($criteria);
|
|
$cursor = Order::model()->findAll($criteria);
|
|
$rows = CommonFn::getRowsFromCursor($cursor);
|
|
$rows = CommonFn::getRowsFromCursor($cursor);
|