update 右侧标准抽屉字典
This commit is contained in:
+30
@@ -0,0 +1,30 @@
|
||||
package com.jero.modules.standard.domestic;
|
||||
|
||||
import com.jero.JeroSystemSingleApplication;
|
||||
import com.jero.modules.laws.standard.entity.LawsDomesticStandard;
|
||||
import com.jero.modules.laws.standard.service.ILawsDomesticStandardService;
|
||||
import org.junit.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: liao
|
||||
* @Date: 2023/9/14 17:14
|
||||
* @Description:
|
||||
*/
|
||||
@RunWith(SpringRunner.class)
|
||||
@SpringBootTest(webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT,classes = JeroSystemSingleApplication.class)
|
||||
public class StandardTest {
|
||||
|
||||
@Autowired
|
||||
private ILawsDomesticStandardService lawsDomesticStandardService;
|
||||
|
||||
@Test
|
||||
public void getByIdTest() {
|
||||
LawsDomesticStandard byId = lawsDomesticStandardService.getById("86a75ae628c9485ca002b56551606684");
|
||||
System.out.println(byId);
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user