|
|
|
@ -31,6 +31,7 @@ import com.glxp.api.admin.res.basic.SpsSyncDataResponse;
|
|
|
|
|
import com.glxp.api.admin.res.basic.SpsSyncOrderResponse;
|
|
|
|
|
import com.glxp.api.admin.service.basic.BasicDownloadService;
|
|
|
|
|
import com.glxp.api.admin.service.basic.BussinessChangeTypeService;
|
|
|
|
|
import com.glxp.api.admin.service.basic.EntrustReceService;
|
|
|
|
|
import com.glxp.api.admin.service.inout.OrderService;
|
|
|
|
|
import com.glxp.api.admin.service.inventory.InvWarehouseService;
|
|
|
|
|
import com.glxp.api.admin.service.thrsys.ThrInvWarehouseService;
|
|
|
|
@ -71,7 +72,8 @@ public class DlBasicService {
|
|
|
|
|
WarehouseUserDao warehouseUserDao;
|
|
|
|
|
@Resource
|
|
|
|
|
WarehouseBussinessTypeDao warehouseBussinessTypeDao;
|
|
|
|
|
|
|
|
|
|
@Resource
|
|
|
|
|
EntrustReceService entrustReceService;
|
|
|
|
|
@Resource
|
|
|
|
|
ThrInvWarehouseService thrInvWarehouseService;
|
|
|
|
|
@Resource
|
|
|
|
@ -373,6 +375,16 @@ public class DlBasicService {
|
|
|
|
|
logger.error(e.getMessage());
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (CollUtil.isNotEmpty(syncDataResponse.getEntrustReceEntities())) {
|
|
|
|
|
entrustReceService.deleteAll();
|
|
|
|
|
for (EntrustReceEntity entrustReceEntity : syncDataResponse.getEntrustReceEntities()) {
|
|
|
|
|
entrustReceEntity.setUpdateTime(null);
|
|
|
|
|
entrustReceService.insertEntrustRec(entrustReceEntity);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
batchSession.close();
|
|
|
|
|
spGetHttp.postBasicStatus(basicExportStatusEntity.getId());
|
|
|
|
|
|
|
|
|
|