Browse Source

自有车添加本地计费时间,无车添加拆分运单号字段

Administrator 1 year ago
parent
commit
2a093740a5

+ 3 - 3
.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_freemarker_2_1_5_RELEASE.xml

@@ -1,13 +1,13 @@
 <component name="libraryTable">
   <library name="Maven: org.springframework.boot:spring-boot-starter-freemarker:2.1.5.RELEASE">
     <CLASSES>
-      <root url="jar://D:/mashenyi/jar/org/springframework/boot/spring-boot-starter-freemarker/2.1.5.RELEASE/spring-boot-starter-freemarker-2.1.5.RELEASE.jar!/" />
+      <root url="jar://$MAVEN_REPOSITORY$/org/springframework/boot/spring-boot-starter-freemarker/2.1.5.RELEASE/spring-boot-starter-freemarker-2.1.5.RELEASE.jar!/" />
     </CLASSES>
     <JAVADOC>
-      <root url="jar://D:/mashenyi/jar/org/springframework/boot/spring-boot-starter-freemarker/2.1.5.RELEASE/spring-boot-starter-freemarker-2.1.5.RELEASE-javadoc.jar!/" />
+      <root url="jar://$MAVEN_REPOSITORY$/org/springframework/boot/spring-boot-starter-freemarker/2.1.5.RELEASE/spring-boot-starter-freemarker-2.1.5.RELEASE-javadoc.jar!/" />
     </JAVADOC>
     <SOURCES>
-      <root url="jar://D:/mashenyi/jar/org/springframework/boot/spring-boot-starter-freemarker/2.1.5.RELEASE/spring-boot-starter-freemarker-2.1.5.RELEASE-sources.jar!/" />
+      <root url="jar://$MAVEN_REPOSITORY$/org/springframework/boot/spring-boot-starter-freemarker/2.1.5.RELEASE/spring-boot-starter-freemarker-2.1.5.RELEASE-sources.jar!/" />
     </SOURCES>
   </library>
 </component>

+ 4 - 4
.idea/manage_invoice1.iml

@@ -250,18 +250,18 @@
       </library>
     </orderEntry>
     <orderEntry type="module-library">
-      <library name="Maven: sdk-common-1.1:sdk:1.0">
+      <library name="Maven: sdk-common-1.0:sdk:1.0">
         <CLASSES>
-          <root url="jar://$MODULE_DIR$/lib/sdk-common-1.1.jar!/" />
+          <root url="jar://$MODULE_DIR$/lib/sdk-common-1.0.jar!/" />
         </CLASSES>
         <JAVADOC />
         <SOURCES />
       </library>
     </orderEntry>
     <orderEntry type="module-library">
-      <library name="Maven: sdk-waybill-protocol-1.3.12:sdk:1.0">
+      <library name="Maven: sdk-waybill-protocol-1.4:sdk:1.0">
         <CLASSES>
-          <root url="jar://$MODULE_DIR$/lib/sdk-waybill-protocol-1.3.12.jar!/" />
+          <root url="jar://$MODULE_DIR$/lib/sdk-waybill-protocol-1.4.jar!/" />
         </CLASSES>
         <JAVADOC />
         <SOURCES />

+ 1 - 1
src/main/java/com/jkcredit/invoice/credit/interserver/NoCarInterServiceImpl.java

@@ -1127,7 +1127,7 @@ public class NoCarInterServiceImpl implements NoCarInterService {
                 noCarWayBill1 = new NoCarWayBill();
                 noCarWayBill1.setBillNum(num);
             }
-            noCarWayBill1.setInterType(3);
+            noCarWayBill1.setInterType(0);
 
             RespR rs = noCarService.getInvoiceByWayBillOwnerNumReal(noCarWayBill1, false);
             long costtimeend = System.currentTimeMillis();

+ 7 - 0
src/main/java/com/jkcredit/invoice/service/lowerservice/impl/NoCarServiceImpl.java

