14 lines
388 B
PHP
Executable File
14 lines
388 B
PHP
Executable File
<?php
|
|
namespace wstmart\app\model;
|
|
use wstmart\common\model\Orders as COrders;
|
|
use think\Db;
|
|
/**
|
|
* ============================================================================
|
|
* 订单类
|
|
*/
|
|
class Orders extends COrders{
|
|
function getOrderByOrderNo($orderNo,$field='*'){
|
|
return $this->where(['dataFlag'=>1,'orderNo|orderunique'=>$orderNo])->field($field)->find();
|
|
}
|
|
}
|