package com.zy.asrs.task.handler; import com.zy.asrs.entity.OrderPakin; import com.zy.asrs.entity.OrderPakout; import com.zy.asrs.service.*; import com.zy.asrs.task.AbstractHandler; import com.zy.asrs.task.core.ReturnT; import lombok.extern.slf4j.Slf4j; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.jdbc.core.JdbcTemplate; import org.springframework.stereotype.Service; import org.springframework.transaction.annotation.Transactional; /** * Created by vincent on 2020/7/7 */ @Slf4j @Service public class OrderSyncHandler extends AbstractHandler { @Autowired private JdbcTemplate jdbcTemplate; @Autowired private OrderPakinService orderPakinService; @Autowired private OrderPakoutService orderPakoutService; @Autowired private OrderDetlPakinService orderDetlPakinService; @Autowired private OrderDetlPakoutService orderDetlPakoutService; @Autowired private OrderDetlReportService orderDetlReportService; @Autowired private ApiLogService apiLogService; @Autowired private DocTypeService docTypeService; @Transactional public ReturnT start(OrderPakin order) { return SUCCESS; } @Transactional public ReturnT start(OrderPakout order) { return SUCCESS; } }