$where=\Our\Common::format(" store_id={0} and refund_state={1} and between {2} and {3}",$storeId,ApiConst::refundSuccess,$beginTime,$endTime);
$where=\Our\Common::format(" store_id={0} and is_suc_refund={1} and gmt_update between {2} and {3}",$storeId,ApiConst::refundSuccess,$beginTime,$endTime);
}else{
$where=\Our\Common::format(" store_id={0} and refund_state={1}",$storeId);
$where=\Our\Common::format(" store_id={0} and is_suc_refund={1}",$storeId,ApiConst::refundSuccess);