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,6 +1,11 @@
update curso set
nombre = ?, # cname
temario = ?, # csubjects
servicios = ?, # cservices
estado = case ? when "on" then 1 else 0 end # cen
where id = ? ; # cprev
update curso set
nombre=?,
subnombre=?,
descripcion=?,
imagena=?,
maestro=?,
temario=?,
servicios=?,
estado=?
where id = ? ; # cprev

View File

@@ -1,2 +1,2 @@
delete from evento where id = ? ; # eprev
delete from curso_tienda where id = ? ; # eprev

View File

@@ -1,12 +1,19 @@
update evento set
lugar_id = ?, # eplace
fecha_inicio = concat(?,"-",?,"-",?), # yini - mini - dini
fecha_fin = concat(?,"-",?,"-",?), # yend - mend - dend
precio = ?, # cost
promocion = ?, # promo
promo_estado = case ? when "on" then 1 else 0 end, #pen
curso_id = ?, # ecourse
imagen_chica = ?, # eimg
estado = case ? when "on" then 1 else 0 end # een
where id = ?; # eprev
update curso_tienda set
lugar_id=?,
fecha_inicio=?,
fecha_fin=?,
imagen_chica=?,
comentario=?,
precio=?,
promocion=?,
promo_estado=?,
playera_estado=?,
spay=?,
store=?,
meses=?,
cupo=?,
curso_id=?,
estado=?
where id = ?; # eprev

View File

@@ -1,4 +1,4 @@
delete from lugar where id = ?; # pprev ;
delete from curso_lugar where id = ?; # pprev ;

View File

@@ -1,12 +1,13 @@
update lugar set
nombre= ?, # pname
direccion= ?, # paddr
observacion= ?,# pobs
municipio= ?, # pto
federativa= ?, # pst
pais= ?, # pco
lat=?, # plat
lng=?, # plng
estado = case ? when "on" then 1 else 0 end # pen
where id = ?; # pprev ;
update curso_lugar set
nombre= ?, # pname
direccion= ?, # paddr
observacion= ?,# pobs
municipio= ?, # pto
federativa= ?, # pst
pais= ?, # pco
lat=?, # plat
lng=?, # plng
estado = ?
where id = ?; # pprev ;