Where与Or_Where连用时似乎会冲突导致
Or_Where捨弃条件。
雷:但是SQL语法印出来还是正确的
结果是错误的。
$this->db->where('supervisor_1_code',$trial_staff_code);$this->db->or_where('supervisor_2_code',$trial_staff_code);
Where与Or_Where连用时似乎会冲突导致
Or_Where捨弃条件。
雷:但是SQL语法印出来还是正确的
结果是错误的。
$this->db->where('supervisor_1_code',$trial_staff_code);$this->db->or_where('supervisor_2_code',$trial_staff_code);