@@ -1123,6 +1123,13 @@ public class NoCarServiceImpl implements NoCarService {
     public RespR getInvoiceByWayBillOwnerNumReal(NoCarWayBill noCarWayBill, boolean isInterface) {
         log.info("取票啦:NoCarServiceImpl.getInvoiceByWayBillNumReal{},isCurr{}", noCarWayBill, isInterface);
         if(noCarWayBill.getBillwayStatus() == 3){
+            if(noCarWayBill.getSplitFlag() == NoCarWayBill.SPLIT_FALG_TRUE){
+                int size = DateUtil.getSplitTimeOver96(noCarWayBill.getStartTime(),noCarWayBill.getPredictEndTime()).size();
+                for(int i=0;i<size;i++){
+                    String newBillNum = noCarWayBill.getBillNum()+"-jk0"+i;
+                    billInvoiceMapper.deleteByBillNum(newBillNum);
+                }
+            }
              return new RespR("success");
         }
         RespR<WaybillNumFindInvoiceResponse> responseRespR=null;

+ 178 - 0
src/main/resources/application.yml_bak

@@ -0,0 +1,178 @@
+
+server:
+  port: 18081
+  tomcat:
+    accesslog:
+      enabled: true
+      directory: /home/app/logs/tomcat   #日志存储目录
+      pattern: '%t %a %A %m %U%q %s %D %I %B'  #日志格式
+      prefix: access        #日志文件前缀
+      rename-on-rotate: true #是否启用日志轮转
+    max-threads: 800 # 最大线程数
+    max-connections: 20000 # 最大链接数
+    min-spare-threads: 100 # 最小空闲线程数
+    accept-count: 200
+#  undertow:
+#    # 指定工作者线程的 I/0 线程数,默认为 2 或者 CPU 的个数
+#    io-threads: 2
+#    # 指定工作者线程个数,默认为 I/O 线程个数的 8 倍
+#    worker-threads: 8
+spring:
+  application:
+    name: invoice
+  #\u4E0A\u4F20\u6587\u4EF6\u5927\u5C0F
+  servlet:
+    multipart:
+      enabled: true
+      max-file-size: 200MB
+      max-request-size: 200MB
+  profiles:
+    active: dev
+  jpa:
+    show-sql: true
+  main:
+    allow-bean-definition-overriding: true
+  resources:
+    static-locations: classpath:static/,file:static/
+  #    password:
+mybatis-plus:
+  mapper-locations: classpath:/mapper/*Mapper.xml,classpath*:/mapper/*/*Mapper.xml
+  global-config:
+    db-config:
+      table-prefix: t_
+logging:
+  config: classpath:logback-spring.xml
+  path: d:/logs
+#  configuration:
+#    log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
+#debug: true
+
+---
+spring:
+  profiles: dev
+  datasource:
+    #url: jdbc:mysql://172.31.1.10:3306/db_invoice?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=Asia/Shanghai&allowMultiQueries=true
+    #username: root
+    #password: Jkxy@mysql123
+    #url: jdbc:mysql://127.0.0.1:3306/db_invoice?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=Asia/Shanghai&allowMultiQueries=true&allowPublicKeyRetrieval=true
+    #username: root
+    #password: root
+    url: jdbc:mysql://192.168.50.4:3306/db_invoice?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=Asia/Shanghai&allowMultiQueries=true
+    username: root
+    password: jk@123
+    driver-class-name: com.mysql.jdbc.Driver
+    # \u4F7F\u7528druid\u6570\u636E\u6E90
+    type: com.alibaba.druid.pool.DruidDataSource
+    platform: mysql
+    druid:
+      initial-size: 10  # 初始化大小
+      min-idle: 10  # 最小
+      max-active: 100  # 最大
+      max-wait: 60000  # 配置获取连接等待超时的时间
+      time-between-eviction-runs-millis: 60000  # 配置间隔多久才进行一次检测,检测需要关闭的空闲连接,单位是毫秒
+      min-evictable-idle-time-millis: 300000  # 指定一个空闲连接最少空闲多久后可被清除,单位是毫秒
+      validationQuery: select 'x'
+      test-while-idle: true  # 当连接空闲时,是否执行连接测试
+      test-on-borrow: false  # 当从连接池借用连接时,是否测试该连接
+      test-on-return: false  # 在连接归还到连接池时是否测试该连接
+      filters: config,wall,stat  # 配置监控统计拦截的filters,去掉后监控界面sql无法统计,'wall'用于防火墙
+      poolPreparedStatements: true # 打开PSCache,并且指定每个连接上PSCache的大小
+      maxPoolPreparedStatementPerConnectionSize: 20
+      maxOpenPreparedStatements: 20
+          # 通过connectProperties属性来打开mergeSql功能;慢SQL记录
+      connectionProperties: druid.stat.slowSqlMillis=200;druid.stat.logSlowSql=true;config.decrypt=false
+  mail:
+    host: smtp.qq.com #邮件发送服务器
+    port: 587
+    username: 862885632@qq.com
+    password: axlmfkdxmixjbchh
+    test-connection: true #测试连接
+    properties:
+      mail:
+        smtp:
+          auth: true
+          enable: true
+  redis:
+    host: 127.0.0.1
+    port: 6379
+  rabbitmq:
+    host: localhost
+    port: 5672
+    username: guest
+    password: guest
+    publisher-confirms: true
+    publisher-returns: true
+    listener:
+      simple:
+        acknowledge-mode: manual
+        retry:
+          enabled: true
+        concurrency: 10
+        max-concurrency: 10
+      direct:
+        acknowledge-mode: manual
+---
+spring:
+  profiles: prod
+  datasource:
+    url: jdbc:mysql://192.168.50.88:3306/db_invoice?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=Asia/Shanghai&allowMultiQueries=true
+    username: root
+    password: jk@123
+    driver-class-name: com.mysql.jdbc.Driver
+    # \u4F7F\u7528druid\u6570\u636E\u6E90
+    type: com.alibaba.druid.pool.DruidDataSource
+    platform: mysql
+    druid:
+      initial-size: 5  # 初始化大小
+      min-idle: 5  # 最小
+      max-active: 100  # 最大
+      max-wait: 60000  # 配置获取连接等待超时的时间
+      time-between-eviction-runs-millis: 60000  # 配置间隔多久才进行一次检测,检测需要关闭的空闲连接,单位是毫秒
+      min-evictable-idle-time-millis: 300000  # 指定一个空闲连接最少空闲多久后可被清除,单位是毫秒
+      validationQuery: select 'x'
+      test-while-idle: true  # 当连接空闲时,是否执行连接测试
+      test-on-borrow: false  # 当从连接池借用连接时,是否测试该连接
+      test-on-return: false  # 在连接归还到连接池时是否测试该连接
+      filters: config,wall,stat  # 配置监控统计拦截的filters,去掉后监控界面sql无法统计,'wall'用于防火墙
+      poolPreparedStatements: true # 打开PSCache,并且指定每个连接上PSCache的大小
+      maxPoolPreparedStatementPerConnectionSize: 20
+      maxOpenPreparedStatements: 20
+      # 通过connectProperties属性来打开mergeSql功能;慢SQL记录
+      connectionProperties: druid.stat.slowSqlMillis=200;druid.stat.logSlowSql=true;config.decrypt=false
+      # 合并多个DruidDataSource的监控数据
+      #use-global-data-source-stat: true
+#      #WebStatFilter配置,说明请参考Druid Wiki,配置_配置WebStatFilter
+#      web-stat-filter:
+#        enabled: true #是否启用StatFilter默认值true
+#        url-pattern: /*
+#        exclusions: /druid/*,*.js,*.gif,*.jpg,*.bmp,*.png,*.css,*.ico
+#        session-stat-enable: true
+#        session-stat-max-count: 10
+#      #StatViewServlet配置,说明请参考Druid Wiki,配置_StatViewServlet配置
+#      stat-view-servlet:
+#        enabled: true #是否启用StatViewServlet默认值true
+#        url-pattern: /druid/*
+#        reset-enable: true
+#        login-username: jkxy
+#        login-password: jkxy@2019
+  redis:
+    host: 127.0.0.1
+    port: 6379
+    password: lq2uRBsf<vh2ouo
+  rabbitmq:
+    host: 127.0.0.1
+    port: 5672
+    username: guest
+    password: guest
+    publisher-confirms: true
+    publisher-returns: true
+    listener:
+      simple:
+        acknowledge-mode: manual
+        retry:
+          enabled: true
+        concurrency: 10
+        max-concurrency: 10
+      direct:
+        acknowledge-mode: manual
+

+ 176 - 0
src/main/resources/application_test.yml

@@ -0,0 +1,176 @@
+server:
+  port: 18081
+  tomcat:
+    accesslog:
+      enabled: true
+      directory: /home/app/logs/tomcat   #日志存储目录
+      pattern: '%t %a %A %m %U%q %s %D %I %B'  #日志格式
+      prefix: access        #日志文件前缀
+      rename-on-rotate: true #是否启用日志轮转
+    max-threads: 800 # 最大线程数
+    max-connections: 20000 # 最大链接数
+    min-spare-threads: 100 # 最小空闲线程数
+    accept-count: 200
+#  undertow:
+#    # 指定工作者线程的 I/0 线程数,默认为 2 或者 CPU 的个数
+#    io-threads: 2
+#    # 指定工作者线程个数,默认为 I/O 线程个数的 8 倍
+#    worker-threads: 8
+spring:
+  application:
+    name: invoice
+  #\u4E0A\u4F20\u6587\u4EF6\u5927\u5C0F
+  servlet:
+    multipart:
+      enabled: true
+      max-file-size: 200MB
+      max-request-size: 200MB
+  profiles:
+    active: dev
+  jpa:
+    show-sql: true
+  main:
+    allow-bean-definition-overriding: true
+  resources:
+    static-locations: classpath:static/,file:static/
+  #    password:
+mybatis-plus:
+  mapper-locations: classpath:/mapper/*Mapper.xml,classpath*:/mapper/*/*Mapper.xml
+  global-config:
+    db-config:
+      table-prefix: t_
+logging:
+  config: classpath:logback-spring.xml
+  path: d:/logs
+#  configuration:
+#    log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
+#debug: true
+
+---
+spring:
+  profiles: dev
+  datasource:
+    #url: jdbc:mysql://172.31.1.10:3306/db_invoice?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=Asia/Shanghai&allowMultiQueries=true
+    #username: root
+    #password: Jkxy@mysql123
+    #url: jdbc:mysql://127.0.0.1:3306/db_invoice?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=Asia/Shanghai&allowMultiQueries=true&allowPublicKeyRetrieval=true
+    #username: root
+    #password: root
+    url: jdbc:mysql://192.168.50.4:3306/db_invoice?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=Asia/Shanghai&allowMultiQueries=true
+    username: root
+    password: jk@123
+    driver-class-name: com.mysql.jdbc.Driver
+    # \u4F7F\u7528druid\u6570\u636E\u6E90
+    type: com.alibaba.druid.pool.DruidDataSource
+    platform: mysql
+    druid:
+      initial-size: 10  # 初始化大小
+      min-idle: 10  # 最小
+      max-active: 100  # 最大
+      max-wait: 60000  # 配置获取连接等待超时的时间
+      time-between-eviction-runs-millis: 60000  # 配置间隔多久才进行一次检测,检测需要关闭的空闲连接,单位是毫秒
+      min-evictable-idle-time-millis: 300000  # 指定一个空闲连接最少空闲多久后可被清除,单位是毫秒
+      validationQuery: select 'x'
+      test-while-idle: true  # 当连接空闲时,是否执行连接测试
+      test-on-borrow: false  # 当从连接池借用连接时,是否测试该连接
+      test-on-return: false  # 在连接归还到连接池时是否测试该连接
+      filters: config,wall,stat  # 配置监控统计拦截的filters,去掉后监控界面sql无法统计,'wall'用于防火墙
+      poolPreparedStatements: true # 打开PSCache,并且指定每个连接上PSCache的大小
+      maxPoolPreparedStatementPerConnectionSize: 20
+      maxOpenPreparedStatements: 20
+          # 通过connectProperties属性来打开mergeSql功能;慢SQL记录
+      connectionProperties: druid.stat.slowSqlMillis=200;druid.stat.logSlowSql=true;config.decrypt=false
+  mail:
+    host: smtp.qq.com #邮件发送服务器
+    port: 587
+    username: 862885632@qq.com
+    password: axlmfkdxmixjbchh
+    test-connection: true #测试连接
+    properties:
+      mail:
+        smtp:
+          auth: true
+          enable: true
+  redis:
+    host: 127.0.0.1
+    port: 6379
+  rabbitmq:
+    host: localhost
+    port: 5672
+    username: guest
+    password: guest
+    publisher-confirms: true
+    publisher-returns: true
+    listener:
+      simple:
+        acknowledge-mode: manual
+        retry:
+          enabled: true
+        concurrency: 10
+        max-concurrency: 10
+      direct:
+        acknowledge-mode: manual
+---
+spring:
+  profiles: prod
+  datasource:
+    url: jdbc:mysql://192.168.50.88:3306/db_invoice?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=Asia/Shanghai&allowMultiQueries=true
+    username: root
+    password: jk@123
+    driver-class-name: com.mysql.jdbc.Driver
+    # \u4F7F\u7528druid\u6570\u636E\u6E90
+    type: com.alibaba.druid.pool.DruidDataSource
+    platform: mysql
+    druid:
+      initial-size: 5  # 初始化大小
+      min-idle: 5  # 最小
+      max-active: 100  # 最大
+      max-wait: 60000  # 配置获取连接等待超时的时间
+      time-between-eviction-runs-millis: 60000  # 配置间隔多久才进行一次检测,检测需要关闭的空闲连接,单位是毫秒
+      min-evictable-idle-time-millis: 300000  # 指定一个空闲连接最少空闲多久后可被清除,单位是毫秒
+      validationQuery: select 'x'
+      test-while-idle: true  # 当连接空闲时,是否执行连接测试
+      test-on-borrow: false  # 当从连接池借用连接时,是否测试该连接
+      test-on-return: false  # 在连接归还到连接池时是否测试该连接
+      filters: config,wall,stat  # 配置监控统计拦截的filters,去掉后监控界面sql无法统计,'wall'用于防火墙
+      poolPreparedStatements: true # 打开PSCache,并且指定每个连接上PSCache的大小
+      maxPoolPreparedStatementPerConnectionSize: 20
+      maxOpenPreparedStatements: 20
+      # 通过connectProperties属性来打开mergeSql功能;慢SQL记录
+      connectionProperties: druid.stat.slowSqlMillis=200;druid.stat.logSlowSql=true;config.decrypt=false
+      # 合并多个DruidDataSource的监控数据
+      #use-global-data-source-stat: true
+#      #WebStatFilter配置,说明请参考Druid Wiki,配置_配置WebStatFilter
+#      web-stat-filter:
+#        enabled: true #是否启用StatFilter默认值true
+#        url-pattern: /*
+#        exclusions: /druid/*,*.js,*.gif,*.jpg,*.bmp,*.png,*.css,*.ico
+#        session-stat-enable: true
+#        session-stat-max-count: 10
+#      #StatViewServlet配置,说明请参考Druid Wiki,配置_StatViewServlet配置
+#      stat-view-servlet:
+#        enabled: true #是否启用StatViewServlet默认值true
+#        url-pattern: /druid/*
+#        reset-enable: true
+#        login-username: jkxy
+#        login-password: jkxy@2019
+  redis:
+    host: 127.0.0.1
+    port: 6379
+    password: lq2uRBsf<vh2ouo
+  rabbitmq:
+    host: 127.0.0.1
+    port: 5672
+    username: guest
+    password: guest
+    publisher-confirms: true
+    publisher-returns: true
+    listener:
+      simple:
+        acknowledge-mode: manual
+        retry:
+          enabled: true
+        concurrency: 10
+        max-concurrency: 10
+      direct:
+        acknowledge-mode: manual

+ 676 - 0
src/test/java/com/jkcredit/invoice/QueryDemo_Test1.java

@@ -0,0 +1,676 @@
+package com.jkcredit.invoice;
+
+import net.sf.json.JSONObject;
+import org.apache.commons.httpclient.HttpClient;
+import org.apache.commons.httpclient.NameValuePair;
+import org.apache.commons.httpclient.methods.PostMethod;
+
+import java.io.BufferedReader;
+import java.io.IOException;
+import java.io.InputStream;
+import java.io.InputStreamReader;
+import java.util.Iterator;
+
+/**
+ * Created by zhangqingxin Date : 16/11/6 Time : 10:41
+ * <p/>
+ * 参考一(HttpClient):http://mvnrepository.com/artifact/commons-httpclient/commons-
+ * httpclient/3.1
+ * 参考一(json-lib):http://mvnrepository.com/artifact/net.sf.json-lib/json-lib/2.4
+ */
+public class QueryDemo_Test1 {
+
+	/**
+	 * 测试地址
+	 */
+          private static final String URL = "http://etc.jkcredit.com:9999/api/rest";
+
+	 	//private static final String URL = "http://110.88.150.74:80/credit?api=credit.sec.data_test";
+	  	//private static final String URL = "http://110.88.150.74/credit?api=credit.sec.data";
+		//private static final String URL = "http://123.57.186.204/gateway?api=credit.sec.data_test";
+		//private static final String URL = "http://123.57.186.204/gateway?api=credit.sec.data";
+	//	private static final String URL = "http://www1.h11.site/gateway?api=credit.sec.data";
+	//	private static final String URL = "http://110.88.150.68:8000/gateway?api=credit.sec.data";
+		//private static final String URL = "http://60.205.114.163:8000/gateway?api=credit.sec.data";
+	 	//private static final String URL = " http://45.126.120.88/gateway?api=credit.sec.data";
+		//private static final String URL = "http://119.18.195.163/gateway?api=credit.sec.data";
+
+	/**
+	 * 分配的appKey
+	 */
+	 	//private static final String appKey = "junxin_test";
+	
+		private static final String appKey = "dzka";
+	 	//private static final String appKey = "ccx";
+
+	/**
+	 * 方法入口
+	 *
+	 * @param args
+	 */
+	public static void main(String args[]) throws Exception {
+		   QueryDemo_Test1 demo = new QueryDemo_Test1();
+		demo.runMainService();
+	}
+
+	/**
+	 * 调用主接口
+	 */
+	public void runMainService() {
+		try {
+			/**
+			 * 实名demo
+			 */
+			String [] nums = {
+					"33012205230200043866"
+			};
+			for(int i=0;i<nums.length;i++){
+//				JSONObject paramJsonObj202109 = initParamJsonObj_Realname202109(nums[i]);
+//				String ret202109 = postClient(URL, paramJsonObj202109);
+//				System.out.println(ret202109);
+//
+//
+//				JSONObject paramJsonObj202110 = initParamJsonObj_Realname202110(nums[i]);
+//				String ret202110 = postClient(URL, paramJsonObj202110);
+//				System.out.println(ret202110);
+//
+//
+//
+//				JSONObject paramJsonObj202111 = initParamJsonObj_Realname202111(nums[i]);
+//				String ret202111 = postClient(URL, paramJsonObj202111);
+//				System.out.println(ret202111);
+//
+//
+//
+//				JSONObject paramJsonObj202112 = initParamJsonObj_Realname202112(nums[i]);
+//				String ret202112 = postClient(URL, paramJsonObj202112);
+//				System.out.println(ret202112);
+//
+//
+//
+//				JSONObject paramJsonObj202201 = initParamJsonObj_Realname202201(nums[i]);
+//				String ret202201 = postClient(URL, paramJsonObj202201);
+//				System.out.println(ret202201);
+//
+//
+//
+//
+//				JSONObject paramJsonObj202202 = initParamJsonObj_Realname202202(nums[i]);
+//				String ret202202 = postClient(URL, paramJsonObj202202);
+//				System.out.println(ret202202);
+//
+//
+//
+//				JSONObject paramJsonObj202203 = initParamJsonObj_Realname202203(nums[i]);
+//				String ret202203= postClient(URL, paramJsonObj202203);
+//				System.out.println(ret202203);
+//
+//
+//
+//				JSONObject paramJsonObj202204 = initParamJsonObj_Realname202204(nums[i]);
+//				String ret202204 = postClient(URL, paramJsonObj202204);
+//				System.out.println(ret202204);
+//
+//
+//				JSONObject paramJsonObj202205 = initParamJsonObj_Realname202205(nums[i]);
+//				String ret202205 = postClient(URL, paramJsonObj202205);
+//				System.out.println(ret202205);
+//
+//
+//				JSONObject paramJsonObj202206 = initParamJsonObj_Realname202206(nums[i]);
+//				String ret202206 = postClient(URL, paramJsonObj202206);
+//				System.out.println(ret202206);
+
+
+				/*JSONObject paramJsonObj202207 = initParamJsonObj_Realname202207(nums[i]);
+				String ret202207 = postClient(URL, paramJsonObj202207);
+				System.out.println(ret202207);*/
+
+//
+			JSONObject paramJsonObj202208 = initParamJsonObj_Realname202208(nums[i]);
+			String ret202208 = postClient(URL, paramJsonObj202208);
+			System.out.println(ret202208);
+//
+//				JSONObject paramJsonObj202209 = initParamJsonObj_Realname202209(nums[i]);
+//				String ret202209 = postClient(URL, paramJsonObj202209);
+//				System.out.println(ret202209);
+//
+//				JSONObject paramJsonObj202210 = initParamJsonObj_Realname202210(nums[i]);
+//				String ret202210 = postClient(URL, paramJsonObj202210);
+//				System.out.println(ret202210);
+//
+//				JSONObject paramJsonObj202211 = initParamJsonObj_Realname202211(nums[i]);
+//				String ret202211 = postClient(URL, paramJsonObj202211);
+//				System.out.println(ret202211);
+//
+//				JSONObject paramJsonObj202212 = initParamJsonObj_Realname202212(nums[i]);
+//				String ret202212 = postClient(URL, paramJsonObj202212);
+//				System.out.println(ret202212);
+//
+//				JSONObject paramJsonObj202301 = initParamJsonObj_Realname202301(nums[i]);
+//				String ret202301 = postClient(URL, paramJsonObj202301);
+//				System.out.println(ret202301);
+
+			}
+
+		} catch (Exception e) {
+			e.printStackTrace();
+		}
+	}
+
+	/**
+	 * 整合参数(实名认证)
+	 *
+	 * @return
+	 */
+	public JSONObject initParamJsonObj_Realname202109(String num) {
+		/**
+		 * 基本参数
+		 */
+		JSONObject paramJsonObj = new JSONObject();
+		paramJsonObj.put("api", "B2B_INVOICE_QUERY_V1");//CTCC_3RD_DETAIL_V11//CTCC_STATUS_CHECK_V11//CUCC_STATUS_CHECK_V11//CMCC_3RD_DETAIL_V15//CMCC_3RD_V2//CTCC_3RD_DETAIL_V11//
+		 //paramJsonObj.put("api", "MSISDNMD5TOIMEI");//MOBILE_CHECK_V1//CMCC_3RD_VERIFY_V4//CTCC_CHECK_V1
+		paramJsonObj.put("appKey", appKey);
+	    paramJsonObj.put("appSecret",
+		"CA02EAB3CAE8A89CD61359244CD971BBABDB44D5");
+		//"84C1CE24EDF361F28072E313BD87EAB24CC727CF");
+
+	   
+
+		/**
+		 * 业务参数
+		 */
+		JSONObject dataJson = new JSONObject();
+		dataJson.put("companyNum","11171249");
+		dataJson.put("cardId",num);
+		dataJson.put("startInvoiceMakeTime","2021-09-01T00:00:00");
+		dataJson.put("endInvoiceMakeTime","2021-10-01T00:00:00");
+		paramJsonObj.put("data", dataJson);
+		return paramJsonObj;
+	}
+
+
+	public JSONObject initParamJsonObj_Realname202110(String num) {
+		/**
+		 * 基本参数
+		 */
+		JSONObject paramJsonObj = new JSONObject();
+		paramJsonObj.put("api", "B2B_INVOICE_QUERY_V1");//CTCC_3RD_DETAIL_V11//CTCC_STATUS_CHECK_V11//CUCC_STATUS_CHECK_V11//CMCC_3RD_DETAIL_V15//CMCC_3RD_V2//CTCC_3RD_DETAIL_V11//
+		//paramJsonObj.put("api", "MSISDNMD5TOIMEI");//MOBILE_CHECK_V1//CMCC_3RD_VERIFY_V4//CTCC_CHECK_V1
+		paramJsonObj.put("appKey", appKey);
+		paramJsonObj.put("appSecret",
+				"CA02EAB3CAE8A89CD61359244CD971BBABDB44D5");
+		//"84C1CE24EDF361F28072E313BD87EAB24CC727CF");
+
+
+
+		/**
+		 * 业务参数
+		 */
+		JSONObject dataJson = new JSONObject();
+		dataJson.put("companyNum","11171249");
+		dataJson.put("cardId",num);
+		dataJson.put("startInvoiceMakeTime","2021-10-01T00:00:00");
+		dataJson.put("endInvoiceMakeTime","2021-11-01T00:00:00");
+		paramJsonObj.put("data", dataJson);
+		return paramJsonObj;
+	}
+
+
+	public JSONObject initParamJsonObj_Realname202111(String num) {
+		/**
+		 * 基本参数
+		 */
+		JSONObject paramJsonObj = new JSONObject();
+		paramJsonObj.put("api", "B2B_INVOICE_QUERY_V1");//CTCC_3RD_DETAIL_V11//CTCC_STATUS_CHECK_V11//CUCC_STATUS_CHECK_V11//CMCC_3RD_DETAIL_V15//CMCC_3RD_V2//CTCC_3RD_DETAIL_V11//
+		//paramJsonObj.put("api", "MSISDNMD5TOIMEI");//MOBILE_CHECK_V1//CMCC_3RD_VERIFY_V4//CTCC_CHECK_V1
+		paramJsonObj.put("appKey", appKey);
+		paramJsonObj.put("appSecret",
+				"CA02EAB3CAE8A89CD61359244CD971BBABDB44D5");
+		//"84C1CE24EDF361F28072E313BD87EAB24CC727CF");
+
+
+
+		/**
+		 * 业务参数
+		 */
+		JSONObject dataJson = new JSONObject();
+		dataJson.put("companyNum","11171249");
+		dataJson.put("cardId",num);
+		dataJson.put("startInvoiceMakeTime","2021-11-01T00:00:00");
+		dataJson.put("endInvoiceMakeTime","2021-12-01T00:00:00");
+		paramJsonObj.put("data", dataJson);
+		return paramJsonObj;
+	}
+
+
+	public JSONObject initParamJsonObj_Realname202112(String num) {
+		/**
+		 * 基本参数
+		 */
+		JSONObject paramJsonObj = new JSONObject();
+		paramJsonObj.put("api", "B2B_INVOICE_QUERY_V1");//CTCC_3RD_DETAIL_V11//CTCC_STATUS_CHECK_V11//CUCC_STATUS_CHECK_V11//CMCC_3RD_DETAIL_V15//CMCC_3RD_V2//CTCC_3RD_DETAIL_V11//
+		//paramJsonObj.put("api", "MSISDNMD5TOIMEI");//MOBILE_CHECK_V1//CMCC_3RD_VERIFY_V4//CTCC_CHECK_V1
+		paramJsonObj.put("appKey", appKey);
+		paramJsonObj.put("appSecret",
+				"CA02EAB3CAE8A89CD61359244CD971BBABDB44D5");
+		//"84C1CE24EDF361F28072E313BD87EAB24CC727CF");
+
+
+
+		/**
+		 * 业务参数
+		 */
+		JSONObject dataJson = new JSONObject();
+		dataJson.put("companyNum","11171249");
+		dataJson.put("cardId",num);
+		dataJson.put("startInvoiceMakeTime","2021-12-01T00:00:00");
+		dataJson.put("endInvoiceMakeTime","2022-01-01T00:00:00");
+		paramJsonObj.put("data", dataJson);
+		return paramJsonObj;
+	}
+
+	public JSONObject initParamJsonObj_Realname202201(String num) {
+		/**
+		 * 基本参数
+		 */
+		JSONObject paramJsonObj = new JSONObject();
+		paramJsonObj.put("api", "B2B_INVOICE_QUERY_V1");//CTCC_3RD_DETAIL_V11//CTCC_STATUS_CHECK_V11//CUCC_STATUS_CHECK_V11//CMCC_3RD_DETAIL_V15//CMCC_3RD_V2//CTCC_3RD_DETAIL_V11//
+		//paramJsonObj.put("api", "MSISDNMD5TOIMEI");//MOBILE_CHECK_V1//CMCC_3RD_VERIFY_V4//CTCC_CHECK_V1
+		paramJsonObj.put("appKey", appKey);
+		paramJsonObj.put("appSecret",
+				"CA02EAB3CAE8A89CD61359244CD971BBABDB44D5");
+		//"84C1CE24EDF361F28072E313BD87EAB24CC727CF");
+
+
+
+		/**
+		 * 业务参数
+		 */
+		JSONObject dataJson = new JSONObject();
+		dataJson.put("companyNum","11171249");
+		dataJson.put("cardId",num);
+		dataJson.put("startInvoiceMakeTime","2022-01-01T00:00:00");
+		dataJson.put("endInvoiceMakeTime","2022-02-01T00:00:00");
+		paramJsonObj.put("data", dataJson);
+		return paramJsonObj;
+	}
+
+
+	public JSONObject initParamJsonObj_Realname202202(String num) {
+		/**
+		 * 基本参数
+		 */
+		JSONObject paramJsonObj = new JSONObject();
+		paramJsonObj.put("api", "B2B_INVOICE_QUERY_V1");//CTCC_3RD_DETAIL_V11//CTCC_STATUS_CHECK_V11//CUCC_STATUS_CHECK_V11//CMCC_3RD_DETAIL_V15//CMCC_3RD_V2//CTCC_3RD_DETAIL_V11//
+		//paramJsonObj.put("api", "MSISDNMD5TOIMEI");//MOBILE_CHECK_V1//CMCC_3RD_VERIFY_V4//CTCC_CHECK_V1
+		paramJsonObj.put("appKey", appKey);
+		paramJsonObj.put("appSecret",
+				"CA02EAB3CAE8A89CD61359244CD971BBABDB44D5");
+		//"84C1CE24EDF361F28072E313BD87EAB24CC727CF");
+
+
+
+		/**
+		 * 业务参数
+		 */
+		JSONObject dataJson = new JSONObject();
+		dataJson.put("companyNum","11171249");
+		dataJson.put("cardId",num);
+		dataJson.put("startInvoiceMakeTime","2022-02-01T00:00:00");
+		dataJson.put("endInvoiceMakeTime","2022-03-01T00:00:00");
+		paramJsonObj.put("data", dataJson);
+		return paramJsonObj;
+	}
+
+
+	public JSONObject initParamJsonObj_Realname202203(String num) {
+		/**
+		 * 基本参数
+		 */
+		JSONObject paramJsonObj = new JSONObject();
+		paramJsonObj.put("api", "B2B_INVOICE_QUERY_V1");//CTCC_3RD_DETAIL_V11//CTCC_STATUS_CHECK_V11//CUCC_STATUS_CHECK_V11//CMCC_3RD_DETAIL_V15//CMCC_3RD_V2//CTCC_3RD_DETAIL_V11//
+		//paramJsonObj.put("api", "MSISDNMD5TOIMEI");//MOBILE_CHECK_V1//CMCC_3RD_VERIFY_V4//CTCC_CHECK_V1
+		paramJsonObj.put("appKey", appKey);
+		paramJsonObj.put("appSecret",
+				"CA02EAB3CAE8A89CD61359244CD971BBABDB44D5");
+		//"84C1CE24EDF361F28072E313BD87EAB24CC727CF");
+
+
+
+		/**
+		 * 业务参数
+		 */
+		JSONObject dataJson = new JSONObject();
+		dataJson.put("companyNum","11171249");
+		dataJson.put("cardId",num);
+		dataJson.put("startInvoiceMakeTime","2022-03-01T00:00:00");
+		dataJson.put("endInvoiceMakeTime","2022-04-01T00:00:00");
+		paramJsonObj.put("data", dataJson);
+		return paramJsonObj;
+	}
+
+
+	public JSONObject initParamJsonObj_Realname202204(String num) {
+		/**
+		 * 基本参数
+		 */
+		JSONObject paramJsonObj = new JSONObject();
+		paramJsonObj.put("api", "B2B_INVOICE_QUERY_V1");//CTCC_3RD_DETAIL_V11//CTCC_STATUS_CHECK_V11//CUCC_STATUS_CHECK_V11//CMCC_3RD_DETAIL_V15//CMCC_3RD_V2//CTCC_3RD_DETAIL_V11//
+		//paramJsonObj.put("api", "MSISDNMD5TOIMEI");//MOBILE_CHECK_V1//CMCC_3RD_VERIFY_V4//CTCC_CHECK_V1
+		paramJsonObj.put("appKey", appKey);
+		paramJsonObj.put("appSecret",
+				"CA02EAB3CAE8A89CD61359244CD971BBABDB44D5");
+		//"84C1CE24EDF361F28072E313BD87EAB24CC727CF");
+
+
+
+		/**
+		 * 业务参数
+		 */
+		JSONObject dataJson = new JSONObject();
+		dataJson.put("companyNum","11171249");
+		dataJson.put("cardId",num);
+		dataJson.put("startInvoiceMakeTime","2022-04-01T00:00:00");
+		dataJson.put("endInvoiceMakeTime","2022-05-01T00:00:00");
+		paramJsonObj.put("data", dataJson);
+		return paramJsonObj;
+	}
+
+	public JSONObject initParamJsonObj_Realname202205(String num) {
+		/**
+		 * 基本参数
+		 */
+		JSONObject paramJsonObj = new JSONObject();
+		paramJsonObj.put("api", "B2B_INVOICE_QUERY_V1");//CTCC_3RD_DETAIL_V11//CTCC_STATUS_CHECK_V11//CUCC_STATUS_CHECK_V11//CMCC_3RD_DETAIL_V15//CMCC_3RD_V2//CTCC_3RD_DETAIL_V11//
+		//paramJsonObj.put("api", "MSISDNMD5TOIMEI");//MOBILE_CHECK_V1//CMCC_3RD_VERIFY_V4//CTCC_CHECK_V1
+		paramJsonObj.put("appKey", appKey);
+		paramJsonObj.put("appSecret",
+				"CA02EAB3CAE8A89CD61359244CD971BBABDB44D5");
+		//"84C1CE24EDF361F28072E313BD87EAB24CC727CF");
+
+
+
+		/**
+		 * 业务参数
+		 */
+		JSONObject dataJson = new JSONObject();
+		dataJson.put("companyNum","11171249");
+		dataJson.put("cardId",num);
+		dataJson.put("startInvoiceMakeTime","2022-05-01T00:00:00");
+		dataJson.put("endInvoiceMakeTime","2022-06-01T00:00:00");
+		paramJsonObj.put("data", dataJson);
+		return paramJsonObj;
+	}
+
+	public JSONObject initParamJsonObj_Realname202206(String num) {
+		/**
+		 * 基本参数
+		 */
+		JSONObject paramJsonObj = new JSONObject();
+		paramJsonObj.put("api", "B2B_INVOICE_QUERY_V1");//CTCC_3RD_DETAIL_V11//CTCC_STATUS_CHECK_V11//CUCC_STATUS_CHECK_V11//CMCC_3RD_DETAIL_V15//CMCC_3RD_V2//CTCC_3RD_DETAIL_V11//
+		//paramJsonObj.put("api", "MSISDNMD5TOIMEI");//MOBILE_CHECK_V1//CMCC_3RD_VERIFY_V4//CTCC_CHECK_V1
+		paramJsonObj.put("appKey", appKey);
+		paramJsonObj.put("appSecret",
+				"CA02EAB3CAE8A89CD61359244CD971BBABDB44D5");
+		//"84C1CE24EDF361F28072E313BD87EAB24CC727CF");
+
+
+
+		/**
+		 * 业务参数
+		 */
+		JSONObject dataJson = new JSONObject();
+		dataJson.put("companyNum","11171249");
+		dataJson.put("cardId",num);
+		dataJson.put("startInvoiceMakeTime","2022-06-01T00:00:00");
+		dataJson.put("endInvoiceMakeTime","2022-07-01T00:00:00");
+		paramJsonObj.put("data", dataJson);
+		return paramJsonObj;
+	}
+
+	public JSONObject initParamJsonObj_Realname202207(String num) {
+		/**
+		 * 基本参数
+		 */
+		JSONObject paramJsonObj = new JSONObject();
+		paramJsonObj.put("api", "WAY_BILL_NUM_FIND_OWNER_INVOICE");//CTCC_3RD_DETAIL_V11//CTCC_STATUS_CHECK_V11//CUCC_STATUS_CHECK_V11//CMCC_3RD_DETAIL_V15//CMCC_3RD_V2//CTCC_3RD_DETAIL_V11//
+		//paramJsonObj.put("api", "MSISDNMD5TOIMEI");//MOBILE_CHECK_V1//CMCC_3RD_VERIFY_V4//CTCC_CHECK_V1
+		paramJsonObj.put("appKey", appKey);
+		paramJsonObj.put("appSecret",
+				"8898A0EACB6D51419A4C801A2CE509FC0C31D90B");
+		//"84C1CE24EDF361F28072E313BD87EAB24CC727CF");
+
+
+
+		/**
+		 * 业务参数
+		 */
+		JSONObject dataJson = new JSONObject();
+		dataJson.put("num",num);
+		paramJsonObj.put("data", dataJson);
+		return paramJsonObj;
+	}
+
+	public JSONObject initParamJsonObj_Realname202208(String num) {
+		/**
+		 * 基本参数
+		 */
+		JSONObject paramJsonObj = new JSONObject();
+		paramJsonObj.put("api", "B2B_INVOICE_QUERY_V1");//CTCC_3RD_DETAIL_V11//CTCC_STATUS_CHECK_V11//CUCC_STATUS_CHECK_V11//CMCC_3RD_DETAIL_V15//CMCC_3RD_V2//CTCC_3RD_DETAIL_V11//
+		//paramJsonObj.put("api", "MSISDNMD5TOIMEI");//MOBILE_CHECK_V1//CMCC_3RD_VERIFY_V4//CTCC_CHECK_V1
+		paramJsonObj.put("appKey", appKey);
+		paramJsonObj.put("appSecret",
+
+								"0551954004ED4EED99B40E0E5023E7966AC084DB");
+		//"84C1CE24EDF361F28072E313BD87EAB24CC727CF");
+
+
+
+		/**
+		 * 业务参数
+		 */
+		JSONObject dataJson = new JSONObject();
+		dataJson.put("companyNum","11198580");
+		dataJson.put("cardId",num);
+		dataJson.put("startInvoiceMakeTime","2023-05-01T00:00:00");
+		dataJson.put("endInvoiceMakeTime","2023-06-01T00:00:00");
+		paramJsonObj.put("data", dataJson);
+		return paramJsonObj;
+	}
+
+	public JSONObject initParamJsonObj_Realname202209(String num) {
+		/**
+		 * 基本参数
+		 */
+		JSONObject paramJsonObj = new JSONObject();
+		paramJsonObj.put("api", "B2B_INVOICE_QUERY_V1");//CTCC_3RD_DETAIL_V11//CTCC_STATUS_CHECK_V11//CUCC_STATUS_CHECK_V11//CMCC_3RD_DETAIL_V15//CMCC_3RD_V2//CTCC_3RD_DETAIL_V11//
+		//paramJsonObj.put("api", "MSISDNMD5TOIMEI");//MOBILE_CHECK_V1//CMCC_3RD_VERIFY_V4//CTCC_CHECK_V1
+		paramJsonObj.put("appKey", appKey);
+		paramJsonObj.put("appSecret",
+				"CA02EAB3CAE8A89CD61359244CD971BBABDB44D5");
+		//"84C1CE24EDF361F28072E313BD87EAB24CC727CF");
+
+
+
+		/**
+		 * 业务参数
+		 */
+		JSONObject dataJson = new JSONObject();
+		dataJson.put("companyNum","11171249");
+		dataJson.put("cardId",num);
+		dataJson.put("startInvoiceMakeTime","2022-09-01T00:00:00");
+		dataJson.put("endInvoiceMakeTime","2022-10-01T00:00:00");
+		paramJsonObj.put("data", dataJson);
+		return paramJsonObj;
+	}
+	public JSONObject initParamJsonObj_Realname202210(String num) {
+		/**
+		 * 基本参数
+		 */
+		JSONObject paramJsonObj = new JSONObject();
+		paramJsonObj.put("api", "B2B_INVOICE_QUERY_V1");//CTCC_3RD_DETAIL_V11//CTCC_STATUS_CHECK_V11//CUCC_STATUS_CHECK_V11//CMCC_3RD_DETAIL_V15//CMCC_3RD_V2//CTCC_3RD_DETAIL_V11//
+		//paramJsonObj.put("api", "MSISDNMD5TOIMEI");//MOBILE_CHECK_V1//CMCC_3RD_VERIFY_V4//CTCC_CHECK_V1
+		paramJsonObj.put("appKey", appKey);
+		paramJsonObj.put("appSecret",
+				"CA02EAB3CAE8A89CD61359244CD971BBABDB44D5");
+		//"84C1CE24EDF361F28072E313BD87EAB24CC727CF");
+
+
+
+		/**
+		 * 业务参数
+		 */
+		JSONObject dataJson = new JSONObject();
+		dataJson.put("companyNum","11171249");
+		dataJson.put("cardId",num);
+		dataJson.put("startInvoiceMakeTime","2022-10-01T00:00:00");
+		dataJson.put("endInvoiceMakeTime","2022-11-01T00:00:00");
+		paramJsonObj.put("data", dataJson);
+		return paramJsonObj;
+	}
+
+	public JSONObject initParamJsonObj_Realname202211(String num) {
+		/**
+		 * 基本参数
+		 */
+		JSONObject paramJsonObj = new JSONObject();
+		paramJsonObj.put("api", "B2B_INVOICE_QUERY_V1");//CTCC_3RD_DETAIL_V11//CTCC_STATUS_CHECK_V11//CUCC_STATUS_CHECK_V11//CMCC_3RD_DETAIL_V15//CMCC_3RD_V2//CTCC_3RD_DETAIL_V11//
+		//paramJsonObj.put("api", "MSISDNMD5TOIMEI");//MOBILE_CHECK_V1//CMCC_3RD_VERIFY_V4//CTCC_CHECK_V1
+		paramJsonObj.put("appKey", appKey);
+		paramJsonObj.put("appSecret",
+				"CA02EAB3CAE8A89CD61359244CD971BBABDB44D5");
+		//"84C1CE24EDF361F28072E313BD87EAB24CC727CF");
+
+
+
+		/**
+		 * 业务参数
+		 */
+		JSONObject dataJson = new JSONObject();
+		dataJson.put("companyNum","11171249");
+		dataJson.put("cardId",num);
+		dataJson.put("startInvoiceMakeTime","2022-11-01T00:00:00");
+		dataJson.put("endInvoiceMakeTime","2022-12-01T00:00:00");
+		paramJsonObj.put("data", dataJson);
+		return paramJsonObj;
+	}
+
+	public JSONObject initParamJsonObj_Realname202212(String num) {
+		/**
+		 * 基本参数
+		 */
+		JSONObject paramJsonObj = new JSONObject();
+		paramJsonObj.put("api", "B2B_INVOICE_QUERY_V1");//CTCC_3RD_DETAIL_V11//CTCC_STATUS_CHECK_V11//CUCC_STATUS_CHECK_V11//CMCC_3RD_DETAIL_V15//CMCC_3RD_V2//CTCC_3RD_DETAIL_V11//
+		//paramJsonObj.put("api", "MSISDNMD5TOIMEI");//MOBILE_CHECK_V1//CMCC_3RD_VERIFY_V4//CTCC_CHECK_V1
+		paramJsonObj.put("appKey", appKey);
+		paramJsonObj.put("appSecret",
+				"CA02EAB3CAE8A89CD61359244CD971BBABDB44D5");
+		//"84C1CE24EDF361F28072E313BD87EAB24CC727CF");
+
+
+
+		/**
+		 * 业务参数
+		 */
+		JSONObject dataJson = new JSONObject();
+		dataJson.put("companyNum","11171249");
+		dataJson.put("cardId",num);
+		dataJson.put("startInvoiceMakeTime","2022-12-01T00:00:00");
+		dataJson.put("endInvoiceMakeTime","2023-01-01T00:00:00");
+		paramJsonObj.put("data", dataJson);
+		return paramJsonObj;
+	}
+
+	public JSONObject initParamJsonObj_Realname202301(String num) {
+		/**
+		 * 基本参数
+		 */
+		JSONObject paramJsonObj = new JSONObject();
+		paramJsonObj.put("api", "B2B_INVOICE_QUERY_V1");//CTCC_3RD_DETAIL_V11//CTCC_STATUS_CHECK_V11//CUCC_STATUS_CHECK_V11//CMCC_3RD_DETAIL_V15//CMCC_3RD_V2//CTCC_3RD_DETAIL_V11//
+		//paramJsonObj.put("api", "MSISDNMD5TOIMEI");//MOBILE_CHECK_V1//CMCC_3RD_VERIFY_V4//CTCC_CHECK_V1
+		paramJsonObj.put("appKey", appKey);
+		paramJsonObj.put("appSecret",
+				"CA02EAB3CAE8A89CD61359244CD971BBABDB44D5");
+		//"84C1CE24EDF361F28072E313BD87EAB24CC727CF");
+
+
+
+		/**
+		 * 业务参数
+		 */
+		JSONObject dataJson = new JSONObject();
+		dataJson.put("companyNum","11171249");
+		dataJson.put("cardId",num);
+		dataJson.put("startInvoiceMakeTime","2023-01-01T00:00:00");
+		dataJson.put("endInvoiceMakeTime","2023-02-01T00:00:00");
+		paramJsonObj.put("data", dataJson);
+		return paramJsonObj;
+	}
+
+
+	/**
+	 * 实现http post请求 注意编码 UTF-8
+	 *
+	 * @param url
+	 * @param paramObj
+	 * @return
+	 */
+	public String postClient(String url, JSONObject paramObj) {
+		String str = "";
+		HttpClient client = null;
+		PostMethod method = null;
+		try {
+			client = new HttpClient();
+			method = new PostMethod(url);
+			method.setRequestHeader("Content-Type", "application/json;charset=utf-8");
+			NameValuePair[] param = new NameValuePair[paramObj.size()];
+			@SuppressWarnings("unchecked")
+			Iterator<String> keys = paramObj.keys();
+			int i = 0;
+			while (keys.hasNext()) {
+				String key = (String) keys.next();
+				String value = paramObj.getString(key);
+				param[i] = new NameValuePair(key, value);
+				i++;
+			}
+			method.setRequestBody(param);
+			client.executeMethod(method);
+			str = convertStreamToString(method.getResponseBodyAsStream());
+		} catch (Exception e) {
+			e.printStackTrace();
+		} finally {
+			if (method != null) {
+				method.releaseConnection();
+			}
+		}
+		return str;
+	}
+
+	/**
+	 * 流转字符串
+	 *
+	 * @param is
+	 * @return
+	 */
+	public static String convertStreamToString(InputStream is) {
+		BufferedReader reader = new BufferedReader(new InputStreamReader(is));
+		StringBuilder builder = new StringBuilder();
+		String line = null;
+		try {
+			while ((line = reader.readLine()) != null) {
+				builder.append(line + "\n");
+			}
+		} catch (IOException e) {
+			e.printStackTrace();
+		} finally {
+			try {
+				is.close();
+			} catch (IOException e) {
+				e.printStackTrace();
+			}
+		}
+		return builder.toString();
+	}
+
+}