【类 型】:
【原 因】: 【过 程】: 【影 响】:
This commit is contained in:
parent
d73b9d3269
commit
d6975cbd82
@ -167,7 +167,7 @@ class PlaneController extends PublicController
|
|||||||
$where['a.del'] = '0';
|
$where['a.del'] = '0';
|
||||||
|
|
||||||
// 需要的字段,带表别名
|
// 需要的字段,带表别名
|
||||||
$field = 'a.id, a.name, a.macadd, a.shop_id, a.apply_time, a.onoff, c.class_name, c.wheelbase, c.category, c.weight_max';
|
$field = 'a.id, a.name, a.macadd, a.shop_id, a.apply_time, a.onoff,a.bind_class_id ,c.class_name, c.wheelbase, c.category, c.weight_max';
|
||||||
|
|
||||||
// 动态拼接带前缀的表名,避免硬编码
|
// 动态拼接带前缀的表名,避免硬编码
|
||||||
$joinTable = $prefix . 'airplane_class';
|
$joinTable = $prefix . 'airplane_class';
|
||||||
|
Loading…
Reference in New Issue
Block a user