oaMessageTest.java
824 Bytes
package com.huaheng.test;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.huaheng.pc.srm.domain.SrmDetail;
import com.huaheng.pc.srm.service.SrmDetailService;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
import javax.annotation.Resource;
//@RunWith(SpringJUnit4ClassRunner.class)
//@SpringBootTest
public class oaMessageTest {
// @Resource
// private SrmDetailService srmDetailService;
// @Test
// public void oaMessage(){
// SrmDetail srmDetail = srmDetailService.getOne(new LambdaQueryWrapper<SrmDetail>().eq(SrmDetail::getLineCode, "J202302075800800001"));
// srmDetailService.toOaMessage(srmDetail);
// }
}