This commit is contained in:
mynah
2020-01-22 18:22:31 -06:00
parent f16d579996
commit 174f4b0756
38 changed files with 503 additions and 473 deletions

View File

@@ -1,8 +1,14 @@
select
id as "cid",
nombre as "cname",
subnombre as "csubname",
descripcion as "cdesc",
imagen_a as "cimga",
maestro as "cmas",
temario as "csubjects",
servicios as "cservices"
servicios as "cservices",
estado as "cestado"
from curso
where id= ? ; #course ;

View File

@@ -1,11 +1,8 @@
select
"event" as "tag",
id,
lugar_id as "pid",
curso_id as "cid",
precio as "cost",
promocion as "promo",
promo_estado as "pen",
day(fecha_inicio) as "dini",
month(fecha_inicio) as "mini",
year(fecha_inicio) as "yini",
@@ -13,9 +10,18 @@ select
month(fecha_fin) as "mend",
year(fecha_fin) as "yend",
coalesce(imagen_chica,0) as "eimg",
comentario as "comment",
precio as "cost",
promocion as "promo",
promo_estado as "pen",
playera_estado as "ten",
spay,
estore,
meses,
cupo,
curso_id as "cid",
estado as "een"
from evento
where id= ? ; # ecourse ;
from curso_tienda
where id= ? ; # ecourse ;

View File

@@ -9,7 +9,7 @@ select
lat as "plat",
lng as "plng",
estado as "pen"
from lugar
from curso_lugar
where id= ? ; # course ;