Commit 45eff26d by 王璐琦

fix(CustomerCoupon): 修正新增客户优惠券时设置创建人

- 在新增客户优惠券接口中添加了创建人信息设置
- 使用 CommonUtil.getUserName() 获取当前用户作为创建者

fix(strategy): 更新取消客户产品标签任务描述及日志信息

- 修改注释及配置中任务描述为“取消订单客户产品标签任务”
- 更新日志信息,去除“退款”字样,准确反映任务功能
- 保持任务调度配置不变,确保功能正常运行
1 parent b1715557
......@@ -9,25 +9,25 @@ import org.springframework.beans.factory.annotation.Autowired;
/**
* @ClassName CancelCustomerProductTagJob
* @Description 取消客户产品标签任务 - 16日退单数据
* @Description 取消客户产品标签任务 - 16日取消订单数据
* @Author lqWang
* @Date 2026/6/23 10:16
*/
@Slf4j
@ElasticJobConf(name = "CancelCustomerProductTagJob", cron = "0 0 1 1,16 * ?", description = "取消退款订单客户产品标签任务", overwrite = false)
@ElasticJobConf(name = "CancelCustomerProductTagJob", cron = "0 0 1 1,16 * ?", description = "取消订单客户产品标签任务", overwrite = false)
public class CancelCustomerProductTagJob implements SimpleJob {
@Autowired
private InspectionCustomerTagSyncService inspectionCustomerTagSyncService;
@Override
public void execute(ShardingContext shardingContext) {
log.info("----------------取消退款订单-客户档案产品标签任务开始-----------------");
log.info("----------------取消订单-客户档案产品标签任务开始-----------------");
try {
// 自定义参数如:指定开始、截止日期范围{"startDate":"2026-06-01","endDate":"2026-06-22"}
inspectionCustomerTagSyncService.cancelCustomerProductTagFromInspection(shardingContext.getJobParameter());
} catch (Exception e) {
log.error(e.getMessage(), e);
}
log.info("----------------取消退款订单-客户档案产品标签任务结束-----------------");
log.info("----------------取消订单-客户档案产品标签任务结束-----------------");
}
}
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!