branch dev
This commit is contained in:
@@ -1,16 +1,8 @@
|
||||
import { Length } from './../../node_modules/aws-sdk/clients/quicksight.d';
|
||||
import { count } from './../../node_modules/aws-sdk/clients/health.d';
|
||||
/* eslint-disable prettier/prettier */
|
||||
/* eslint-disable @typescript-eslint/no-unused-vars */
|
||||
|
||||
|
||||
import { Get, HttpException, HttpStatus, Injectable, Query, UseGuards } from '@nestjs/common';
|
||||
import { stringify } from 'querystring';
|
||||
import { typeOrmConfig, typeOrmPgConfig } from 'src/core/configs/typeorm.config';
|
||||
import { CarOutDelivery } from 'src/core/models/car-out-delivery.model';
|
||||
import { BaseService } from 'src/core/services/base.service';
|
||||
import { typeOrmConfig, typeOrmPgConfig } from '../core/configs/typeorm.config';
|
||||
import { CarOutDelivery } from '../core/models/car-out-delivery.model';
|
||||
import { DataSource } from 'typeorm';
|
||||
import { CarInDelivery } from 'src/core/models/car-in-delivery.model';
|
||||
import { CarInDelivery } from '../core/models/car-in-delivery.model';
|
||||
|
||||
@Injectable()
|
||||
export class LogisticService {
|
||||
@@ -205,13 +197,13 @@ export class LogisticService {
|
||||
const sqlSequence = `SELECT ESS_SAIDAVEICULO.NEXTVAL as "id" FROM DUAL`;
|
||||
const dataSequence = await queryRunner.query(sqlSequence);
|
||||
let i = 0;
|
||||
let helperId1: number = 0;
|
||||
let helperId2: number = 0;
|
||||
let helperId3: number = 0;
|
||||
let image1: string = '';
|
||||
let image2: string = '';
|
||||
let image3: string = '';
|
||||
let image4: string = '';
|
||||
let helperId1 = 0;
|
||||
let helperId2 = 0;
|
||||
let helperId3 = 0;
|
||||
const image1 = '';
|
||||
const image2 = '';
|
||||
const image3 = '';
|
||||
const image4 = '';
|
||||
|
||||
data.helpers.forEach(helper => {
|
||||
switch (i) {
|
||||
@@ -290,11 +282,11 @@ export class LogisticService {
|
||||
throw new HttpException('Não foi localiza viagens em aberto para este veículo.', HttpStatus.BAD_REQUEST );
|
||||
}
|
||||
|
||||
let i = 0;
|
||||
let image1: string = '';
|
||||
let image2: string = '';
|
||||
let image3: string = '';
|
||||
let image4: string = '';
|
||||
const i = 0;
|
||||
const image1 = '';
|
||||
const image2 = '';
|
||||
const image3 = '';
|
||||
const image4 = '';
|
||||
|
||||
for (let y = 0; y < data.invoices.length; y++) {
|
||||
const invoice = data.invoices[y];
|
||||
|
||||
Reference in New Issue
Block a user