标签 优先 在本店下单过
This commit is contained in:
@@ -124,16 +124,10 @@ public class MkDistributionUserServiceImpl extends ServiceImpl<MkDistributionUse
|
|||||||
PageHelper.startPage(page, size);
|
PageHelper.startPage(page, size);
|
||||||
List<DistributionCenterShopVO> unActivates = mapper.selectUnDistributionShops(userId);
|
List<DistributionCenterShopVO> unActivates = mapper.selectUnDistributionShops(userId);
|
||||||
for (DistributionCenterShopVO unActivate : unActivates) {
|
for (DistributionCenterShopVO unActivate : unActivates) {
|
||||||
|
if (unActivate.getOrderCount() == 1) {
|
||||||
//'pay购买开通 auto自动开通 manual手动开通'
|
unActivate.setLabelContent("在本店下单过");
|
||||||
if ("pay".equals(unActivate.getOpenType())) {
|
}else if (unActivate.getShopUser() == 1) {
|
||||||
if (unActivate.getShopUser() == 1) {
|
unActivate.setLabelContent("曾进入过店铺");
|
||||||
unActivate.setLabelContent("曾进入过店铺");
|
|
||||||
}
|
|
||||||
} else if ("auto".equals(unActivate.getOpenType())) {
|
|
||||||
if (unActivate.getOrderCount() == 1) {
|
|
||||||
unActivate.setLabelContent("在本店下单过");
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
// else if("manual".equals(unActivate.getOpenType())){
|
// else if("manual".equals(unActivate.getOpenType())){
|
||||||
// unActivate.setLabelContent("manual手动开通");,
|
// unActivate.setLabelContent("manual手动开通");,
|
||||||
|
|||||||
Reference in New Issue
Block a user