...
|
...
|
@@ -69,7 +69,7 @@ class TeamModel extends Model |
|
|
* @param $team_id
|
|
|
* @return float|int
|
|
|
*/
|
|
|
private function myTime($user_id,$team_id){
|
|
|
public function myTime($user_id,$team_id){
|
|
|
$map['user_id']=$user_id;
|
|
|
$map['team_id']=$team_id;
|
|
|
$time=db('team_work_log')->where($map)->sum('work_time');
|
...
|
...
|
|