add: mes对接压机产出数据、lucene日志查询时间排序

This commit is contained in:
2023-09-12 14:34:44 +08:00
parent 2f49f62c5d
commit 725e32bff3
14 changed files with 129 additions and 14 deletions

View File

@@ -1,6 +1,7 @@
package org.nl.ext;
import org.junit.jupiter.api.Test;
import org.nl.wms.ext.mes.service.WmsToMesService;
import org.nl.wms.ext.mes.service.dao.mapper.MesRequestMapper;
import org.nl.wms.ext.mes.service.dto.MesMudConsumptionDto;
import org.springframework.beans.factory.annotation.Autowired;
@@ -16,9 +17,10 @@ import org.springframework.boot.test.context.SpringBootTest;
public class TestDemo {
@Autowired
private MesRequestMapper mesRequestMapper;
@Autowired
private WmsToMesService wmsToMesService;
@Test
public void test01() {
MesMudConsumptionDto mudObject = mesRequestMapper.getMudConsumption("1699671959522119680");
System.out.println(mudObject);
wmsToMesService.reportProductData("1701105828406366210");
}
}