|
|
|
@ -150,7 +150,7 @@ public class SpsSyncDownloadController {
|
|
|
|
|
@GetMapping("sps/sync/syncUdis")
|
|
|
|
|
public BaseResponse getDiProducts(SpsSyncDataRequest spsSyncDataRequest) {
|
|
|
|
|
|
|
|
|
|
BaseResponse<SpSyncUdiResponse> baseResponse = ResultVOUtils.error(ResultEnum.NOT_NETWORK.getCode(),"");
|
|
|
|
|
BaseResponse<SpSyncUdiResponse> baseResponse = ResultVOUtils.error(ResultEnum.NOT_NETWORK.getCode(), "");
|
|
|
|
|
BasicExportStatusEntity basicExportStatusEntity = basicExportService.findByData(ConstantStatus.SYNC_DI_PRODUCTS, 3);
|
|
|
|
|
String logs = "";
|
|
|
|
|
if (basicExportStatusEntity != null) {
|
|
|
|
@ -800,7 +800,7 @@ public class SpsSyncDownloadController {
|
|
|
|
|
if (CollUtil.isNotEmpty(spsSyncBusOrderResponse.getPurOrderDetailEntities())) {
|
|
|
|
|
List<PurOrderDetailEntity> purOrderDetailEntities = spsSyncBusOrderResponse.getPurOrderDetailEntities();
|
|
|
|
|
for (PurOrderDetailEntity purOrderDetailEntity : purOrderDetailEntities) {
|
|
|
|
|
if(purOrderDetailEntity.getOrderIdFk().equals(orderEntity.getId()+"")){
|
|
|
|
|
if (purOrderDetailEntity.getOrderIdFk().equals(orderEntity.getId() + "")) {
|
|
|
|
|
PurOrderDetailEntity codeTempEntity = new PurOrderDetailEntity();
|
|
|
|
|
BeanUtils.copyProperties(purOrderDetailEntity, codeTempEntity);
|
|
|
|
|
codeTempEntity.setId(null);
|
|
|
|
|