|
|
|
@ -1,6 +1,8 @@
|
|
|
|
|
package com.logpm.distribution; |
|
|
|
|
|
|
|
|
|
import com.logpm.distribution.dto.DistributionSignforDTO; |
|
|
|
|
import com.logpm.distribution.service.IDistributionDeliveryListService; |
|
|
|
|
import com.logpm.distribution.service.IDistributionSignforService; |
|
|
|
|
import com.logpm.distribution.vo.print.PrintPreviewVO; |
|
|
|
|
import org.junit.jupiter.api.Test; |
|
|
|
|
import org.junit.jupiter.api.extension.ExtendWith; |
|
|
|
@ -11,12 +13,15 @@ import org.springframework.beans.factory.annotation.Autowired;
|
|
|
|
|
import java.util.List; |
|
|
|
|
|
|
|
|
|
@ExtendWith(BladeSpringExtension.class) |
|
|
|
|
@BladeBootTest(appName = "logpm-distribution-tjj", enableLoader = true) |
|
|
|
|
@BladeBootTest(appName = "logpm-distribution-pref", enableLoader = true) |
|
|
|
|
public class TestService { |
|
|
|
|
|
|
|
|
|
@Autowired |
|
|
|
|
private IDistributionDeliveryListService distributionDeliveryListService; |
|
|
|
|
|
|
|
|
|
@Autowired |
|
|
|
|
private IDistributionSignforService iDistributionSignforService; |
|
|
|
|
|
|
|
|
|
@Test |
|
|
|
|
public void test2() throws Exception { |
|
|
|
|
|
|
|
|
@ -37,6 +42,17 @@ public class TestService {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
@Test |
|
|
|
|
public void test4(){ |
|
|
|
|
|
|
|
|
|
// 测试推送数据
|
|
|
|
|
DistributionSignforDTO dto = new DistributionSignforDTO(); |
|
|
|
|
iDistributionSignforService.updateSign(dto); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|