|
|
@@ -18,7 +18,7 @@ import java.util.Date;
|
|
|
*/
|
|
|
@Getter
|
|
|
@Setter
|
|
|
-@SearchBean(tables = "(select id,name,remark,code,created_time from user_distribute_popularize where deleted is true :userId:) dp left join order_don od on od.cps_popularize_id = dp.id" +
|
|
|
+@SearchBean(tables = "(select id,name,remark,code,created_time,goods_id from user_distribute_popularize where deleted is true :userId:) dp left join order_don od on od.cps_popularize_id = dp.id" +
|
|
|
" and od.status not in ('close','noPayment') and od.relation_id != 0 and is_fixed_distribute is true" +
|
|
|
" left join distribute_waiting_send_points dsp on dsp.order_id = od.id and dsp.send_status in ('success','waiting')",
|
|
|
groupBy = "dp.id,dp.name,dp.code,dp.remark,dp.created_time,dp.goods_id")
|