Commit 85e94740 by biao

1

parent b582c110
...@@ -358,6 +358,7 @@ CREATE TABLE IF NOT EXISTS volunteer_event_member_dat( ...@@ -358,6 +358,7 @@ CREATE TABLE IF NOT EXISTS volunteer_event_member_dat(
Create INDEX volunteer_event_member_dat_volunteer_event_id_idx ON volunteer_event_member_dat(volunteer_event_id); Create INDEX volunteer_event_member_dat_volunteer_event_id_idx ON volunteer_event_member_dat(volunteer_event_id);
Create INDEX volunteer_event_member_dat_user_id_idx ON volunteer_event_member_dat(user_id); Create INDEX volunteer_event_member_dat_user_id_idx ON volunteer_event_member_dat(user_id);
Create INDEX volunteer_event_member_dat_circle_id_idx ON volunteer_event_member_dat(circle_id);
##----volunteer_event_dat create ##----volunteer_event_dat create
...@@ -370,6 +371,7 @@ CREATE TABLE IF NOT EXISTS volunteer_event_dat( ...@@ -370,6 +371,7 @@ CREATE TABLE IF NOT EXISTS volunteer_event_dat(
comment text NOT NULL, comment text NOT NULL,
start_time timestamp NOT NULL, start_time timestamp NOT NULL,
finish_time timestamp NOT NULL, finish_time timestamp NOT NULL,
enroll_time timestamp NOT NULL,
front_image text NOT NULL, front_image text NOT NULL,
position text NOT NULL, position text NOT NULL,
position_longitude text NOT NULL, position_longitude text NOT NULL,
...@@ -389,6 +391,7 @@ CREATE TABLE IF NOT EXISTS volunteer_event_dat( ...@@ -389,6 +391,7 @@ CREATE TABLE IF NOT EXISTS volunteer_event_dat(
leader_name varchar(64) NOT NULL, leader_name varchar(64) NOT NULL,
leader_contact varchar(128) NOT NULL, leader_contact varchar(128) NOT NULL,
venue text NOT NULL, venue text NOT NULL,
venue_time timestamp NOT NULL,
status varchar(64) NOT NULL DEFAULT 'NEW', status varchar(64) NOT NULL DEFAULT 'NEW',
delete_flg tinyint(1) NOT NULL DEFAULT '0' delete_flg tinyint(1) NOT NULL DEFAULT '0'
) ENGINE = INNODB DEFAULT CHARSET=utf8mb4; ) ENGINE = INNODB DEFAULT CHARSET=utf8mb4;
......
<?php <?php
/** /**
* AccountMst Entity * AccountMst Entity
* $Id: AccountMst.inc,v 1.1 2020/2/23 21:15:57 Exp $ * $Id: AccountMst.inc,v 1.1 2020/2/27 14:40:01 Exp $
* @author zb * @author zb
* @package jp.compass.entity * @package jp.compass.entity
* @access public * @access public
......
<?php <?php
/** /**
* CertificateMst Entity * CertificateMst Entity
* $Id: CertificateMst.inc,v 1.1 2020/2/23 21:15:58 Exp $ * $Id: CertificateMst.inc,v 1.1 2020/2/27 14:40:01 Exp $
* @author zb * @author zb
* @package jp.compass.entity * @package jp.compass.entity
* @access public * @access public
......
<?php <?php
/** /**
* CircleDat Entity * CircleDat Entity
* $Id: CircleDat.inc,v 1.1 2020/2/23 21:15:58 Exp $ * $Id: CircleDat.inc,v 1.1 2020/2/27 14:40:01 Exp $
* @author zb * @author zb
* @package jp.compass.entity * @package jp.compass.entity
* @access public * @access public
...@@ -38,9 +38,9 @@ class CircleDat extends CompassDynamicData ...@@ -38,9 +38,9 @@ class CircleDat extends CompassDynamicData
$this->comment = $record["comment"]; $this->comment = $record["comment"];
$this->longitude = $record["longitude"]; $this->longitude = $record["longitude"];
$this->latitude = $record["latitude"]; $this->latitude = $record["latitude"];
$this->province = $record["province"]; $this->province = $record["province"];
$this->city = $record["city"]; $this->city = $record["city"];
$this->district = $record["district"]; $this->district = $record["district"];
$this->owner_id = $record["owner_id"]; $this->owner_id = $record["owner_id"];
$this->delete_flg = $record["delete_flg"]; $this->delete_flg = $record["delete_flg"];
} }
......
<?php <?php
/** /**
* CircleMemberDat Entity * CircleMemberDat Entity
* $Id: CircleMemberDat.inc,v 1.1 2020/2/23 21:15:58 Exp $ * $Id: CircleMemberDat.inc,v 1.1 2020/2/27 14:40:01 Exp $
* @author zb * @author zb
* @package jp.compass.entity * @package jp.compass.entity
* @access public * @access public
......
<?php <?php
/** /**
* ClassMst Entity * ClassMst Entity
* $Id: ClassMst.inc,v 1.1 2020/2/23 21:15:58 Exp $ * $Id: ClassMst.inc,v 1.1 2020/2/27 14:40:01 Exp $
* @author zb * @author zb
* @package jp.compass.entity * @package jp.compass.entity
* @access public * @access public
......
<?php <?php
/** /**
* CourseCategoryDat Entity * CourseCategoryDat Entity
* $Id: CourseCategoryDat.inc,v 1.1 2020/2/23 21:15:58 Exp $ * $Id: CourseCategoryDat.inc,v 1.1 2020/2/27 14:40:01 Exp $
* @author zb * @author zb
* @package jp.compass.entity * @package jp.compass.entity
* @access public * @access public
......
<?php <?php
/** /**
* CourseMediaDat Entity * CourseMediaDat Entity
* $Id: CourseMediaDat.inc,v 1.1 2020/2/23 21:15:58 Exp $ * $Id: CourseMediaDat.inc,v 1.1 2020/2/27 14:40:01 Exp $
* @author zb * @author zb
* @package jp.compass.entity * @package jp.compass.entity
* @access public * @access public
......
<?php <?php
/** /**
* CourseMst Entity * CourseMst Entity
* $Id: CourseMst.inc,v 1.1 2020/2/23 21:15:58 Exp $ * $Id: CourseMst.inc,v 1.1 2020/2/27 14:40:01 Exp $
* @author zb * @author zb
* @package jp.compass.entity * @package jp.compass.entity
* @access public * @access public
......
<?php <?php
/** /**
* DonationsEventDat Entity * DonationsEventDat Entity
* $Id: DonationsEventDat.inc,v 1.1 2020/2/23 21:15:58 Exp $ * $Id: DonationsEventDat.inc,v 1.1 2020/2/27 14:40:01 Exp $
* @author zb * @author zb
* @package jp.compass.entity * @package jp.compass.entity
* @access public * @access public
......
<?php <?php
/** /**
* FamilyEventDat Entity * FamilyEventDat Entity
* $Id: FamilyEventDat.inc,v 1.1 2020/2/23 21:15:58 Exp $ * $Id: FamilyEventDat.inc,v 1.1 2020/2/27 14:40:01 Exp $
* @author zb * @author zb
* @package jp.compass.entity * @package jp.compass.entity
* @access public * @access public
......
<?php <?php
/** /**
* FamilyEventMemberDat Entity * FamilyEventMemberDat Entity
* $Id: FamilyEventMemberDat.inc,v 1.1 2020/2/23 21:15:58 Exp $ * $Id: FamilyEventMemberDat.inc,v 1.1 2020/2/27 14:40:01 Exp $
* @author zb * @author zb
* @package jp.compass.entity * @package jp.compass.entity
* @access public * @access public
......
<?php <?php
/** /**
* GovernmentMst Entity * GovernmentMst Entity
* $Id: GovernmentMst.inc,v 1.1 2020/2/23 21:15:57 Exp $ * $Id: GovernmentMst.inc,v 1.1 2020/2/27 14:40:01 Exp $
* @author zb * @author zb
* @package jp.compass.entity * @package jp.compass.entity
* @access public * @access public
......
<?php <?php
/** /**
* GovernmentQrDat Entity * GovernmentQrDat Entity
* $Id: GovernmentQrDat.inc,v 1.1 2020/2/23 21:15:57 Exp $ * $Id: GovernmentQrDat.inc,v 1.1 2020/2/27 14:40:01 Exp $
* @author zb * @author zb
* @package jp.compass.entity * @package jp.compass.entity
* @access public * @access public
......
<?php <?php
/** /**
* GradeMst Entity * GradeMst Entity
* $Id: GradeMst.inc,v 1.1 2020/2/23 21:15:57 Exp $ * $Id: GradeMst.inc,v 1.1 2020/2/27 14:40:01 Exp $
* @author zb * @author zb
* @package jp.compass.entity * @package jp.compass.entity
* @access public * @access public
......
<?php <?php
/** /**
* MediaTagDat Entity * MediaTagDat Entity
* $Id: MediaTagDat.inc,v 1.1 2020/2/23 21:15:58 Exp $ * $Id: MediaTagDat.inc,v 1.1 2020/2/27 14:40:01 Exp $
* @author zb * @author zb
* @package jp.compass.entity * @package jp.compass.entity
* @access public * @access public
......
<?php <?php
/** /**
* SchoolMst Entity * SchoolMst Entity
* $Id: SchoolMst.inc,v 1.1 2020/2/23 21:15:57 Exp $ * $Id: SchoolMst.inc,v 1.1 2020/2/27 14:40:01 Exp $
* @author zb * @author zb
* @package jp.compass.entity * @package jp.compass.entity
* @access public * @access public
......
<?php <?php
/** /**
* SocialEventDat Entity * SocialEventDat Entity
* $Id: SocialEventDat.inc,v 1.1 2020/2/23 21:15:58 Exp $ * $Id: SocialEventDat.inc,v 1.1 2020/2/27 14:40:01 Exp $
* @author zb * @author zb
* @package jp.compass.entity * @package jp.compass.entity
* @access public * @access public
......
<?php <?php
/** /**
* SocialEventMemberDat Entity * SocialEventMemberDat Entity
* $Id: SocialEventMemberDat.inc,v 1.1 2020/2/23 21:15:58 Exp $ * $Id: SocialEventMemberDat.inc,v 1.1 2020/2/27 14:40:01 Exp $
* @author zb * @author zb
* @package jp.compass.entity * @package jp.compass.entity
* @access public * @access public
......
<?php <?php
/** /**
* SystemConstantDat Entity * SystemConstantDat Entity
* $Id: SystemConstantDat.inc,v 1.1 2020/2/23 21:15:57 Exp $ * $Id: SystemConstantDat.inc,v 1.1 2020/2/27 14:40:01 Exp $
* @author zb * @author zb
* @package jp.compass.entity * @package jp.compass.entity
* @access public * @access public
......
<?php <?php
/** /**
* UserCertificateDat Entity * UserCertificateDat Entity
* $Id: UserCertificateDat.inc,v 1.1 2020/2/23 21:15:58 Exp $ * $Id: UserCertificateDat.inc,v 1.1 2020/2/27 14:40:01 Exp $
* @author zb * @author zb
* @package jp.compass.entity * @package jp.compass.entity
* @access public * @access public
......
<?php <?php
/** /**
* UserDonationDat Entity * UserDonationDat Entity
* $Id: UserDonationDat.inc,v 1.1 2020/2/23 21:15:58 Exp $ * $Id: UserDonationDat.inc,v 1.1 2020/2/27 14:40:01 Exp $
* @author zb * @author zb
* @package jp.compass.entity * @package jp.compass.entity
* @access public * @access public
......
<?php <?php
/** /**
* UserMediaDat Entity * UserMediaDat Entity
* $Id: UserMediaDat.inc,v 1.1 2020/2/23 21:15:58 Exp $ * $Id: UserMediaDat.inc,v 1.1 2020/2/27 14:40:01 Exp $
* @author zb * @author zb
* @package jp.compass.entity * @package jp.compass.entity
* @access public * @access public
......
<?php <?php
/** /**
* UserMessageDat Entity * UserMessageDat Entity
* $Id: UserMessageDat.inc,v 1.1 2020/2/23 21:15:58 Exp $ * $Id: UserMessageDat.inc,v 1.1 2020/2/27 14:40:01 Exp $
* @author zb * @author zb
* @package jp.compass.entity * @package jp.compass.entity
* @access public * @access public
...@@ -31,7 +31,7 @@ class UserMessageDat extends CompassDynamicData ...@@ -31,7 +31,7 @@ class UserMessageDat extends CompassDynamicData
$this->title = $record["title"]; $this->title = $record["title"];
$this->comment = $record["comment"]; $this->comment = $record["comment"];
$this->attach_dat_type = $record["attach_dat_type"]; $this->attach_dat_type = $record["attach_dat_type"];
$this->attach_dat_id = $record["attach_dat_id"]; $this->attach_dat_id = $record["attach_dat_id"];
$this->attach_dat_path = $record["attach_dat_path"]; $this->attach_dat_path = $record["attach_dat_path"];
$this->is_read = $record["is_read"]; $this->is_read = $record["is_read"];
$this->delete_flg = $record["delete_flg"]; $this->delete_flg = $record["delete_flg"];
...@@ -101,8 +101,8 @@ class UserMessageDat extends CompassDynamicData ...@@ -101,8 +101,8 @@ class UserMessageDat extends CompassDynamicData
ParamUtil::copyObj2Array($v_param, $this, "user_id"); ParamUtil::copyObj2Array($v_param, $this, "user_id");
ParamUtil::copyObj2Array($v_param, $this, "title"); ParamUtil::copyObj2Array($v_param, $this, "title");
ParamUtil::copyObj2ArrayNullField($v_param, $this, "comment"); ParamUtil::copyObj2ArrayNullField($v_param, $this, "comment");
ParamUtil::attach_dat_type($v_param, $this, "attach_dat_type"); ParamUtil::copyObj2ArrayNullField($v_param, $this, "attach_dat_type");
ParamUtil::attach_dat_id($v_param, $this, "attach_dat_id"); ParamUtil::copyObj2Array($v_param, $this, "attach_dat_id");
ParamUtil::copyObj2ArrayNullField($v_param, $this, "attach_dat_path"); ParamUtil::copyObj2ArrayNullField($v_param, $this, "attach_dat_path");
ParamUtil::copyObj2Array($v_param, $this, "is_read"); ParamUtil::copyObj2Array($v_param, $this, "is_read");
ParamUtil::copyObj2Array($v_param, $this, "delete_flg"); ParamUtil::copyObj2Array($v_param, $this, "delete_flg");
......
<?php <?php
/** /**
* UserMst Entity * UserMst Entity
* $Id: UserMst.inc,v 1.1 2020/2/23 21:15:58 Exp $ * $Id: UserMst.inc,v 1.1 2020/2/27 14:40:01 Exp $
* @author zb * @author zb
* @package jp.compass.entity * @package jp.compass.entity
* @access public * @access public
......
<?php <?php
/** /**
* UserPointLog Entity * UserPointLog Entity
* $Id: UserPointLog.inc,v 1.1 2020/2/23 21:15:58 Exp $ * $Id: UserPointLog.inc,v 1.1 2020/2/27 14:40:01 Exp $
* @author zb * @author zb
* @package jp.compass.entity * @package jp.compass.entity
* @access public * @access public
......
<?php <?php
/** /**
* VolunteerEventDat Entity * VolunteerEventDat Entity
* $Id: VolunteerEventDat.inc,v 1.1 2020/2/23 21:15:58 Exp $ * $Id: VolunteerEventDat.inc,v 1.1 2020/2/27 14:40:01 Exp $
* @author zb * @author zb
* @package jp.compass.entity * @package jp.compass.entity
* @access public * @access public
...@@ -12,6 +12,7 @@ class VolunteerEventDat extends CompassDynamicData ...@@ -12,6 +12,7 @@ class VolunteerEventDat extends CompassDynamicData
var $comment; var $comment;
var $start_time; var $start_time;
var $finish_time; var $finish_time;
var $enroll_time;
var $front_image; var $front_image;
var $position; var $position;
var $position_longitude; var $position_longitude;
...@@ -26,10 +27,12 @@ class VolunteerEventDat extends CompassDynamicData ...@@ -26,10 +27,12 @@ class VolunteerEventDat extends CompassDynamicData
var $district; var $district;
var $include_social_user; var $include_social_user;
var $max_member; var $max_member;
var $member_count;
var $time_length; var $time_length;
var $leader_name; var $leader_name;
var $leader_contact; var $leader_contact;
var $venue; var $venue;
var $venue_time;
var $status; var $status;
var $delete_flg; var $delete_flg;
...@@ -47,6 +50,7 @@ class VolunteerEventDat extends CompassDynamicData ...@@ -47,6 +50,7 @@ class VolunteerEventDat extends CompassDynamicData
$this->comment = $record["comment"]; $this->comment = $record["comment"];
$this->start_time = $record["start_time"]; $this->start_time = $record["start_time"];
$this->finish_time = $record["finish_time"]; $this->finish_time = $record["finish_time"];
$this->enroll_time = $record["enroll_time"];
$this->front_image = $record["front_image"]; $this->front_image = $record["front_image"];
$this->position = $record["position"]; $this->position = $record["position"];
$this->position_longitude = $record["position_longitude"]; $this->position_longitude = $record["position_longitude"];
...@@ -61,10 +65,12 @@ class VolunteerEventDat extends CompassDynamicData ...@@ -61,10 +65,12 @@ class VolunteerEventDat extends CompassDynamicData
$this->district = $record["district"]; $this->district = $record["district"];
$this->include_social_user = $record["include_social_user"]; $this->include_social_user = $record["include_social_user"];
$this->max_member = $record["max_member"]; $this->max_member = $record["max_member"];
$this->member_count = $record["member_count"];
$this->time_length = $record["time_length"]; $this->time_length = $record["time_length"];
$this->leader_name = $record["leader_name"]; $this->leader_name = $record["leader_name"];
$this->leader_contact = $record["leader_contact"]; $this->leader_contact = $record["leader_contact"];
$this->venue = $record["venue"]; $this->venue = $record["venue"];
$this->venue_time = $record["venue_time"];
$this->status = $record["status"]; $this->status = $record["status"];
$this->delete_flg = $record["delete_flg"]; $this->delete_flg = $record["delete_flg"];
} }
...@@ -134,6 +140,7 @@ class VolunteerEventDat extends CompassDynamicData ...@@ -134,6 +140,7 @@ class VolunteerEventDat extends CompassDynamicData
ParamUtil::copyObj2Array($v_param, $this, "comment"); ParamUtil::copyObj2Array($v_param, $this, "comment");
ParamUtil::copyObj2Array($v_param, $this, "start_time"); ParamUtil::copyObj2Array($v_param, $this, "start_time");
ParamUtil::copyObj2Array($v_param, $this, "finish_time"); ParamUtil::copyObj2Array($v_param, $this, "finish_time");
ParamUtil::copyObj2Array($v_param, $this, "enroll_time");
ParamUtil::copyObj2Array($v_param, $this, "front_image"); ParamUtil::copyObj2Array($v_param, $this, "front_image");
ParamUtil::copyObj2Array($v_param, $this, "position"); ParamUtil::copyObj2Array($v_param, $this, "position");
ParamUtil::copyObj2Array($v_param, $this, "position_longitude"); ParamUtil::copyObj2Array($v_param, $this, "position_longitude");
...@@ -148,10 +155,12 @@ class VolunteerEventDat extends CompassDynamicData ...@@ -148,10 +155,12 @@ class VolunteerEventDat extends CompassDynamicData
ParamUtil::copyObj2ArrayNullField($v_param, $this, "district"); ParamUtil::copyObj2ArrayNullField($v_param, $this, "district");
ParamUtil::copyObj2Array($v_param, $this, "include_social_user"); ParamUtil::copyObj2Array($v_param, $this, "include_social_user");
ParamUtil::copyObj2Array($v_param, $this, "max_member"); ParamUtil::copyObj2Array($v_param, $this, "max_member");
ParamUtil::copyObj2Array($v_param, $this, "member_count");
ParamUtil::copyObj2Array($v_param, $this, "time_length"); ParamUtil::copyObj2Array($v_param, $this, "time_length");
ParamUtil::copyObj2Array($v_param, $this, "leader_name"); ParamUtil::copyObj2Array($v_param, $this, "leader_name");
ParamUtil::copyObj2Array($v_param, $this, "leader_contact"); ParamUtil::copyObj2Array($v_param, $this, "leader_contact");
ParamUtil::copyObj2Array($v_param, $this, "venue"); ParamUtil::copyObj2Array($v_param, $this, "venue");
ParamUtil::copyObj2Array($v_param, $this, "venue_time");
ParamUtil::copyObj2Array($v_param, $this, "status"); ParamUtil::copyObj2Array($v_param, $this, "status");
ParamUtil::copyObj2Array($v_param, $this, "delete_flg"); ParamUtil::copyObj2Array($v_param, $this, "delete_flg");
......
<?php <?php
/** /**
* VolunteerEventMemberDat Entity * VolunteerEventMemberDat Entity
* $Id: VolunteerEventMemberDat.inc,v 1.1 2020/2/25 20:50:48 Exp $ * $Id: VolunteerEventMemberDat.inc,v 1.1 2020/2/27 14:40:01 Exp $
* @author zb * @author zb
* @package jp.compass.entity * @package jp.compass.entity
* @access public * @access public
...@@ -39,7 +39,7 @@ class VolunteerEventMemberDat extends CompassDynamicData ...@@ -39,7 +39,7 @@ class VolunteerEventMemberDat extends CompassDynamicData
$this->index_no = $record["index_no"]; $this->index_no = $record["index_no"];
$this->user_id = $record["user_id"]; $this->user_id = $record["user_id"];
$this->circle_id = $record["circle_id"]; $this->circle_id = $record["circle_id"];
$this->is_owner = $record["is_owner"]; $this->is_owner = $record["is_owner"];
$this->mobile = $record["mobile"]; $this->mobile = $record["mobile"];
$this->comment = $record["comment"]; $this->comment = $record["comment"];
$this->images = $record["images"]; $this->images = $record["images"];
......
...@@ -63,7 +63,7 @@ if($tmpCount > 0) { ...@@ -63,7 +63,7 @@ if($tmpCount > 0) {
//报名是否已经结束 //报名是否已经结束
$isEnrollFinish = false; $isEnrollFinish = false;
if(date("Y-m-d H:i:s") <= $volunteerDat->finish_time) { if(date("Y-m-d H:i:s") <= $volunteerDat->enroll_time) {
$isEnrollFinish = true; $isEnrollFinish = true;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment