import com.chushang.InspectionApplication;
import com.chushang.inspection.work.dto.WrkIcbcJsReceive;
import com.chushang.inspection.work.service.WrkIcbcJsService;
import lombok.extern.slf4j.Slf4j;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringRunner;

import javax.annotation.Resource;

@Slf4j
@RunWith(SpringRunner.class)
@SpringBootTest(classes = InspectionApplication.class)
public class MybatisInsertFillTest {

    @Resource
    WrkIcbcJsService wrkIcbcJsService;

    @Test
    public void save(){
        WrkIcbcJsReceive wrkIcbcJsReceive = new WrkIcbcJsReceive();
        wrkIcbcJsReceive.setMerId("merId");

        wrkIcbcJsService.receive(wrkIcbcJsReceive);
    }

}
