parriba
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
delete from evento where id = ? ; # eprev
|
||||
delete from curso_tienda where id = ? ; # eprev
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
delete from lugar where id = ?; # pprev ;
|
||||
delete from curso_lugar where id = ?; # pprev ;
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -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 ;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user