chuweiqiang 1 年之前
父节点
当前提交
ffa4070a5e
共有 1 个文件被更改,包括 5 次插入5 次删除
  1. 5 5
      app/data/controller/api/auth/DemandLabor.php

+ 5 - 5
app/data/controller/api/auth/DemandLabor.php

@@ -73,19 +73,19 @@ class DemandLabor extends Auth
                             case 1:
                                 break;
                             case 2:
-                                $query->where('salary_start','<','4');
+                                $query->where('salary_start','<','4000');
                                 break;
                             case 3:
-                                $query->whereRaw('(salary_start>=4 and salary_start<6) or (salary_end>=4 and salary_end<6)');
+                                $query->whereRaw('(salary_start>=4000 and salary_start<6000) or (salary_end>=4 and salary_end<6000)');
                                 break;
                             case 4:
-                                $query->whereRaw('(salary_start>=6 and salary_start<8) or (salary_end>=6 and salary_end<8)');
+                                $query->whereRaw('(salary_start>=6000 and salary_start<8000) or (salary_end>=6 and salary_end<8000)');
                                 break;
                             case 5:
-                                $query->whereRaw('(salary_start>=8 and salary_start<12) or (salary_end>=8 and salary_end<12)');
+                                $query->whereRaw('(salary_start>=8000 and salary_start<12000) or (salary_end>=8 and salary_end<12000)');
                                 break;
                             case 6:
-                                $query->whereRaw('(salary_start>=12) or (salary_end>=12)');
+                                $query->whereRaw('(salary_start>=12000) or (salary_end>=12000)');
                                 break;
                         }
                     })