Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
Compass
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
zong
Compass
Commits
85e94740
Commit
85e94740
authored
Feb 27, 2020
by
biao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
b582c110
Show whitespace changes
Inline
Side-by-side
Showing
31 changed files
with
42 additions
and
30 deletions
+42
-30
compass_db_schema.txt
doc/DB/compass_db_schema.txt
+3
-0
compass_db_schema.xlsx
doc/DB/compass_db_schema.xlsx
+0
-0
接口文档 V1.0.xls
doc/接口文档 V1.0.xls
+0
-0
AccountMst.inc
src/cn/compass/entity/AccountMst.inc
+1
-1
CertificateMst.inc
src/cn/compass/entity/CertificateMst.inc
+1
-1
CircleDat.inc
src/cn/compass/entity/CircleDat.inc
+1
-1
CircleMemberDat.inc
src/cn/compass/entity/CircleMemberDat.inc
+1
-1
ClassMst.inc
src/cn/compass/entity/ClassMst.inc
+1
-1
CourseCategoryDat.inc
src/cn/compass/entity/CourseCategoryDat.inc
+1
-1
CourseMediaDat.inc
src/cn/compass/entity/CourseMediaDat.inc
+1
-1
CourseMst.inc
src/cn/compass/entity/CourseMst.inc
+1
-1
DonationsEventDat.inc
src/cn/compass/entity/DonationsEventDat.inc
+1
-1
FamilyEventDat.inc
src/cn/compass/entity/FamilyEventDat.inc
+1
-1
FamilyEventMemberDat.inc
src/cn/compass/entity/FamilyEventMemberDat.inc
+1
-1
GovernmentMst.inc
src/cn/compass/entity/GovernmentMst.inc
+1
-1
GovernmentQrDat.inc
src/cn/compass/entity/GovernmentQrDat.inc
+1
-1
GradeMst.inc
src/cn/compass/entity/GradeMst.inc
+1
-1
MediaTagDat.inc
src/cn/compass/entity/MediaTagDat.inc
+1
-1
SchoolMst.inc
src/cn/compass/entity/SchoolMst.inc
+1
-1
SocialEventDat.inc
src/cn/compass/entity/SocialEventDat.inc
+1
-1
SocialEventMemberDat.inc
src/cn/compass/entity/SocialEventMemberDat.inc
+1
-1
SystemConstantDat.inc
src/cn/compass/entity/SystemConstantDat.inc
+1
-1
UserCertificateDat.inc
src/cn/compass/entity/UserCertificateDat.inc
+1
-1
UserDonationDat.inc
src/cn/compass/entity/UserDonationDat.inc
+1
-1
UserMediaDat.inc
src/cn/compass/entity/UserMediaDat.inc
+1
-1
UserMessageDat.inc
src/cn/compass/entity/UserMessageDat.inc
+3
-3
UserMst.inc
src/cn/compass/entity/UserMst.inc
+1
-1
UserPointLog.inc
src/cn/compass/entity/UserPointLog.inc
+1
-1
VolunteerEventDat.inc
src/cn/compass/entity/VolunteerEventDat.inc
+10
-1
VolunteerEventMemberDat.inc
src/cn/compass/entity/VolunteerEventMemberDat.inc
+1
-1
ajax_get_volunteer_event_detail.php
src/user/if/ajax_get_volunteer_event_detail.php
+1
-1
No files found.
doc/DB/compass_db_schema.txt
View file @
85e94740
...
...
@@ -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_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
...
...
@@ -370,6 +371,7 @@ CREATE TABLE IF NOT EXISTS volunteer_event_dat(
comment text NOT NULL,
start_time timestamp NOT NULL,
finish_time timestamp NOT NULL,
enroll_time timestamp NOT NULL,
front_image text NOT NULL,
position text NOT NULL,
position_longitude text NOT NULL,
...
...
@@ -389,6 +391,7 @@ CREATE TABLE IF NOT EXISTS volunteer_event_dat(
leader_name varchar(64) NOT NULL,
leader_contact varchar(128) NOT NULL,
venue text NOT NULL,
venue_time timestamp NOT NULL,
status varchar(64) NOT NULL DEFAULT 'NEW',
delete_flg tinyint(1) NOT NULL DEFAULT '0'
) ENGINE = INNODB DEFAULT CHARSET=utf8mb4;
...
...
doc/DB/compass_db_schema.xlsx
View file @
85e94740
No preview for this file type
doc/接口文档 V1.0.xls
View file @
85e94740
No preview for this file type
src/cn/compass/entity/AccountMst.inc
View file @
85e94740
<?php
/**
* AccountMst Entity
* $Id: AccountMst.inc,v 1.1 2020/2/2
3 21:15:57
Exp $
* $Id: AccountMst.inc,v 1.1 2020/2/2
7 14:40:01
Exp $
* @author zb
* @package jp.compass.entity
* @access public
...
...
src/cn/compass/entity/CertificateMst.inc
View file @
85e94740
<?php
/**
* CertificateMst Entity
* $Id: CertificateMst.inc,v 1.1 2020/2/2
3 21:15:58
Exp $
* $Id: CertificateMst.inc,v 1.1 2020/2/2
7 14:40:01
Exp $
* @author zb
* @package jp.compass.entity
* @access public
...
...
src/cn/compass/entity/CircleDat.inc
View file @
85e94740
<?php
/**
* CircleDat Entity
* $Id: CircleDat.inc,v 1.1 2020/2/2
3 21:15:58
Exp $
* $Id: CircleDat.inc,v 1.1 2020/2/2
7 14:40:01
Exp $
* @author zb
* @package jp.compass.entity
* @access public
...
...
src/cn/compass/entity/CircleMemberDat.inc
View file @
85e94740
<?php
/**
* CircleMemberDat Entity
* $Id: CircleMemberDat.inc,v 1.1 2020/2/2
3 21:15:58
Exp $
* $Id: CircleMemberDat.inc,v 1.1 2020/2/2
7 14:40:01
Exp $
* @author zb
* @package jp.compass.entity
* @access public
...
...
src/cn/compass/entity/ClassMst.inc
View file @
85e94740
<?php
/**
* ClassMst Entity
* $Id: ClassMst.inc,v 1.1 2020/2/2
3 21:15:58
Exp $
* $Id: ClassMst.inc,v 1.1 2020/2/2
7 14:40:01
Exp $
* @author zb
* @package jp.compass.entity
* @access public
...
...
src/cn/compass/entity/CourseCategoryDat.inc
View file @
85e94740
<?php
/**
* CourseCategoryDat Entity
* $Id: CourseCategoryDat.inc,v 1.1 2020/2/2
3 21:15:58
Exp $
* $Id: CourseCategoryDat.inc,v 1.1 2020/2/2
7 14:40:01
Exp $
* @author zb
* @package jp.compass.entity
* @access public
...
...
src/cn/compass/entity/CourseMediaDat.inc
View file @
85e94740
<?php
/**
* CourseMediaDat Entity
* $Id: CourseMediaDat.inc,v 1.1 2020/2/2
3 21:15:58
Exp $
* $Id: CourseMediaDat.inc,v 1.1 2020/2/2
7 14:40:01
Exp $
* @author zb
* @package jp.compass.entity
* @access public
...
...
src/cn/compass/entity/CourseMst.inc
View file @
85e94740
<?php
/**
* CourseMst Entity
* $Id: CourseMst.inc,v 1.1 2020/2/2
3 21:15:58
Exp $
* $Id: CourseMst.inc,v 1.1 2020/2/2
7 14:40:01
Exp $
* @author zb
* @package jp.compass.entity
* @access public
...
...
src/cn/compass/entity/DonationsEventDat.inc
View file @
85e94740
<?php
/**
* DonationsEventDat Entity
* $Id: DonationsEventDat.inc,v 1.1 2020/2/2
3 21:15:58
Exp $
* $Id: DonationsEventDat.inc,v 1.1 2020/2/2
7 14:40:01
Exp $
* @author zb
* @package jp.compass.entity
* @access public
...
...
src/cn/compass/entity/FamilyEventDat.inc
View file @
85e94740
<?php
/**
* FamilyEventDat Entity
* $Id: FamilyEventDat.inc,v 1.1 2020/2/2
3 21:15:58
Exp $
* $Id: FamilyEventDat.inc,v 1.1 2020/2/2
7 14:40:01
Exp $
* @author zb
* @package jp.compass.entity
* @access public
...
...
src/cn/compass/entity/FamilyEventMemberDat.inc
View file @
85e94740
<?php
/**
* FamilyEventMemberDat Entity
* $Id: FamilyEventMemberDat.inc,v 1.1 2020/2/2
3 21:15:58
Exp $
* $Id: FamilyEventMemberDat.inc,v 1.1 2020/2/2
7 14:40:01
Exp $
* @author zb
* @package jp.compass.entity
* @access public
...
...
src/cn/compass/entity/GovernmentMst.inc
View file @
85e94740
<?php
/**
* GovernmentMst Entity
* $Id: GovernmentMst.inc,v 1.1 2020/2/2
3 21:15:57
Exp $
* $Id: GovernmentMst.inc,v 1.1 2020/2/2
7 14:40:01
Exp $
* @author zb
* @package jp.compass.entity
* @access public
...
...
src/cn/compass/entity/GovernmentQrDat.inc
View file @
85e94740
<?php
/**
* GovernmentQrDat Entity
* $Id: GovernmentQrDat.inc,v 1.1 2020/2/2
3 21:15:57
Exp $
* $Id: GovernmentQrDat.inc,v 1.1 2020/2/2
7 14:40:01
Exp $
* @author zb
* @package jp.compass.entity
* @access public
...
...
src/cn/compass/entity/GradeMst.inc
View file @
85e94740
<?php
/**
* GradeMst Entity
* $Id: GradeMst.inc,v 1.1 2020/2/2
3 21:15:57
Exp $
* $Id: GradeMst.inc,v 1.1 2020/2/2
7 14:40:01
Exp $
* @author zb
* @package jp.compass.entity
* @access public
...
...
src/cn/compass/entity/MediaTagDat.inc
View file @
85e94740
<?php
/**
* MediaTagDat Entity
* $Id: MediaTagDat.inc,v 1.1 2020/2/2
3 21:15:58
Exp $
* $Id: MediaTagDat.inc,v 1.1 2020/2/2
7 14:40:01
Exp $
* @author zb
* @package jp.compass.entity
* @access public
...
...
src/cn/compass/entity/SchoolMst.inc
View file @
85e94740
<?php
/**
* SchoolMst Entity
* $Id: SchoolMst.inc,v 1.1 2020/2/2
3 21:15:57
Exp $
* $Id: SchoolMst.inc,v 1.1 2020/2/2
7 14:40:01
Exp $
* @author zb
* @package jp.compass.entity
* @access public
...
...
src/cn/compass/entity/SocialEventDat.inc
View file @
85e94740
<?php
/**
* SocialEventDat Entity
* $Id: SocialEventDat.inc,v 1.1 2020/2/2
3 21:15:58
Exp $
* $Id: SocialEventDat.inc,v 1.1 2020/2/2
7 14:40:01
Exp $
* @author zb
* @package jp.compass.entity
* @access public
...
...
src/cn/compass/entity/SocialEventMemberDat.inc
View file @
85e94740
<?php
/**
* SocialEventMemberDat Entity
* $Id: SocialEventMemberDat.inc,v 1.1 2020/2/2
3 21:15:58
Exp $
* $Id: SocialEventMemberDat.inc,v 1.1 2020/2/2
7 14:40:01
Exp $
* @author zb
* @package jp.compass.entity
* @access public
...
...
src/cn/compass/entity/SystemConstantDat.inc
View file @
85e94740
<?php
/**
* SystemConstantDat Entity
* $Id: SystemConstantDat.inc,v 1.1 2020/2/2
3 21:15:57
Exp $
* $Id: SystemConstantDat.inc,v 1.1 2020/2/2
7 14:40:01
Exp $
* @author zb
* @package jp.compass.entity
* @access public
...
...
src/cn/compass/entity/UserCertificateDat.inc
View file @
85e94740
<?php
/**
* UserCertificateDat Entity
* $Id: UserCertificateDat.inc,v 1.1 2020/2/2
3 21:15:58
Exp $
* $Id: UserCertificateDat.inc,v 1.1 2020/2/2
7 14:40:01
Exp $
* @author zb
* @package jp.compass.entity
* @access public
...
...
src/cn/compass/entity/UserDonationDat.inc
View file @
85e94740
<?php
/**
* UserDonationDat Entity
* $Id: UserDonationDat.inc,v 1.1 2020/2/2
3 21:15:58
Exp $
* $Id: UserDonationDat.inc,v 1.1 2020/2/2
7 14:40:01
Exp $
* @author zb
* @package jp.compass.entity
* @access public
...
...
src/cn/compass/entity/UserMediaDat.inc
View file @
85e94740
<?php
/**
* UserMediaDat Entity
* $Id: UserMediaDat.inc,v 1.1 2020/2/2
3 21:15:58
Exp $
* $Id: UserMediaDat.inc,v 1.1 2020/2/2
7 14:40:01
Exp $
* @author zb
* @package jp.compass.entity
* @access public
...
...
src/cn/compass/entity/UserMessageDat.inc
View file @
85e94740
<?php
/**
* UserMessageDat Entity
* $Id: UserMessageDat.inc,v 1.1 2020/2/2
3 21:15:58
Exp $
* $Id: UserMessageDat.inc,v 1.1 2020/2/2
7 14:40:01
Exp $
* @author zb
* @package jp.compass.entity
* @access public
...
...
@@ -101,8 +101,8 @@ class UserMessageDat extends CompassDynamicData
ParamUtil
::
copyObj2Array
(
$v_param
,
$this
,
"user_id"
);
ParamUtil
::
copyObj2Array
(
$v_param
,
$this
,
"title"
);
ParamUtil
::
copyObj2ArrayNullField
(
$v_param
,
$this
,
"comment"
);
ParamUtil
::
attach_dat_type
(
$v_param
,
$this
,
"attach_dat_type"
);
ParamUtil
::
attach_dat_id
(
$v_param
,
$this
,
"attach_dat_id"
);
ParamUtil
::
copyObj2ArrayNullField
(
$v_param
,
$this
,
"attach_dat_type"
);
ParamUtil
::
copyObj2Array
(
$v_param
,
$this
,
"attach_dat_id"
);
ParamUtil
::
copyObj2ArrayNullField
(
$v_param
,
$this
,
"attach_dat_path"
);
ParamUtil
::
copyObj2Array
(
$v_param
,
$this
,
"is_read"
);
ParamUtil
::
copyObj2Array
(
$v_param
,
$this
,
"delete_flg"
);
...
...
src/cn/compass/entity/UserMst.inc
View file @
85e94740
<?php
/**
* UserMst Entity
* $Id: UserMst.inc,v 1.1 2020/2/2
3 21:15:58
Exp $
* $Id: UserMst.inc,v 1.1 2020/2/2
7 14:40:01
Exp $
* @author zb
* @package jp.compass.entity
* @access public
...
...
src/cn/compass/entity/UserPointLog.inc
View file @
85e94740
<?php
/**
* UserPointLog Entity
* $Id: UserPointLog.inc,v 1.1 2020/2/2
3 21:15:58
Exp $
* $Id: UserPointLog.inc,v 1.1 2020/2/2
7 14:40:01
Exp $
* @author zb
* @package jp.compass.entity
* @access public
...
...
src/cn/compass/entity/VolunteerEventDat.inc
View file @
85e94740
<?php
/**
* VolunteerEventDat Entity
* $Id: VolunteerEventDat.inc,v 1.1 2020/2/2
3 21:15:58
Exp $
* $Id: VolunteerEventDat.inc,v 1.1 2020/2/2
7 14:40:01
Exp $
* @author zb
* @package jp.compass.entity
* @access public
...
...
@@ -12,6 +12,7 @@ class VolunteerEventDat extends CompassDynamicData
var
$comment
;
var
$start_time
;
var
$finish_time
;
var
$enroll_time
;
var
$front_image
;
var
$position
;
var
$position_longitude
;
...
...
@@ -26,10 +27,12 @@ class VolunteerEventDat extends CompassDynamicData
var
$district
;
var
$include_social_user
;
var
$max_member
;
var
$member_count
;
var
$time_length
;
var
$leader_name
;
var
$leader_contact
;
var
$venue
;
var
$venue_time
;
var
$status
;
var
$delete_flg
;
...
...
@@ -47,6 +50,7 @@ class VolunteerEventDat extends CompassDynamicData
$this
->
comment
=
$record
[
"comment"
];
$this
->
start_time
=
$record
[
"start_time"
];
$this
->
finish_time
=
$record
[
"finish_time"
];
$this
->
enroll_time
=
$record
[
"enroll_time"
];
$this
->
front_image
=
$record
[
"front_image"
];
$this
->
position
=
$record
[
"position"
];
$this
->
position_longitude
=
$record
[
"position_longitude"
];
...
...
@@ -61,10 +65,12 @@ class VolunteerEventDat extends CompassDynamicData
$this
->
district
=
$record
[
"district"
];
$this
->
include_social_user
=
$record
[
"include_social_user"
];
$this
->
max_member
=
$record
[
"max_member"
];
$this
->
member_count
=
$record
[
"member_count"
];
$this
->
time_length
=
$record
[
"time_length"
];
$this
->
leader_name
=
$record
[
"leader_name"
];
$this
->
leader_contact
=
$record
[
"leader_contact"
];
$this
->
venue
=
$record
[
"venue"
];
$this
->
venue_time
=
$record
[
"venue_time"
];
$this
->
status
=
$record
[
"status"
];
$this
->
delete_flg
=
$record
[
"delete_flg"
];
}
...
...
@@ -134,6 +140,7 @@ class VolunteerEventDat extends CompassDynamicData
ParamUtil
::
copyObj2Array
(
$v_param
,
$this
,
"comment"
);
ParamUtil
::
copyObj2Array
(
$v_param
,
$this
,
"start_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
,
"position"
);
ParamUtil
::
copyObj2Array
(
$v_param
,
$this
,
"position_longitude"
);
...
...
@@ -148,10 +155,12 @@ class VolunteerEventDat extends CompassDynamicData
ParamUtil
::
copyObj2ArrayNullField
(
$v_param
,
$this
,
"district"
);
ParamUtil
::
copyObj2Array
(
$v_param
,
$this
,
"include_social_user"
);
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
,
"leader_name"
);
ParamUtil
::
copyObj2Array
(
$v_param
,
$this
,
"leader_contact"
);
ParamUtil
::
copyObj2Array
(
$v_param
,
$this
,
"venue"
);
ParamUtil
::
copyObj2Array
(
$v_param
,
$this
,
"venue_time"
);
ParamUtil
::
copyObj2Array
(
$v_param
,
$this
,
"status"
);
ParamUtil
::
copyObj2Array
(
$v_param
,
$this
,
"delete_flg"
);
...
...
src/cn/compass/entity/VolunteerEventMemberDat.inc
View file @
85e94740
<?php
/**
* VolunteerEventMemberDat Entity
* $Id: VolunteerEventMemberDat.inc,v 1.1 2020/2/2
5 20:50:48
Exp $
* $Id: VolunteerEventMemberDat.inc,v 1.1 2020/2/2
7 14:40:01
Exp $
* @author zb
* @package jp.compass.entity
* @access public
...
...
src/user/if/ajax_get_volunteer_event_detail.php
View file @
85e94740
...
...
@@ -63,7 +63,7 @@ if($tmpCount > 0) {
//报名是否已经结束
$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
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment