edit-sylive-team_logo
This commit is contained in:
@@ -392,7 +392,7 @@ class Sylive_entity{
|
||||
* @return int
|
||||
*/
|
||||
public function get_team_lists($teamId,$data=[]){
|
||||
$row = $this->ci->market_sylive_team_model->get(['teamId'=>$teamId],'teamId,parentId,teamName');
|
||||
$row = $this->ci->market_sylive_team_model->get(['teamId'=>$teamId],'teamId,parentId,teamName,logo');
|
||||
if(!$row){
|
||||
return $data;
|
||||
}else{
|
||||
|
||||
@@ -103,7 +103,7 @@ class Biz extends Admin {
|
||||
$count_gw = $this->user_model->count($where); //顾问
|
||||
$where = [
|
||||
'status' => 0,
|
||||
"activityId in (select activityId from lc_market_sylive_activity_biz where areaId={$area_id})" => null
|
||||
"activityId in (select activityId from lc_market_sylive_activity_biz where areaId={$area_id} and status=0)" => null
|
||||
];
|
||||
$count_live = $this->market_sylive_activity_model->count($where);
|
||||
$where = [
|
||||
@@ -174,7 +174,7 @@ class Biz extends Admin {
|
||||
foreach ($rows as $val) {
|
||||
$where = [
|
||||
'status' => 0,
|
||||
"activityId in (select activityId from lc_market_sylive_activity_biz where areaId={$val['organizationId']})" => null
|
||||
"activityId in (select activityId from lc_market_sylive_activity_biz where areaId={$val['organizationId']} and status=0)" => null
|
||||
];
|
||||
$activitynum = $this->market_sylive_activity_model->count($where);
|
||||
$temp = [
|
||||
@@ -213,7 +213,7 @@ class Biz extends Admin {
|
||||
foreach ($rows as $val) {
|
||||
$where = [
|
||||
'status' => 0,
|
||||
"activityId in (select activityId from lc_market_sylive_activity_biz where bizId={$val['organizationId']})" => null
|
||||
"activityId in (select activityId from lc_market_sylive_activity_biz where bizId={$val['organizationId']} and status=0)" => null
|
||||
];
|
||||
$activitynum = $this->market_sylive_activity_model->count($where);
|
||||
$where = [
|
||||
|
||||
@@ -119,7 +119,7 @@
|
||||
this.getInfo()
|
||||
if(this.info.alert_code){
|
||||
// this.msgisShowCode = true
|
||||
mDialog.msg('预约成功');
|
||||
mDialog.msg({content: '预约成功'});
|
||||
}
|
||||
this.getNotice()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user