摘要:
where条件查询,时间范围查询 $condition = [ ['type', 'IN', '1,2,3'], ['allocate_id', '=', 0], ['member_id', '=', 0], ['card_code', '>=', $start_code], ['card_code 阅读全文
posted @ 2020-01-07 14:29
在斑马线上散布
阅读(387)
评论(0)
推荐(0)
摘要:
如统计已激活设备数量和未激活设备数量 $condition = [ ['member_id', '=', $member_id] ]; $field = [ 'COUNT(IF(active_member_id > 0, 1, null)) as actived_num', 'COUNT(IF(ac 阅读全文
posted @ 2020-01-07 14:12
在斑马线上散布
阅读(1105)
评论(0)
推荐(0)

浙公网安备 33010602011771号