bug #8360 - commit embarcada na trunk.

git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/BD/FlyWay/trunk@65478 d1611594-4594-4d17-8e1d-87c2c4800839
master
bruno.neves 2017-01-31 17:41:30 +00:00
parent 28d6c1806d
commit 8438b688fb
7 changed files with 64 additions and 6 deletions

View File

@ -6,16 +6,16 @@
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6">
<attributes>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER">
<attributes>
<attribute name="maven.pomderived" value="true"/>
<attribute name="org.eclipse.jst.component.nondependency" value=""/>
</attributes>
</classpathentry>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6">
<attributes>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="output" path="target/classes"/>
</classpath>

View File

@ -1,6 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<faceted-project>
<runtime name="JBoss 6.x Runtime"/>
<fixed facet="java"/>
<fixed facet="jst.utility"/>
<installed facet="java" version="1.6"/>

View File

@ -0,0 +1 @@
alter table EMBARCADA_SINCRONISMO add NUMDIV NUMBER(11);

View File

@ -0,0 +1 @@
alter table VENDA_EMBARCADA add NUMDIV VARCHAR2(11);

View File

@ -0,0 +1,15 @@
CREATE TABLE
EMBARCADA_LIMITES
(
EMBARCADA_LIMITES_ID NUMBER(15) NOT NULL,
LIMITE_BILHETE NUMBER(15) NOT NULL,
LIMITE_DIV NUMBER(15) NOT NULL,
LIMITE_DIAS NUMBER(15) NOT NULL,
AVISO_BILHETE NUMBER(15) NOT NULL,
AVISO_DIV NUMBER(15) NOT NULL,
AVISO_DIAS NUMBER(15) NOT NULL
);
CREATE SEQUENCE EMBARCADA_LIMITES_SEQ INCREMENT BY 1 START WITH 1 MAXVALUE 9999999999999999999999999999
MINVALUE 1 NOCYCLE CACHE 20 NOORDER;

View File

@ -0,0 +1,16 @@
declare
dup_val_on_index exception;
pragma exception_init (dup_val_on_index , -00001);
begin
execute immediate 'Insert into EMBARCADA_LIMITES (
EMBARCADA_LIMITES_ID ,
LIMITE_BILHETE ,
LIMITE_DIV ,
LIMITE_DIAS ,
AVISO_BILHETE ,
AVISO_DIV ,
AVISO_DIAS
) values (1,2000,15,20,1000,10,10)';
exception when dup_val_on_index then null;
end;

View File

@ -0,0 +1,26 @@
declare
dup_val_on_index exception;
pragma exception_init (dup_val_on_index , -00001);
begin
execute immediate 'Insert into CONSTANTE (
CONSTANTE_ID,
NOMBCONSTANTE,
DESCCONSTANTE,
INDTIPOCONSTANTE,
VALORCONSTANTE,
INDMANTENIMIENTOUSUARIO,
ACTIVO,
FECMODIF,
USUARIO_ID)
values (
CONSTANTE_SEQ.nextval,
''EMBARCADA_CHECKBOX_SEGUROOPCIONAL'',
''EMBARCADA_CHECKBOX_SEGUROOPCIONAL'',
''1'',
''false'',
''1'',
''1'',
to_date(sysdate,''DD/MM/YYYY HH24:MI:SS''),
''1'')';
exception when dup_val_on_index then null;
end;