czt
2025-10-31 8172572f01c0baa527085243e010afa4bec5efcc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
package com.fzzy.push.sx2025;
 
import com.fzzy.api.data.PushProtocol;
import com.fzzy.api.entity.ApiConfs;
import com.fzzy.order.sx.OrderSxService;
import com.fzzy.order.sx.data.OrderSxConstant;
import com.fzzy.order.sx.data.OrderSxReq;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;
import java.text.ParseException;
 
/**
 * @Description 陕西省平台2025版-指令解析
 * @Author CZT
 * @Date 2025/10/29 10:26
 */
@Slf4j
@Service
public class SX2025OrderServiceImpl implements OrderSxService {
 
    @Override
    public String getProtocol() {
        return PushProtocol.SB_SX_2025.getCode();
    }
 
    @Override
    public void execute(OrderSxReq req, ApiConfs apiConfs) throws ParseException {
        // 若指令类型不为1,则返回
        if (!OrderSxConstant.ORDER_SX_TYPE_1.equals(req.getType())) {
            log.error("陕西省平台2025版接口:收到指令,指令类型不为1,不执行数据上报!,指令类型={}", req.getType());
            return;
        }
        log.error("陕西省平台2025版接口:暂无指令上传功能;");
    }
}