springboot升级2.4.2,代码优化去掉无用代码

This commit is contained in:
taochengbo
2021-01-16 22:22:56 +08:00
committed by xuwenbo
parent aaeb0ddee5
commit ef8b3e55a7
36 changed files with 81 additions and 40 deletions

View File

@ -1149,6 +1149,7 @@ public class YxStoreOrderServiceImpl extends BaseServiceImpl<StoreOrderMapper, Y
wrapper.eq(YxStoreOrder::getPaid,OrderInfoEnum.PAY_STATUS_1.getValue())
.in(YxStoreOrder::getRefundStatus, Arrays.asList(strs));
break;
default:
}
Page<YxStoreOrder> pageModel = new Page<>(page, limit);

View File

@ -436,6 +436,7 @@ public class YxStoreProductServiceImpl extends BaseServiceImpl<StoreProductMappe
wrapper.eq(YxStoreProduct::getIsHot,
ShopCommonEnum.IS_STATUS_1.getValue());
break;
default:
}
Page<YxStoreProduct> pageModel = new Page<>(page, limit);

View File

@ -14,9 +14,15 @@ import java.util.List;
@Setter
public class AppointInfoDto {
private String a_num; //包邮件数
private String a_price; //包邮费用
private List<RegionDto> place; //包邮地区
/** 包邮件数 */
private String a_num;
/** 包邮费用 */
private String a_price;
/** 包邮地区 */
private List<RegionDto> place;
private String placeName;
}

View File

@ -161,6 +161,7 @@ public class YxSystemUserTaskServiceImpl extends BaseServiceImpl<SystemUserTaskM
sumNumber = userBillService.cumulativeAttendance(uid);
title = "还需签到{0}天";
break;
default:
}
if(sumNumber >= taskQueryVo.getNumber()){

View File

@ -541,6 +541,7 @@ public class YxUserServiceImpl extends BaseServiceImpl<UserMapper, YxUser> imple
.round(NumberUtil.mul(order.getTotalPrice(),storeBrokerageTwo),2);
//固定返佣 + 比例返佣 = 总返佣金额
return NumberUtil.add(twoBrokerage,storeBrokerageTwoPrice);
default:
}