pref_mail@163.com
1 year ago
5 changed files with 69 additions and 79 deletions
@ -1,57 +0,0 @@
|
||||
package com.logpm.distribution; |
||||
|
||||
|
||||
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; |
||||
import com.logpm.distribution.dto.app.StockupDTO; |
||||
import com.logpm.distribution.entity.DistributionBillLadingScanEntity; |
||||
import com.logpm.distribution.service.*; |
||||
import com.logpm.distribution.vo.OrderPackgeCodeDataVO; |
||||
import org.checkerframework.checker.units.qual.A; |
||||
import org.junit.jupiter.api.Test; |
||||
import org.junit.jupiter.api.extension.ExtendWith; |
||||
import org.springblade.core.test.BladeBootTest; |
||||
import org.springblade.core.test.BladeSpringExtension; |
||||
import org.springframework.beans.factory.annotation.Autowired; |
||||
|
||||
import java.util.HashMap; |
||||
import java.util.List; |
||||
import java.util.Map; |
||||
|
||||
import static org.springblade.common.constant.ModuleNameConstant.APPLICATION_DISTRIBUTION_NAME; |
||||
|
||||
@ExtendWith(BladeSpringExtension.class) |
||||
@BladeBootTest(appName = APPLICATION_DISTRIBUTION_NAME, enableLoader = true) |
||||
public class MyTest { |
||||
|
||||
|
||||
@Autowired |
||||
private IDistributionStockupService distributionStockupService; |
||||
|
||||
@Autowired |
||||
private IDistributionReservationService distributionReservationService; |
||||
|
||||
@Autowired |
||||
private IDistributionParcelListService distributionParcelListService; |
||||
|
||||
@Autowired |
||||
private IDistributionStockListService distributionStockListService; |
||||
|
||||
@Autowired |
||||
private IDistributionStockArticleService distributionStockArticleService; |
||||
|
||||
|
||||
@Test |
||||
public void te(){ |
||||
// Map<String, Object> params = new HashMap<>();
|
||||
// params.put("ids","1686560469635727362");
|
||||
// try {
|
||||
// OrderPackgeCodeDataVO orderPackgeCodeDataVO =distributionStockArticleService.showOrderPackgeCode(params);
|
||||
// System.out.println(orderPackgeCodeDataVO);
|
||||
// } catch (Exception e) {
|
||||
// e.printStackTrace();
|
||||
// }
|
||||
List<PrintPreviewVO> printPreviewVOS = distributionDeliveryListService.printBatch(ids,type); |
||||
|
||||
} |
||||
|
||||
} |
Loading…
Reference in new issue