bug
This commit is contained in:
@@ -79,7 +79,7 @@ public class ExpressFeeServiceImpl extends ServiceImpl<ExpressFeeDao, ExpressFee
|
||||
}
|
||||
QueryWrapper<ExpressFee> queryWrapper = new QueryWrapper<>();
|
||||
queryWrapper.eq("dest_code", regionCode);
|
||||
queryWrapper.eq("express_code", "YD");
|
||||
queryWrapper.eq("express_code", "SF");
|
||||
ExpressFee expressFee = this.getOne(queryWrapper);
|
||||
BigDecimal firstWeightFee = expressFee.getFirstWeightFee();
|
||||
if (weight.compareTo(new BigDecimal(0)) >= 0 && weight.compareTo(new BigDecimal(1)) < 0) {
|
||||
|
||||
@@ -37,7 +37,7 @@ public class PointCategoryServiceImpl extends ServiceImpl<PointCategoryDao, Poin
|
||||
public List<PointCategoryEntity> getCategoryListByPid(Integer id) {
|
||||
LambdaQueryWrapper<PointCategoryEntity> wrapper = new LambdaQueryWrapper<>();
|
||||
wrapper.eq(PointCategoryEntity::getPid,id);
|
||||
wrapper.orderByDesc(PointCategoryEntity::getSort);
|
||||
wrapper.orderByAsc(PointCategoryEntity::getSort);
|
||||
List<PointCategoryEntity> list = list(wrapper);
|
||||
return list;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user