$where1 = array(
'uid' => array('eq', $id),
'type' => array('eq', 1),
'trade_type' => array('eq', 1),
'status' => array('in', array(2,3,4))
);
$where = array(
'_complex' => $where1, // 复合查询
'_logic' => 'or', // 关系为or
'_string' => 'b_uid='.$id.' AND type=2 AND trade_type=1 AND status in (2,3,4)',
);

相关文章:

  • 2022-02-03
  • 2022-12-23
  • 2022-12-23
  • 2021-09-08
  • 2021-09-29
  • 2021-05-28
  • 2022-12-23
猜你喜欢
  • 2021-11-11
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-02-03
  • 2021-04-02
  • 2022-01-02
相关资源
相似解决方案