/app/services/activity/coupon/StoreCouponIssueServices.php文件
getCouponIssueList(array $where)方法
$list = $this->dao->getList($where, $page, $limit);
foreach ($list as &$item) {
if (!$item['coupon_time']) {
$item['coupon_time'] = ceil(($item['end_use_time'] - $item['start_use_time']) / '86400');
}
$item['coupon_time'] = $item['coupon_time'] . '天';
}
$count = $this->dao->count($where);
我在where里增加其他条件均无效,其他地方修改都没啥问题,唯独优惠卷这里,查询条件无效