hechunping

hechunping pushed to master at wangchaohua/platmarketing

  • 475cf346f9 fix(marketing): 修复促销时间判断逻辑 - 优化了促销时间判断逻辑,确保订单时间在指定时间段内才满足条件 - 新增 timeCondition 变量,用于记录订单时间是否符合要求- 遍历所有时间段,只有当订单时间在某个时间段内时,才将该促销保留- 如果订单时间不符合任何时间段,则移除该促销

2 months ago

hechunping pushed to master at wangchaohua/platmarketing

2 months ago

hechunping pushed to master at wangchaohua/platmarketing

  • 5b0dec3180 refactor(marketing): 根据会员获得的优惠券来判断

2 months ago

hechunping pushed to master at wangchaohua/platmarketing

  • 9d5f94f466 refactor(marketing): 修改活动商品查询参数名称 - 将查询参数 "type" 修改为 "actType",以更准确地反映参数含义 - 这个改动旨在提高代码的可读性和可维护性,使参数名称更加清晰

2 months ago

hechunping pushed to master at wangchaohua/platmarketing

  • 24038d9da5 fix(coupon): 修复商家赠券日期比较错误 - 将订单创建时间转换为 LocalDate 类型,以便进行日期比较 - 修改查询条件,使用转换后的 LocalDate进行日期比较,确保日期范围判断准确

2 months ago

hechunping pushed to master at wangchaohua/platmarketing

  • 3a72666f1e feat(marketing): 促销活动优惠券使用规则优化 -增加 ableCoupon 字段,用于判断是否可以使用优惠券 - 根据促销活动的 canCoupon 属性动态设置 ableCoupon - 优化了优惠券使用的逻辑判断 - 新增时间段判断逻辑,只保留符合时间条件的促销活动

2 months ago

hechunping pushed to master at wangchaohua/platmarketing

  • a4aeaebdcc fix(coupon): 过滤过期的优惠券 - 在多个方法中添加过滤过期优惠券的逻辑 - 新增 filterCouponValidEndDate 方法用于过滤过期的优惠券 - 优化了优惠券查询和赠送的相关逻辑

2 months ago

hechunping pushed to master at wangchaohua/platmarketing

  • 5d574e18d4 refactor(marketing): 更新会员优惠券状态逻辑 - 将获取当前时间的逻辑改为获取前一天的日期 - 优化了自动更新优惠券状态的方法,确保正确处理已结束的优惠券

4 months ago

hechunping pushed to master at wangchaohua/platmarketing

  • 01d692223d fix(marketing): 修复会员领券时设备绑定活动id错误- 将设备列表查询条件中的 actId 字段从 mercCoupon.getInt("actId") 修改为 mercCoupon.getInt("id") - 确保设备绑定的活动id与优惠券的id一致,避免错误绑定

4 months ago

hechunping pushed to master at wangchaohua/platmarketing

  • 18dc48cfc6 refactor(marketing): 优化商户优惠券查询条件 -增加商户 ID 和状态的查询条件 - 提高了查询的灵活性和准确性

4 months ago

hechunping pushed to master at wangchaohua/platmarketing

  • a4837232da perf(promotion): 优化满减金额计算逻辑 - 在处理促销列表时,增加对促销类型的判断,只处理满减类型(T_1)的促销活动 - 通过 continue 语句跳过非满减类型的促销,提高代码执行效率

4 months ago

hechunping pushed to master at wangchaohua/platmarketing

  • 8ee35d5cfb refactor(marketing): 修正会员优惠券查询逻辑 - 将查询条件从 "thirdMercId" 修改为 "thirdMemberId",以正确处理会员 ID - 更新 autoUpdateStatus 方法的调用参数,确保使用正确的会员 ID

6 months ago

hechunping pushed to master at wangchaohua/platmarketing

  • d50d5b0160 feat(MemberCouponServiceImpl): 添加会员优惠券自动更新状态功能 - 在查询优惠券时,如果传入了 thirdMercId 参数,则自动调用 autoUpdateStatus 方法更新优惠券状态 - 新增 autoUpdateStatus 方法,用于更新已结束的优惠券状态为禁用 -优化了 commonQueryWrapper 方法,移除了多余的空行
  • 13c0067743 fix(marketing): 修复活动查询时的空指针异常 - 在 commonQueryWrapper 方法中添加了对 mercId 的非空检查- 避免了传入空参数时可能导致的空指针异常
  • View comparison for these 2 commits »

6 months ago

hechunping pushed to master at wangchaohua/platmarketing

  • 2186795435 feat(Promotion): 添加促销活动状态自动更新功能

6 months ago

hechunping pushed to master at wangchaohua/platmarketing

  • b60703ff84 refactor(marketing): 优化营销信息展示 - 在折券和满减券的优惠信息中添加商户券ID和名称 -优化满减券减价信息的显示格式 - 在促销活动的优惠信息中添加活动ID和名称 - 统一折价和满减活动的信息展示格式

6 months ago

hechunping pushed to master at wangchaohua/platmarketing

  • f90a6ad455 refactor(marketing): 优化查询结果排序方式 - 将 MemberCoupon、MercCoupon、Merc、Promotion 和 Provider 服务实现类中的查询方法 - 从按 ID 升序排序改为按 ID降序排序 - 这种优化可以提供更符合用户期望的查询结果顺序

6 months ago

hechunping pushed to master at wangchaohua/platmarketing

  • de0686d4aa refactor(MemberCouponServiceImpl): 修改分页查询参数

6 months ago

hechunping pushed to master at wangchaohua/platmarketing

  • 9001ee63c1 fix(marketing): 修复会员优惠券商品总价计算逻辑 - 新增计算符合优惠券条件的商品总价的逻辑 - 修改满减判断逻辑,使用计算出的优惠券商品总价进行比较 - 优化代码结构,提高可读性和可维护性

6 months ago

hechunping pushed to master at wangchaohua/platmarketing

  • a805851d67 refactor(coupon): 重构优惠券发送功能 - 优化了 commonSend 方法的参数获取逻辑- 在 registerSend 方法中增加了备注信息 - 提高了代码的可读性和可维护性

6 months ago

hechunping pushed to master at wangchaohua/platmarketing

  • c0b73f4303 refactor(marketing): 优化会员优惠券服务的代码逻辑 - 添加商品 ID 列表的提取,提高代码可读性 - 增加商家优惠券的查询和映射,以便后续使用 - 优化设备和商品限制的判断逻辑 - 修复价格限制判断中的 JSON 解析问题
  • d138807a11 feat(service): 增加批量查询优惠券功能 - 在 commonQueryWrapper 方法中添加了对 idList 参数的处理 - 实现了根据多个 ID 进行批量查询优惠券的功能
  • f3f0f5385b refactor(MercProjectGoodsServiceImpl): 优化 commonQueryWrapper 方法 - 添加了对 actType、goodsIdList 和 actId 参数的查询条件 - 提高了查询的灵活性和准确性
  • View comparison for these 3 commits »

6 months ago