Stringsql="UPDATE credits_dev.consumer_limit_record SET gmt_create = '"+dateFormat.format(calendar.getTime())+"' WHERE item_id = 1 and consumer_id = 100147136 ORDER BY id DESC LIMIT 1";
Stringsql="UPDATE credits_dev.consumer_limit_record SET gmt_create = '"+dateFormat.format(calendar.getTime())+"' WHERE item_id = 1 and consumer_id = 100147137 ORDER BY id DESC LIMIT 1";
Map<String,Object>sqlResult=jdbc.findSimpleResult("select * from activity_order_con.tb_trade_center_activity_order_"+tag+" where consumer_id ="+consumerId+" and activity_type = 'seedRedPacket'");
Map<String,Object>sqlResult=jdbc.findSimpleResult("select * from activity_order_con.tb_trade_center_activity_order_"+tag+" where consumer_id ="+consumerId+" and activity_type = 'seedRedPacket'");