Commit c4f261b2 authored by zhengyi's avatar zhengyi

Merge branch 'master-fix' into dev

parents 6c05fe89 ed8f4162
......@@ -2462,7 +2462,8 @@ public class OrderExceptionServiceImpl extends AbstractService<OrderExceptionMap
//queryWrapper.in("ec.customer_service", reqVo.getCustomerIds());
//"AND (o.`salesman_id` = #{query.salesmanId} or o.`customer_id` in(select cus.id from ecw_customer cus where cus.is_customer_service_confirmed = 1 and cus.customer_service = #{query.salesmanId} ))",
queryWrapper.and(wrapper -> wrapper.in("a.salesman_id", reqVo.getCustomerIds()).or().apply("a.customer_id in(select cus.id from ecw_customer cus where cus.is_customer_service_confirmed = 1 and cus.customer_service in ({0}))", ArrayUtil.join(reqVo.getCustomerIds().toArray(), ",")));
// queryWrapper.and(wrapper -> wrapper.in("a.salesman_id", reqVo.getCustomerIds()).or().apply("a.customer_id in(select cus.id from ecw_customer cus where cus.is_customer_service_confirmed = 1 and cus.customer_service in ({0}))", ArrayUtil.join(reqVo.getCustomerIds().toArray(), ",")));
queryWrapper.and(wrapper -> wrapper.in("a.salesman_id", reqVo.getCustomerIds()));
//queryWrapper.in("a.salesman_id", reqVo.getCustomerIds());
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment