|
@ -27,6 +27,7 @@ |
|
|
where t.DEL_FLAG = '0' |
|
|
where t.DEL_FLAG = '0' |
|
|
and t.SHIELD_FLAG = '0' |
|
|
and t.SHIELD_FLAG = '0' |
|
|
and t.GROUP_BUY_STATUS != '10' |
|
|
and t.GROUP_BUY_STATUS != '10' |
|
|
|
|
|
order by t.TOP_FLAG desc, t.TOP_TIME desc, t.GROUP_BUY_STATUS, t.CREATED_TIME desc |
|
|
limit #{pageIndex},#{pageSize}) egbi |
|
|
limit #{pageIndex},#{pageSize}) egbi |
|
|
left join |
|
|
left join |
|
|
epdc_custom_img t1 on egbi.ID = t1.REFERENCE_ID and t1.IMG_TYPE = 'group_buy' and t1.DEL_FLAG = '0' |
|
|
epdc_custom_img t1 on egbi.ID = t1.REFERENCE_ID and t1.IMG_TYPE = 'group_buy' and t1.DEL_FLAG = '0' |
|
@ -127,9 +128,9 @@ |
|
|
left join epdc_group_buy_sign_up t2 on t2.GROUP_BUY_ID = t.ID and t2.DEL_FLAG = '0' |
|
|
left join epdc_group_buy_sign_up t2 on t2.GROUP_BUY_ID = t.ID and t2.DEL_FLAG = '0' |
|
|
where t.DEL_FLAG = '0' |
|
|
where t.DEL_FLAG = '0' |
|
|
and t.SHIELD_FLAG = '0' |
|
|
and t.SHIELD_FLAG = '0' |
|
|
and t.GROUP_BUY_STATUS != 10 |
|
|
|
|
|
and t2.USER_ID = #{userId} |
|
|
and t2.USER_ID = #{userId} |
|
|
and t2.SIGN_UP_STATUS != 10 |
|
|
and t2.SIGN_UP_STATUS != 10 |
|
|
|
|
|
order by t.GROUP_BUY_STATUS, t.CREATED_TIME desc |
|
|
limit #{pageIndex},#{pageSize}) egbi |
|
|
limit #{pageIndex},#{pageSize}) egbi |
|
|
left join |
|
|
left join |
|
|
epdc_custom_img t1 |
|
|
epdc_custom_img t1 |
|
@ -170,6 +171,7 @@ |
|
|
t.DEL_FLAG = '0' |
|
|
t.DEL_FLAG = '0' |
|
|
and t.SHIELD_FLAG = '0' |
|
|
and t.SHIELD_FLAG = '0' |
|
|
and t.USER_ID = #{userId} |
|
|
and t.USER_ID = #{userId} |
|
|
|
|
|
order by t.GROUP_BUY_STATUS, t.CREATED_TIME desc |
|
|
limit #{pageIndex},#{pageSize})egbi |
|
|
limit #{pageIndex},#{pageSize})egbi |
|
|
left join |
|
|
left join |
|
|
epdc_custom_img t1 |
|
|
epdc_custom_img t1 |
|
|