Staff.php 556 B

12345678910111213141516171819202122232425
  1. <?php
  2. /**
  3. * Author: luzheng.liu
  4. * Time: 2021/5/7 23:14
  5. */
  6. namespace app\cron;
  7. use app\api\model\StoreModel;
  8. use think\db\Where;
  9. class Staff {
  10. // php /public/index.php /cron/Staff/turnStaff
  11. public function turnStaff() {
  12. $yDate = date('Y-m-d H:i:s', strtotime('-1 day'));
  13. // $storeModel = new StoreModel();
  14. // $storeModel->alias('s')
  15. // ->join('staff sta','sta.store_id = s.id')
  16. // ->join('allocate_staff astf','astf.staff_id = sta.id')
  17. // ->where([['server_start_time','','']])
  18. }
  19. }