--子查父 select * from man_menue_hg m start with m.mid='43' connect by prior m.par_mid = m.mid; --父查子select * from man_menue_hg m start with m.par_mid = '0' connect by prior m.mid = m.par_mid Read More
posted @ 2012-01-10 18:18 七郎 Views(150) Comments(0) Diggs(0) Edit
var up = new Date();up.setMonth(up.getMonth()-1);var up_year=up.getFullYear();var up_month=up.getMonth()+1;var up_day=up.getDate();var now = new Date(); var now_year=now.getFullYear();var now_month=now.getMonth()+1;var now_day=now.getDate();if(up_month<10){up_month="0"+up_month;}if(up_d Read More
posted @ 2012-01-10 15:25 七郎 Views(182) Comments(0) Diggs(0) Edit