Commit 215a4e11 authored by daniel's avatar daniel

feat(banner): banner上传逻辑处理

parent 825a743d
......@@ -101,7 +101,7 @@ public class BannerService {
if(partner != null && StringUtils.isNotBlank(partner.getPartnerId())){
partnerId = partner.getPartnerId();
// 限制其他赛事的处理
if(partnerId!=GEEXEK_PARTNER_ID){
if(partnerId != GEEXEK_PARTNER_ID){
return null;
}
}
......@@ -114,6 +114,7 @@ public class BannerService {
banner.setPartnerId(partnerId);
if(banner.getId() == null){
bannerMapper.insertPartnerBanner(banner);
return banner;
}else{
bannerMapper.updatePartnerBanner(banner);
}
......
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