20201112
This commit is contained in:
@@ -167,9 +167,6 @@ class Staff extends Controller {
|
||||
*/
|
||||
public function getStaffArticles(){
|
||||
$data = $this->request->post();
|
||||
// $data['staff_id'] = 8;
|
||||
// $data['date'] = '202104';
|
||||
// $staff_info = $this->staff_obj->where('staff_id',$data['staff_id'])->find();
|
||||
$journals = $this->journal_obj->where('staff_id',$data['staff_id'])->select();
|
||||
if ($data['date'] != date('Ym')) {
|
||||
$c_time = strtotime("-1 month", strtotime($data['date'] . '26 00:00:00'));
|
||||
@@ -392,8 +389,6 @@ class Staff extends Controller {
|
||||
|
||||
//获取实时期刊提成情况
|
||||
if (date('d') > 25) {
|
||||
// $ch_time = strtotime(date('Y-m').'-26 00:00:00');
|
||||
// $where['ctime'] = array('>',$ch_time);
|
||||
//返回log数据
|
||||
$log_res = $this->staff_log_obj->where('staff_id', $staff_info['staff_id'])->where('date', date('Ym'))->where('state', 0)->find();
|
||||
if ($log_res) {
|
||||
|
||||
Reference in New Issue
Block a user