fix:错误日志回推增加订单号,用户部门信息清楚缺失状态和姓名的数据
This commit is contained in:
parent
3159692893
commit
5fce77d120
|
@ -81,7 +81,6 @@ public class AutoWorkController {
|
|||
@PostMapping("/ly/record/save")
|
||||
public Result<String> autoSaveLYRecord() {
|
||||
//同步拉取上月数据
|
||||
// lyStatementOrder.saveAll();
|
||||
//将未转换的结算数据生成为财务共享需要的数据
|
||||
try {
|
||||
Command.of(LYOrderRecordGenerateCommand.class).sendToQueue();
|
||||
|
|
|
@ -97,8 +97,4 @@ public class OrderPublicController {
|
|||
.toList();
|
||||
return Result.Success(SUCCESS, approveCustomFieldList);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
|
|
@ -25,5 +25,4 @@ public class OrderRecordController {
|
|||
orderRecordDomainService.reloadClerkAndSave(orderRecordParam.getAccountPeriod());
|
||||
return Result.Success();
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -84,33 +84,4 @@ public class TrainBackController {
|
|||
};
|
||||
}
|
||||
|
||||
public LYNoteResponse trainBack50(String travelOrderNo, NotifyData.TrainOrderList.OrderTrain orderTrain, int notifyType) {
|
||||
|
||||
String orderSerialNo = orderTrain.getOrderNo();
|
||||
/* if (orderSerialNo != null) {
|
||||
TrainDetailResponse trainOrderDetail = lySearchRequest.getTrainOrderDetail(orderSerialNo);
|
||||
String outEmployeeId = trainOrderDetail.getData().getOutEmployeeId();//外部员工id
|
||||
String serialNo = trainOrderDetail.getData().getOrderNo();//订单号
|
||||
SupplierCallbackData supplierCallbackData =
|
||||
SupplierCallbackData.of(SupplierNameConstant.SUPPLIER_L_Y, outEmployeeId);
|
||||
|
||||
//将回推数据和订单详情封装
|
||||
TrainDetailResult trainDetailResult = new TrainDetailResult();
|
||||
trainDetailResult.setDataObject(dataObject);
|
||||
trainDetailResult.setTrainDetailResponse(trainOrderDetail);
|
||||
|
||||
supplierCallbackData.data(trainOrderDetail);
|
||||
supplierCallbackData.productType(PRODUCT_TYPE_TRAIN);
|
||||
supplierService.handleSupplierCallback(supplierCallbackData);
|
||||
OrderStatusChangeCommand command = Command.of(OrderStatusChangeCommand.class)
|
||||
.orderNo(serialNo)
|
||||
.outStatus(String.valueOf(notification.getSubNotifyType()));
|
||||
command.eventType(mapTrainState(notification.getSubNotifyType()));
|
||||
command.sendToQueue();
|
||||
return new LYNoteResponse("100", "成功收到消息");
|
||||
}
|
||||
*/
|
||||
return new LYNoteResponse("200", "未收到消息");
|
||||
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue