koubei.marketing.campaign.activity.batchquery(口碑营销活动列表查询)java版

简介: 说明: 本帖是利用支付宝正式环境测试账号测试口碑营销活动列表查询接口,请求中根据文档传入了必传参数,大家可以配置自己的环境,根据自己的需求严格按照文档要求添加相关的可选参数,此demo仅供参考 测试环境:Eclipse+JDK1.6及以上+Tomcat6.0及以上     当开发者需要提供按一定条件批量查询功能时,可以使用口碑营销活动列表查询接口,下面以活动起止时间为例批量查询活动。

说明: 
本帖是利用支付宝正式环境测试账号测试口碑营销活动列表查询接口,请求中根据文档传入了必传参数,大家可以配置自己的环境,根据自己的需求严格按照文档要求添加相关的可选参数,此demo仅供参考 
测试环境:Eclipse+JDK1.6及以上+Tomcat6.0及以上     
当开发者需要提供按一定条件批量查询功能时,可以使用口碑营销活动列表查询接口,下面以活动起止时间为例批量查询活动。 
koubei.marketing.campaign.activity.batchquery(口碑营销活动列表查询)接口示例代码 

package com.alipay.demo;  import java.util.ArrayList;import java.util.List;  import com.alipay.api.AlipayApiException;import com.alipay.api.AlipayClient;import com.alipay.api.DefaultAlipayClient;import com.alipay.api.domain.Condition;import com.alipay.api.domain.KoubeiMarketingCampaignActivityBatchqueryModel;import com.alipay.api.request.KoubeiMarketingCampaignActivityBatchqueryRequest;import com.alipay.api.response.KoubeiMarketingCampaignActivityBatchqueryResponse;import com.alipay.config.AlipayConfig;  public class KoubeiMarketingCampaignActivityBatchquery {      /**     * koubei.marketing.campaign.activity.batchquery 口碑营销活动列表查询     *     * @param args     */    public static void main(String[] args) {        AlipayClient alipayClient = new DefaultAlipayClient(AlipayConfig.gatewayUrl, AlipayConfig.app_id,                AlipayConfig.merchant_private_key, AlipayConfig.format, AlipayConfig.charset,                AlipayConfig.alipay_public_key, AlipayConfig.sign_type);        KoubeiMarketingCampaignActivityBatchqueryRequest request = new KoubeiMarketingCampaignActivityBatchqueryRequest();        KoubeiMarketingCampaignActivityBatchqueryModel model = new KoubeiMarketingCampaignActivityBatchqueryModel();        model.setQueryCriterias(getQueryCriterias());        // 页码,默认为1        // model.setPageNumber("1");        // 操作人id,必须和operator_type配对存在,不填时默认是商户        // model.setOperatorId(operatorId);        // 操作人类型,有以下值可填:MER(外部商户),MER_OPERATOR(外部商户操作员),        // PROVIDER(外部服务商),PROVIDER_STAFF(外部服务商员工),默认不需要填这个字段,默认为MER        // model.setOperatorType("MER");        // 页大小,默认为20        // model.setPageSize("10");        request.setBizModel(model);        KoubeiMarketingCampaignActivityBatchqueryResponse response;        try {            response = alipayClient.execute(request);            if (response.isSuccess()) {                System.out.println("调用成功");                System.out.println(response.getBody());            } else {                System.out.println("调用失败");                System.out.println(response.getBody());            }          } catch (AlipayApiException e) {            // TODO Auto-generated catch block            e.printStackTrace();        }      }      /**     * 查询条件     *     * @return     */    private static List getQueryCriterias() {        List queryCriteriasList = new ArrayList();        Condition condition = new Condition();        // 字段名称,目前支持以下字段:        // name: 活动名称        // startTime: 开始时间        // endTime: 结束时间        // status:活动状态        condition.setFieldName("status");        // 对应于field_name的字段值,当field_name为status时,field_value支持STARTED、        // STARTING、MODIFYING、CLOSED、CLOSING、DISABLED几种值,用|分隔,代表查询这些状态中的活动,        // 此时operator只能为IN,field_name为name时候value表示要查询的活动名,        // field_name为时间时,field_value为开始或结束时间,格式如2016-10-01 00:00:00        condition.setFieldValue("STARTING|STARTED");        // 操作符,EQUAL:等于,IN:范围。目前支持field_name=status且operator=IN,多个状态以"|"分隔        condition.setOperator("IN");        queryCriteriasList.add(condition);        return queryCriteriasList;    }  }

 

请求参数注意事项: 
1.app_auth_token:ISV/开发者可以通过第三方应用授权:[url]https://openclub.alipay.com/read.php?tid=1649[/url]得到商家授权令牌(app_auth_token)作为请求参数传入,实现代商家发起请求的能力 
调用成功返回信息:

{"koubei_marketing_campaign_activity_batchquery_response":{"code":"10000","msg":"Success","camp_sets":[{"activity_orders":[{"creator_id":"mpromocenter-40-5217","creator_type":"SYSTEM","order_id":"20180314000000010097427000155336","order_status":"SUCCESS","order_type":"CAMPAIGN_ENABLE_ORDER"},{"creator_id":"2088501624560335","creator_type":"MER","order_id":"20180314000000010239345000155337","order_status":"SUCCESS","order_type":"CAMPAIGN_CREATE_ORDER"}],"auto_delay_flag":"N","creator_type":"MER","end_time":"2018-05-13 00:00:00","id":"20180314000000002577674000151339","name":"口碑门店消费满10元送1元代金券","start_time":"2018-03-13 00:00:00","status":"STARTED","type":"RECHARGE_SEND"},{"activity_orders":[{"creator_id":"2088501624560335","creator_type":"MER","order_id":"20180314000000009958268000155335","order_status":"DOING","order_type":"CAMPAIGN_MODIFY_ORDER"},{"creator_id":"mpromocenter-49-5009","creator_type":"SYSTEM","order_id":"20180314000000010015838000155338","order_status":"SUCCESS","order_type":"CAMPAIGN_ENABLE_ORDER"},{"creator_id":"2088501624560335","creator_type":"MER","order_id":"20180314000000010009890000155334","order_status":"SUCCESS","order_type":"CAMPAIGN_CREATE_ORDER"}],"auto_delay_flag":"N","creator_type":"MER","end_time":"2018-05-15 00:00:00","id":"20180314000000002549728000151335","name":"口碑门店消费满10元送1元代金券","start_time":"2018-03-13 00:00:00","status":"MODIFYING","type":"RECHARGE_SEND"},{"activity_orders":[{"creator_id":"2088501624560335","creator_type":"MER","order_id":"20180314000000009986135000155339","order_status":"DOING","order_type":"CAMPAIGN_MODIFY_ORDER"},{"creator_id":"mpromocenter-49-5014","creator_type":"SYSTEM","order_id":"20180314000000010173068000155339","order_status":"SUCCESS","order_type":"CAMPAIGN_ENABLE_ORDER"},{"creator_id":"2088501624560335","creator_type":"MER","order_id":"20180314000000010174038000155338","order_status":"SUCCESS","order_type":"CAMPAIGN_CREATE_ORDER"}],"auto_delay_flag":"N","creator_type":"MER","end_time":"2018-05-15 00:00:00","id":"20180314000000002574688000151336","name":"口碑门店消费满10元送1元代金券","start_time":"2018-03-13 00:00:00","status":"MODIFYING","type":"RECHARGE_SEND"},{"activity_orders":[{"creator_id":"2088501624560335","creator_type":"MER","order_id":"20180313000000010090676000155337","order_status":"DOING","order_type":"CAMPAIGN_MODIFY_ORDER"},{"creator_id":"mpromocenter-40-5221","creator_type":"SYSTEM","order_id":"20180313000000010035702000155339","order_status":"SUCCESS","order_type":"CAMPAIGN_ENABLE_ORDER"},{"creator_id":"2088501624560335","creator_type":"MER","order_id":"20180313000000010162099000155338","order_status":"SUCCESS","order_type":"CAMPAIGN_CREATE_ORDER"}],"auto_delay_flag":"N","creator_type":"MER","end_time":"2018-05-15 00:00:00","id":"20180313000000002622163000151339","name":"口碑门店消费满10元送1元代金券","start_time":"2018-03-13 00:00:00","status":"MODIFYING","type":"RECHARGE_SEND"},{"activity_orders":[{"creator_id":"2088501624560335","creator_type":"MER","order_id":"20180313000000010220307000155337","order_status":"DOING","order_type":"CAMPAIGN_MODIFY_ORDER"},{"creator_id":"mpromocenter-40-5215","creator_type":"SYSTEM","order_id":"20180313000000010089680000155334","order_status":"SUCCESS","order_type":"CAMPAIGN_ENABLE_ORDER"},{"creator_id":"2088501624560335","creator_type":"MER","order_id":"20180313000000009936206000155336","order_status":"SUCCESS","order_type":"CAMPAIGN_CREATE_ORDER"}],"auto_delay_flag":"N","creator_type":"MER","end_time":"2018-05-15 00:00:00","id":"20180313000000002591874000151339","name":"口碑门店消费满10元送1元代金券","start_time":"2018-03-13 00:00:00","status":"MODIFYING","type":"RECHARGE_SEND"},{"activity_orders":[{"creator_id":"2088501624560335","creator_type":"MER","order_id":"20180313000000010220306000155335","order_status":"DOING","order_type":"CAMPAIGN_MODIFY_ORDER"},{"creator_id":"mpromocenter-40-5206","creator_type":"SYSTEM","order_id":"20180313000000010165072000155339","order_status":"SUCCESS","order_type":"CAMPAIGN_ENABLE_ORDER"},{"creator_id":"2088501624560335","creator_type":"MER","order_id":"20180313000000010169004000155334","order_status":"SUCCESS","order_type":"CAMPAIGN_CREATE_ORDER"}],"auto_delay_flag":"N","creator_type":"MER","end_time":"2018-05-15 00:00:00","id":"20180313000000002609464000151332","name":"口碑门店消费满10元送1元代金券","start_time":"2018-03-13 00:00:00","status":"MODIFYING","type":"RECHARGE_SEND"},{"activity_orders":[{"creator_id":"mpromocenter-40-5218","creator_type":"SYSTEM","order_id":"20180313000000010018974000155334","order_status":"SUCCESS","order_type":"CAMPAIGN_ENABLE_ORDER"},{"creator_id":"2088501624560335","creator_type":"MER","order_id":"20180313000000010141093000155339","order_status":"SUCCESS","order_type":"CAMPAIGN_CREATE_ORDER"}],"auto_delay_flag":"N","creator_type":"MER","end_time":"2018-05-13 00:00:00","id":"20180313000000002536752000151339","name":"消费满10元送1元代金券","start_time":"2018-03-13 00:00:00","status":"STARTED","type":"RECHARGE_SEND"},{"activity_orders":[{"creator_id":"mpromocenter-49-5023","creator_type":"SYSTEM","order_id":"20180313000000010200310000155336","order_status":"SUCCESS","order_type":"CAMPAIGN_ENABLE_ORDER"},{"creator_id":"2088501624560335","creator_type":"MER","order_id":"20180313000000009869577000155333","order_status":"SUCCESS","order_type":"CAMPAIGN_CREATE_ORDER"}],"auto_delay_flag":"N","creator_type":"MER","end_time":"2018-05-13 00:00:00","id":"20180313000000002587837000151330","name":"消费满10元送1元代金券","start_time":"2018-03-13 00:00:00","status":"STARTED","type":"DIRECT_SEND"},{"activity_orders":[{"creator_id":"mpromocenter-40-5213","creator_type":"SYSTEM","order_id":"20180308000000009935451000155332","order_status":"SUCCESS","order_type":"CAMPAIGN_ENABLE_ORDER"},{"creator_id":"2088501624560335","creator_type":"MER","order_id":"20180308000000010044073000155333","order_status":"SUCCESS","order_type":"CAMPAIGN_CREATE_ORDER"}],"auto_delay_flag":"N","creator_type":"MER","end_time":"2018-05-07 00:00:00","id":"20180308000000002545682000151338","name":"消费满10元送1元代金券","start_time":"2018-03-07 00:00:00","status":"STARTED","type":"REAL_TIME_SEND"},{"activity_orders":[{"creator_id":"mpromocenter-40-5211","creator_type":"SYSTEM","order_id":"20180307000000009947601000155330","order_status":"SUCCESS","order_type":"CAMPAIGN_ENABLE_ORDER"},{"creator_id":"2088501624560335","creator_type":"MER","order_id":"20180307000000009825124000155333","order_status":"SUCCESS","order_type":"CAMPAIGN_CREATE_ORDER"}],"auto_delay_flag":"N","creator_type":"MER","end_time":"2018-05-07 00:00:00","id":"20180307000000002546625000151334","name":"消费满10元送1元代金券","start_time":"2018-03-07 00:00:00","status":"STARTED","type":"REAL_TIME_SEND"},{"activity_orders":[{"creator_id":"mpromocenter-40-5195","creator_type":"SYSTEM","order_id":"20180307000000009901971000155332","order_status":"SUCCESS","order_type":"CAMPAIGN_ENABLE_ORDER"},{"creator_id":"2088501624560335","creator_type":"MER","order_id":"20180307000000009752531000155335","order_status":"SUCCESS","order_type":"CAMPAIGN_CREATE_ORDER"}],"auto_delay_flag":"N","creator_type":"MER","end_time":"2018-05-07 00:00:00","id":"20180307000000002599555000151334","name":"消费满10元送1元代金券","start_time":"2018-03-07 00:00:00","status":"STARTED","type":"REAL_TIME_SEND"},{"activity_orders":[{"creator_id":"mpromocenter-49-5025","creator_type":"SYSTEM","order_id":"20180307000000009777278000155339","order_status":"SUCCESS","order_type":"CAMPAIGN_ENABLE_ORDER"},{"creator_id":"2088501624560335","creator_type":"MER","order_id":"20180307000000009937642000155331","order_status":"SUCCESS","order_type":"CAMPAIGN_CREATE_ORDER"}],"auto_delay_flag":"N","creator_type":"MER","end_time":"2018-05-27 00:00:00","id":"20180307000000002561076000151336","name":"西瓜测试一次性购买四个,买三送一","start_time":"2017-04-01 00:00:00","status":"STARTED","type":"DIRECT_SEND"},{"activity_orders":[{"creator_id":"mpromocenter-49-5015","creator_type":"SYSTEM","order_id":"20180307000000009935662000155336","order_status":"SUCCESS","order_type":"CAMPAIGN_ENABLE_ORDER"},{"creator_id":"2088501624560335","creator_type":"MER","order_id":"20180307000000009884779000155333","order_status":"SUCCESS","order_type":"CAMPAIGN_CREATE_ORDER"}],"auto_delay_flag":"N","creator_type":"MER","end_time":"2018-05-27 00:00:00","id":"20180307000000002506757000151333","name":"西瓜测试一次性购买四个,买三送一","start_time":"2017-04-01 00:00:00","status":"STARTED","type":"DIRECT_SEND"},{"activity_orders":[{"creator_id":"mpromocenter-40-5195","creator_type":"SYSTEM","order_id":"20180302000000009758975000155336","order_status":"SUCCESS","order_type":"CAMPAIGN_ENABLE_ORDER"},{"creator_id":"2088501624560335","creator_type":"MER","order_id":"20180302000000009607524000155334","order_status":"SUCCESS","order_type":"CAMPAIGN_CREATE_ORDER"}],"auto_delay_flag":"N","creator_type":"MER","end_time":"2018-06-01 00:00:00","id":"20180302000000002612911000151336","name":"西瓜测试一次性购买四个,买三送一","start_time":"2017-04-01 00:00:00","status":"STARTED","type":"DIRECT_SEND"},{"activity_orders":[{"creator_id":"2088501624560335","creator_type":"MER","order_id":"20180224000000009542416000155338","order_status":"SUCCESS","order_type":"CAMPAIGN_MODIFY_ORDER"},{"creator_id":"2088501624560335","creator_type":"MER","order_id":"20180125000000008942167000155331","order_status":"SUCCESS","order_type":"CAMPAIGN_MODIFY_ORDER"},{"creator_id":"2088501624560335","creator_type":"MER","order_id":"20171226000000008203802000155338","order_status":"SUCCESS","order_type":"CAMPAIGN_MODIFY_ORDER"},{"creator_id":"2088501624560335","creator_type":"MER","order_id":"20171126000000007433793000155337","order_status":"SUCCESS","order_type":"CAMPAIGN_MODIFY_ORDER"},{"creator_id":"2088501624560335","creator_type":"MER","order_id":"20171027000000006593043000155337","order_status":"SUCCESS","order_type":"CAMPAIGN_MODIFY_ORDER"},{"creator_id":"2088501624560335","creator_type":"MER","order_id":"20170927000000006021861000155333","order_status":"SUCCESS","order_type":"CAMPAIGN_MODIFY_ORDER"},{"creator_id":"mpromocenter-40-5219","creator_type":"SYSTEM","order_id":"20170926000000005907529000155331","order_status":"SUCCESS","order_type":"CAMPAIGN_ENABLE_ORDER"},{"creator_id":"2088501624560335","creator_type":"MER","order_id":"20170926000000006004086000155332","order_status":"SUCCESS","order_type":"CAMPAIGN_CREATE_ORDER"}],"auto_delay_flag":"Y","creator_type":"MER","end_time":"2018-03-27 00:00:00","id":"20170926000000001740144000151338","name":"消费满1元减1元","start_time":"2017-06-23 00:00:00","status":"STARTED","type":"DIRECT_SEND"},{"activity_orders":[{"creator_id":"2088501624560335","creator_type":"MER","order_id":"20180224000000009608661000155330","order_status":"SUCCESS","order_type":"CAMPAIGN_MODIFY_ORDER"},{"creator_id":"2088501624560335","creator_type":"MER","order_id":"20180125000000009115677000155338","order_status":"SUCCESS","order_type":"CAMPAIGN_MODIFY_ORDER"},{"creator_id":"2088501624560335","creator_type":"MER","order_id":"20171226000000008196262000155338","order_status":"SUCCESS","order_type":"CAMPAIGN_MODIFY_ORDER"},{"creator_id":"2088501624560335","creator_type":"MER","order_id":"20171126000000007573609000155334","order_status":"SUCCESS","order_type":"CAMPAIGN_MODIFY_ORDER"},{"creator_id":"2088501624560335","creator_type":"MER","order_id":"20171027000000006495167000155338","order_status":"SUCCESS","order_type":"CAMPAIGN_MODIFY_ORDER"},{"creator_id":"2088501624560335","creator_type":"MER","order_id":"20170927000000006022887000155336","order_status":"SUCCESS","order_type":"CAMPAIGN_MODIFY_ORDER"},{"creator_id":"mpromocenter-49-5011","creator_type":"SYSTEM","order_id":"20170926000000006007023000155339","order_status":"SUCCESS","order_type":"CAMPAIGN_ENABLE_ORDER"},{"creator_id":"2088501624560335","creator_type":"MER","order_id":"20170926000000006020268000155334","order_status":"SUCCESS","order_type":"CAMPAIGN_CREATE_ORDER"}],"auto_delay_flag":"Y","creator_type":"MER","end_time":"2018-03-27 00:00:00","id":"20170926000000001739272000151331","name":"消费满1元减1元","start_time":"2017-06-23 00:00:00","status":"STARTED","type":"DIRECT_SEND"},{"activity_orders":[{"creator_id":"2088501624560335","creator_type":"MER","order_id":"20180221000000009485882000155333","order_status":"SUCCESS","order_type":"CAMPAIGN_MODIFY_ORDER"},{"creator_id":"2088501624560335","creator_type":"MER","order_id":"20180122000000008954917000155335","order_status":"SUCCESS","order_type":"CAMPAIGN_MODIFY_ORDER"},{"creator_id":"2088501624560335","creator_type":"MER","order_id":"20171223000000008169990000155336","order_status":"SUCCESS","order_type":"CAMPAIGN_MODIFY_ORDER"},{"creator_id":"2088501624560335","creator_type":"MER","order_id":"20171123000000007461335000155336","order_status":"SUCCESS","order_type":"CAMPAIGN_MODIFY_ORDER"},{"creator_id":"2088501624560335","creator_type":"MER","order_id":"20171024000000006510083000155335","order_status":"SUCCESS","order_type":"CAMPAIGN_MODIFY_ORDER"},{"creator_id":"2088501624560335","creator_type":"MER","order_id":"20170924000000005935894000155339","order_status":"SUCCESS","order_type":"CAMPAIGN_MODIFY_ORDER"},{"creator_id":"mpromocenter-49-5023","creator_type":"SYSTEM","order_id":"20170922000000005956645000155337","order_status":"SUCCESS","order_type":"CAMPAIGN_ENABLE_ORDER"},{"creator_id":"2088501624560335","creator_type":"MER","order_id":"20170922000000006070353000155330","order_status":"SUCCESS","order_type":"CAMPAIGN_CREATE_ORDER"}],"auto_delay_flag":"Y","creator_type":"MER","end_time":"2018-03-24 00:00:00","id":"20170922000000001696813000151338","name":"消费满0.01元送10元兑换券","start_time":"2017-06-23 00:00:00","status":"STARTED","type":"DIRECT_SEND"},{"activity_orders":[{"creator_id":"2088501624560335","creator_type":"MER","order_id":"20180221000000009377238000155331","order_status":"SUCCESS","order_type":"CAMPAIGN_MODIFY_ORDER"},{"creator_id":"2088501624560335","creator_type":"MER","order_id":"20180122000000008953916000155337","order_status":"SUCCESS","order_type":"CAMPAIGN_MODIFY_ORDER"},{"creator_id":"2088501624560335","creator_type":"MER","order_id":"20171223000000008128251000155337","order_status":"SUCCESS","order_type":"CAMPAIGN_MODIFY_ORDER"},{"creator_id":"2088501624560335","creator_type":"MER","order_id":"20171123000000007136528000155333","order_status":"SUCCESS","order_type":"CAMPAIGN_MODIFY_ORDER"},{"creator_id":"2088501624560335","creator_type":"MER","order_id":"20171024000000006359592000155339","order_status":"SUCCESS","order_type":"CAMPAIGN_MODIFY_ORDER"},{"creator_id":"2088501624560335","creator_type":"MER","order_id":"20170924000000005968299000155333","order_status":"SUCCESS","order_type":"CAMPAIGN_MODIFY_ORDER"},{"creator_id":"mpromocenter-49-5021","creator_type":"SYSTEM","order_id":"20170922000000005894855000155339","order_status":"SUCCESS","order_type":"CAMPAIGN_ENABLE_ORDER"},{"creator_id":"2088501624560335","creator_type":"MER","order_id":"20170922000000005925240000155337","order_status":"SUCCESS","order_type":"CAMPAIGN_CREATE_ORDER"}],"auto_delay_flag":"Y","creator_type":"MER","end_time":"2018-03-24 00:00:00","id":"20170922000000001723216000151339","name":"消费满0.01元送10元兑换券","start_time":"2017-06-23 00:00:00","status":"STARTED","type":"DIRECT_SEND"},{"activity_orders":[{"creator_id":"2088501624560335","creator_type":"MER","order_id":"20180221000000009624026000155331","order_status":"SUCCESS","order_type":"CAMPAIGN_MODIFY_ORDER"},{"creator_id":"2088501624560335","creator_type":"MER","order_id":"20180122000000008917862000155335","order_status":"SUCCESS","order_type":"CAMPAIGN_MODIFY_ORDER"},{"creator_id":"2088501624560335","creator_type":"MER","order_id":"20171223000000008222473000155338","order_status":"SUCCESS","order_type":"CAMPAIGN_MODIFY_ORDER"},{"creator_id":"2088501624560335","creator_type":"MER","order_id":"20171123000000007347238000155337","order_status":"SUCCESS","order_type":"CAMPAIGN_MODIFY_ORDER"},{"creator_id":"2088501624560335","creator_type":"MER","order_id":"20171024000000006449771000155333","order_status":"SUCCESS","order_type":"CAMPAIGN_MODIFY_ORDER"},{"creator_id":"2088501624560335","creator_type":"MER","order_id":"20170924000000006000639000155335","order_status":"SUCCESS","order_type":"CAMPAIGN_MODIFY_ORDER"},{"creator_id":"mpromocenter-40-5198","creator_type":"SYSTEM","order_id":"20170922000000006074394000155338","order_status":"SUCCESS","order_type":"CAMPAIGN_ENABLE_ORDER"},{"creator_id":"2088501624560335","creator_type":"MER","order_id":"20170922000000006076301000155334","order_status":"SUCCESS","order_type":"CAMPAIGN_CREATE_ORDER"}],"auto_delay_flag":"Y","creator_type":"MER","end_time":"2018-03-24 00:00:00","id":"20170922000000001718611000151331","name":"消费满0.01元送10元兑换券","start_time":"2017-06-23 00:00:00","status":"STARTED","type":"DIRECT_SEND"},{"activity_orders":[{"creator_id":"2088501624560335","creator_type":"MER","order_id":"20180307000000009807146000155331","order_status":"SUCCESS","order_type":"CAMPAIGN_MODIFY_ORDER"},{"creator_id":"2088501624560335","creator_type":"MER","order_id":"20180205000000009334444000155330","order_status":"SUCCESS","order_type":"CAMPAIGN_MODIFY_ORDER"},{"creator_id":"2088501624560335","creator_type":"MER","order_id":"20180106000000008566931000155336","order_status":"SUCCESS","order_type":"CAMPAIGN_MODIFY_ORDER"},{"creator_id":"2088501624560335","creator_type":"MER","order_id":"20171207000000007718153000155330","order_status":"SUCCESS","order_type":"CAMPAIGN_MODIFY_ORDER"},{"creator_id":"2088501624560335","creator_type":"MER","order_id":"20171107000000006854296000155338","order_status":"SUCCESS","order_type":"CAMPAIGN_MODIFY_ORDER"},{"creator_id":"2088501624560335","creator_type":"MER","order_id":"20171008000000006195069000155338","order_status":"SUCCESS","order_type":"CAMPAIGN_MODIFY_ORDER"},{"creator_id":"mpromocenter-70-6","creator_type":"SYSTEM","order_id":"20170711000000004757433000155338","order_status":"SUCCESS","order_type":"CAMPAIGN_ENABLE_ORDER"},{"creator_id":"2088501624560335","creator_type":"MER","order_id":"20170711000000004756471000155335","order_status":"SUCCESS","order_type":"CAMPAIGN_CREATE_ORDER"}],"auto_delay_flag":"Y","creator_type":"MER","end_time":"2018-04-07 00:00:00","id":"20170711000000001401297000151333","name":"消费满0.01元送10元兑换券","start_time":"2017-07-09 00:00:00","status":"STARTED","type":"CONSUME_SEND"}],"total_number":28},"sign":"G7m9lJicsCZJEw3Xsc2QVkolJXu+l2gLa2vBTQ3H6IqoY7HRYMmJOjAipVIrKTQc7vwA1gt2KzKnuJbiN5XckpUdUX7WlJ9AHH4OlZYmNYWyGhkvSILKvE6ppQMWwVjp7RYCFFw7i6RQe9KkgrNosF2KPkhV0k9lmHkKNzcxGsQ="}

 

如有疑问欢迎跟帖提问,不足之处欢迎多多吐槽!!!

目录
相关文章
|
15天前
|
SQL Java 关系型数据库
java连接mysql查询数据(基础版,无框架)
【10月更文挑战第12天】该示例展示了如何使用Java通过JDBC连接MySQL数据库并查询数据。首先在项目中引入`mysql-connector-java`依赖,然后通过`JdbcUtil`类中的`main`方法实现数据库连接、执行SQL查询及结果处理,最后关闭相关资源。
|
20天前
|
缓存 Java 数据处理
java查询大量数据优化
通过结合的高性能云服务,如其提供的弹性计算资源与全球加速网络,可以进一步增强这些优化策略的效果,确保数据处理环节更加迅速、可靠。蓝易云不仅提供稳定的基础架构,还拥有强大的安全防护和灵活的服务选项,是优化大型数据处理项目不可或缺的合作伙伴。
27 0
|
2月前
|
SQL Java
使用java在未知表字段情况下通过sql查询信息
使用java在未知表字段情况下通过sql查询信息
32 1
|
3月前
|
存储 搜索推荐 算法
在 Java 中如何更改数组列表的顺序
【8月更文挑战第23天】
121 0
|
3月前
|
存储 安全 Java
在 Java 中如何存储数组列表
【8月更文挑战第23天】
33 0
|
3月前
|
存储 Java API
如何在 Java 中创建 ArrayList 列表?
【8月更文挑战第23天】
73 0
|
3月前
|
存储 Java API
如何在 Java 中填充数组列表?
【8月更文挑战第23天】
21 0
|
Java 索引 编译器
|
11天前
|
安全 Java
java 中 i++ 到底是否线程安全?
本文通过实例探讨了 `i++` 在多线程环境下的线程安全性问题。首先,使用 100 个线程分别执行 10000 次 `i++` 操作,发现最终结果小于预期的 1000000,证明 `i++` 是线程不安全的。接着,介绍了两种解决方法:使用 `synchronized` 关键字加锁和使用 `AtomicInteger` 类。其中,`AtomicInteger` 通过 `CAS` 操作实现了高效的线程安全。最后,通过分析字节码和源码,解释了 `i++` 为何线程不安全以及 `AtomicInteger` 如何保证线程安全。
java 中 i++ 到底是否线程安全?
|
1天前
|
存储 安全 Java
Java多线程编程的艺术:从基础到实践####
本文深入探讨了Java多线程编程的核心概念、应用场景及其实现方式,旨在帮助开发者理解并掌握多线程编程的基本技能。文章首先概述了多线程的重要性和常见挑战,随后详细介绍了Java中创建和管理线程的两种主要方式:继承Thread类与实现Runnable接口。通过实例代码,本文展示了如何正确启动、运行及同步线程,以及如何处理线程间的通信与协作问题。最后,文章总结了多线程编程的最佳实践,为读者在实际项目中应用多线程技术提供了宝贵的参考。 ####
下一篇
无影云桌面