noche, actualiza tablas eventos
This commit is contained in:
3
public/home/admin/event/change/qCdel.q
Executable file
3
public/home/admin/event/change/qCdel.q
Executable file
@@ -0,0 +1,3 @@
|
||||
delete from curso where id = ? ; # cprev
|
||||
|
||||
|
||||
6
public/home/admin/event/change/qCup.q
Executable file
6
public/home/admin/event/change/qCup.q
Executable file
@@ -0,0 +1,6 @@
|
||||
update curso set
|
||||
nombre = ?, # cname
|
||||
temario = ?, # csubjects
|
||||
servicios = ?, # cservices
|
||||
estado = case ? when "on" then 1 else 0 end # cen
|
||||
where id = ? ; # cprev
|
||||
2
public/home/admin/event/change/qEdel.q
Executable file
2
public/home/admin/event/change/qEdel.q
Executable file
@@ -0,0 +1,2 @@
|
||||
delete from evento where id = ? ; # eprev
|
||||
|
||||
12
public/home/admin/event/change/qEup.q
Executable file
12
public/home/admin/event/change/qEup.q
Executable file
@@ -0,0 +1,12 @@
|
||||
update evento set
|
||||
lugar_id = ?, # eplace ,
|
||||
fecha_inicio='?-?-?', # yini - mini - dini ',
|
||||
fecha_fin='?-?-?', # 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 ;
|
||||
|
||||
4
public/home/admin/event/change/qPdel.q
Executable file
4
public/home/admin/event/change/qPdel.q
Executable file
@@ -0,0 +1,4 @@
|
||||
delete from lugar where id = ?; # pprev ;
|
||||
|
||||
|
||||
|
||||
12
public/home/admin/event/change/qPup.q
Executable file
12
public/home/admin/event/change/qPup.q
Executable file
@@ -0,0 +1,12 @@
|
||||
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 ;
|
||||
|
||||
Reference in New Issue
Block a user