| | |
| | | and o.payment_time < #{dto.endDate} |
| | | </if> |
| | | <if test="dto.partnerId != null"> |
| | | and o.create_by in ( |
| | | select user_id from t_customer_info where partner_id=#{dto.partnerId} |
| | | ) |
| | | and o.partner_id=#{dto.partnerId} |
| | | </if> |
| | | ) t |
| | | |
| | |
| | | and o.payment_time < #{dto.endDate} |
| | | </if> |
| | | <if test="dto.partnerId != null"> |
| | | and o.create_by in ( |
| | | select user_id from t_customer_info where partner_id=#{dto.partnerId} |
| | | ) |
| | | and o.partner_id=#{dto.partnerId} |
| | | </if> |
| | | ) t |
| | | |
| | |
| | | and o.payment_time < #{dto.endDate} |
| | | </if> |
| | | <if test="dto.partnerId != null"> |
| | | and o.create_by in ( |
| | | select user_id from t_customer_info where partner_id=#{dto.partnerId} |
| | | ) |
| | | and o.partner_id=#{dto.partnerId} |
| | | </if> |
| | | </select> |
| | | |
| | |
| | | and o.payment_time < #{dto.endDate} |
| | | </if> |
| | | <if test="dto.partnerId != null"> |
| | | and o.create_by in ( |
| | | select user_id from t_customer_info where partner_id=#{dto.partnerId} |
| | | ) |
| | | and o.partner_id=#{dto.partnerId} |
| | | </if> |
| | | </select> |
| | | |