新增投放计划导出字段e_label

This commit is contained in:
cloud 2024-12-05 01:08:28 +08:00
parent beefcf575f
commit 7684ad74f5
2 changed files with 18 additions and 16 deletions

View File

@ -243,7 +243,7 @@ trait tdata
$field = 'ch.*, count(la.id) AS h_totalnum '; $field = 'ch.*, count(la.id) AS h_totalnum ';
break; break;
case 'schedule': case 'schedule':
$field = 'el.e_enable,el.e_number,el.e_vid,el.e_bno,el.e_aps,el.e_size,la.*,ct.h_cid'; $field = 'el.e_enable,el.e_number,el.e_vid,el.e_bno,el.e_aps,el.e_size,el.e_label,la.*,ct.h_cid';// el.e_text,
break; break;
case 'villages': case 'villages':
$field = " vi.*, COUNT( DISTINCT el.e_number) AS v_enum,COUNT(DISTINCT el.e_vid, el.e_bno) AS v_ebnonum,COUNT( el.e_enable = 0 OR NULL ) AS noban,ANY_VALUE(anum.v_free) AS v_free,ANY_VALUE( anum.v_bno ) AS v_bno,ANY_VALUE(bnum.v_lease) AS v_lease,ANY_VALUE(cnum.v_endday) AS v_endday,ANY_VALUE(dnum.v_prerow) AS v_prerow "; $field = " vi.*, COUNT( DISTINCT el.e_number) AS v_enum,COUNT(DISTINCT el.e_vid, el.e_bno) AS v_ebnonum,COUNT( el.e_enable = 0 OR NULL ) AS noban,ANY_VALUE(anum.v_free) AS v_free,ANY_VALUE( anum.v_bno ) AS v_bno,ANY_VALUE(bnum.v_lease) AS v_lease,ANY_VALUE(cnum.v_endday) AS v_endday,ANY_VALUE(dnum.v_prerow) AS v_prerow ";

View File

@ -3,7 +3,7 @@
//表对应字段 //表对应字段
trait tfield trait tfield
{ {
//广告位统计 //广告位统计
protected function tf_elevator($sign = true) protected function tf_elevator($sign = true)
{ {
@ -19,7 +19,7 @@ trait tfield
'e_text' => '备注' 'e_text' => '备注'
]; ];
} }
//场所统计 //场所统计
protected function tf_village($sign = true) protected function tf_village($sign = true)
{ {
@ -42,7 +42,7 @@ trait tfield
'v_text' => '备注' 'v_text' => '备注'
]; ];
} }
//广告合同关联表 //广告合同关联表
protected function tf_schedule($sign = '') protected function tf_schedule($sign = '')
{ {
@ -65,6 +65,8 @@ trait tfield
'e_enable' => '状态', 'e_enable' => '状态',
// 'e_number' => '广告位编号', // 'e_number' => '广告位编号',
'e_size' => '广告位规格', 'e_size' => '广告位规格',
// 'e_text' => '备注',
'e_label' => '相关标签',
'e_vid' => '场所名称', 'e_vid' => '场所名称',
'v_vaddress' => '场所地址', 'v_vaddress' => '场所地址',
'v_hcname' => '所属商圈', 'v_hcname' => '所属商圈',
@ -79,7 +81,7 @@ trait tfield
]; ];
return $sign || $this->bsign ? $barray : $array; return $sign || $this->bsign ? $barray : $array;
} }
//合同 //合同
protected function tf_contract($sign = true) protected function tf_contract($sign = true)
{ {
@ -102,7 +104,7 @@ trait tfield
'h_text' => '备注' 'h_text' => '备注'
]; ];
} }
//企业资料 //企业资料
protected function tf_customer($sign = true) protected function tf_customer($sign = true)
{ {
@ -118,7 +120,7 @@ trait tfield
'c_text' => '备注', 'c_text' => '备注',
]; ];
} }
//企业联系人 //企业联系人
protected function tf_workers($sign = true) protected function tf_workers($sign = true)
{ {
@ -133,7 +135,7 @@ trait tfield
'w_text' => '备注', 'w_text' => '备注',
]; ];
} }
//参数 //参数
protected function tf_para($sign = true) protected function tf_para($sign = true)
{ {
@ -147,7 +149,7 @@ trait tfield
'p_text' => '备注' 'p_text' => '备注'
]; ];
} }
// 投放页面选择广告位 // 投放页面选择广告位
protected function tf_launch($sign = true) protected function tf_launch($sign = true)
{ {
@ -166,7 +168,7 @@ trait tfield
'l_updatetime' => '修改时间' 'l_updatetime' => '修改时间'
]; ];
} }
// 投放页面选择广告位 // 投放页面选择广告位
protected function tf_applan($sign = true) protected function tf_applan($sign = true)
{ {
@ -188,7 +190,7 @@ trait tfield
'e_types' => '状态提示' 'e_types' => '状态提示'
]; ];
} }
//广告位查询统计 //广告位查询统计
protected function tf_elevators($sign = true) protected function tf_elevators($sign = true)
{ {
@ -212,7 +214,7 @@ trait tfield
'etypes' => '排期状态' 'etypes' => '排期状态'
]; ];
} }
//广告位查询统计 //广告位查询统计
protected function tf_villages($sign = true) protected function tf_villages($sign = true)
{ {
@ -246,7 +248,7 @@ trait tfield
} }
return $array; return $array;
} }
//广告位查询统计 //广告位查询统计
protected function tf_noticeday($sign = true) protected function tf_noticeday($sign = true)
{ {
@ -264,7 +266,7 @@ trait tfield
'htypes' => '提示说明' 'htypes' => '提示说明'
]; ];
} }
//前台巡查页面 //前台巡查页面
protected function tf_patrol($sign = true) protected function tf_patrol($sign = true)
{ {
@ -277,7 +279,7 @@ trait tfield
// 'nowetime' => '剩余', // 'nowetime' => '剩余',
]; ];
} }
//巡查列表 //巡查列表
protected function tf_keylist($sign = true) protected function tf_keylist($sign = true)
{ {
@ -292,5 +294,5 @@ trait tfield
'k_text' => '备注' 'k_text' => '备注'
]; ];
} }
} }