longz
2026-04-21 58c73134fb1ce10c1ea1d95ee66d8c89557d7dee
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
package com.sinata.appointment.service;
 
import com.sinata.appointment.constants.AppointmentOrderStatus;
import com.sinata.appointment.entity.AppointmentOrder;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;
 
/**
 * 微信公众号模板消息适配桩。
 */
@Slf4j
@Service
public class IntegrationWechatService {
 
    public void notifyApprovalFinalResult(AppointmentOrder order, boolean approved) {
        log.info(
                "WeChat stub: notify submitterId={} orderNo={} result={}",
                order.getSubmitterId(),
                order.getOrderNo(),
                approved ? AppointmentOrderStatus.APPROVED : AppointmentOrderStatus.REJECTED);
    }
}