| 12345678910111213141516171819202122232425 |
- <?php
- namespace app\common\model;
- class OrderProductModel extends BaseModel
- {
- protected $table = 'erp_order_product';
- protected function genSchema(array $schema)
- {
- // TODO: Implement genSchema() method.
- }
- public function findByOrderId($o_id) {
- return $this->where('is_delete', 0)
- ->where('order_id',$o_id)
- ->select();
- }
- }
|