fix some issue of day consume
fix some issue of hour consume and add mem_hc_get_money_by_csm_idx
add query by date for mem event.
1.mem event init and factory init.
2.call mem_hc_get_money_by_csm_idx in here.
change the calling function names.