| | |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.scheduling.annotation.Async; |
| | | import org.springframework.scheduling.annotation.Scheduled; |
| | | import org.springframework.stereotype.Component; |
| | | |
| | | import java.util.List; |
| | | |
| | |
| | | * Created by vincent on 2020/7/7 |
| | | */ |
| | | @Slf4j |
| | | @Component |
| | | //@Component |
| | | public class OrderSyncScheduler { |
| | | |
| | | @Autowired |
| | |
| | | // case 223: |
| | | case 227: |
| | | return 3; |
| | | case 305: |
| | | case 303: |
| | | case 301: |
| | | return 4; |
| | | default: |
| | | throw new CoolException("根据入库站获取库位排号分配失败,入库站:" + sourceStaNo); |
| | | } |