|
|
|
@ -19,7 +19,9 @@ import com.logpm.factory.listener.OrderStatusLogListener;
|
|
|
|
|
import com.logpm.factory.oupai.entity.FactoryPackageEntity; |
|
|
|
|
import com.logpm.factory.oupai.entity.OpOrderStatusLogEntity; |
|
|
|
|
import com.logpm.factory.oupai.service.IFactoryPackageService; |
|
|
|
|
import com.logpm.factory.oupai.service.IOuPaiFactoryDataService; |
|
|
|
|
import com.logpm.factory.oupai.service.impl.OuPaiFactoryServiceImpl; |
|
|
|
|
import com.logpm.factory.oupai.vo.OuPaiDataPushVO; |
|
|
|
|
import com.logpm.factory.pan.service.IPanFactoryDataService; |
|
|
|
|
import com.logpm.factory.props.ZbFactoryProperties; |
|
|
|
|
import com.logpm.factory.snm.bean.Resp; |
|
|
|
@ -93,6 +95,9 @@ public class TestService {
|
|
|
|
|
@Autowired |
|
|
|
|
private ZbFactoryProperties zbFactoryProperties; |
|
|
|
|
|
|
|
|
|
@Autowired |
|
|
|
|
private IOuPaiFactoryDataService ouPaiFactoryDataService; |
|
|
|
|
|
|
|
|
|
@Autowired |
|
|
|
|
private ZbCategoryContrastMapper zbCategoryContrastMapper; |
|
|
|
|
@Test |
|
|
|
@ -781,6 +786,31 @@ public class TestService {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Test |
|
|
|
|
public void test18(){ |
|
|
|
|
|
|
|
|
|
// 本地测试 推送服务器
|
|
|
|
|
/** |
|
|
|
|
* {"event":3,"key": |
|
|
|
|
* "fdee4693-5321-4713-9ce8-aec9581011ec", |
|
|
|
|
* "orderCode":"SH20231217-1053", |
|
|
|
|
* "typeName":"ReceivingOrder", |
|
|
|
|
* "warehouseName":"汇通南充仓"} |
|
|
|
|
*/ |
|
|
|
|
OuPaiDataPushVO ouPaiDataPushVO = new OuPaiDataPushVO(); |
|
|
|
|
ouPaiDataPushVO.setEvent(3); |
|
|
|
|
ouPaiDataPushVO.setOrderCode("SH20231217-1053"); |
|
|
|
|
ouPaiDataPushVO.setKey("fdee4693-5321-4713-9ce8-aec9581011ec"); |
|
|
|
|
ouPaiDataPushVO.setTypeName("ReceivingOrder"); |
|
|
|
|
ouPaiDataPushVO.setWarehouseName("汇通南充仓"); |
|
|
|
|
|
|
|
|
|
ouPaiFactoryDataService.saveData(ouPaiDataPushVO); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|