move files and delete files

This commit is contained in:
Erkan IŞIK
2026-07-02 08:16:19 +03:00
parent 6a9f41c88b
commit c3c68ebc1b
22 changed files with 1894 additions and 0 deletions
+37
View File
@@ -0,0 +1,37 @@
<?php
function taskType(){
return DB::tasktypeResult();
}
function bugs(){
return DB::where('status',1)->bugsResult();
}
function bugsRow($id){
return DB::where('id',$id)->bugsRow();
}
function taskTypeName($id){
return DB::select('tasktype')->where('id', $id)->get('tasktype')->value();
}
function taskName($id){
return DB::whereId($id)->tasktypeRowTasktype();
}
function taskTypeList($id = 0){
if ($id==0) {
return DB::orderBY('id','desc')->where('contentId','0')->bugsResult();
//return DB::orderBY('id','desc')->whereNot('status','0')->bugsResult();
}else{
return DB::orderBY('id','desc')->whereAnd('tasktype',$id)->whereNot('status','0')->bugsResult();
}
}
function bugsResult($id){
return DB::where('contentId',$id)->bugsResult();
}