SELECT * FROM `sdb_b2c_orders` WHERE
(pay_status='1' AND ship_status='0')
OR
(pay_status='0' AND payment='-1' AND ship_status='0')
Yii2的model 如果写出这样的过滤规则呢??orWhere() andWhere()方法也无法在OR () 括号里面 像上面嵌套and
慕森王
人到中年有点甜
相关分类