package com.hzya.frame.plugin.lets.plugin.sales;

import com.hzya.frame.WebappApplication;
import org.junit.jupiter.api.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringRunner;

/**
 * @Author：liuyang
 * @Package：com.hzya.frame.plugin.lets.plugin.sales
 * @Project：kangarooDataCenterV3
 * @name：SoSaleReturnPluginInitializerToCTest
 * @Date：2024/8/9 09:56
 * @Filename：SoSaleReturnPluginInitializerToCTest
 */
@RunWith(SpringRunner.class)
@SpringBootTest(classes = WebappApplication.class)
public class SoSaleReturnPluginInitializerToCTest {

    @Autowired
    private SoSaleReturnPluginInitializerToC soSaleReturnPluginInitializerToC;

    @Test
    public void startImplement() {
//        soSaleReturnPluginInitializerToC.startImplement(null, null);
        try {
            String code = "LETS-RE2024091400000001";
            soSaleReturnPluginInitializerToC.startImplementByCode(code, "tran");
        } catch (Exception e) {
            e.printStackTrace();
        }
    }
}