concat inferno
This commit is contained in:
@@ -1,14 +1,14 @@
|
||||
insert into evento
|
||||
(lugar_id, fecha_inicio, fecha_fin,precio,curso_id,imagen_chica,estado,promocion,promo_estado)
|
||||
(lugar_id, fecha_inicio, fecha_fin, precio, promocion, promo_estado, curso_id, imagen_chica, estado)
|
||||
values(
|
||||
?, # eplace
|
||||
" ?-?-? ", # yini - mini - dini
|
||||
" ?-?-? ", # yend - mend - dend
|
||||
concat(?,"-",?,"-",?), # yini - mini - dini
|
||||
concat(?,"-",?,"-",?), # yend - mend - dend
|
||||
?, # cost ,
|
||||
?, # promo ,
|
||||
case ? when "on" then 1 else 0 end, # pen
|
||||
?, # ecourse ,
|
||||
?, # eimg ,
|
||||
case ? when "on" then 1 else 0 end, # een
|
||||
?, # promo ,
|
||||
case ? when "on" then 1 else 0 end # pen
|
||||
case ? when "on" then 1 else 0 end # een
|
||||
);
|
||||
|
||||
|
||||
@@ -7,8 +7,8 @@
|
||||
?, # pto
|
||||
?, # pst
|
||||
?, # pco
|
||||
?, # lat
|
||||
?, # lng
|
||||
?, # plat
|
||||
?, # plng
|
||||
case ? when "on" then 1 else 0 end #pen
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user