package org.security.trans.taskCheck.task;

import java.io.File;


/**
 * @author zj 2022/6/6
 */
class TaskDeadlineCheckTaskTest {
	public static void main(String[] args) {
		String s = "<?xml version=\"1.0\" encoding=\"UTF-8\"?><root><BatchBean MODEL_CODE=\"SIMS\" IS_UNITED_ACCESS=\"false\" IS_SUNECM_COSOLE=\"false\" IS_BREAK_POINT=\"false\" IS_DOWNLOAD=\"false\">  <index_Object CONTENT_STATUS=\"1\" SERVER_ID=\"1\" UPLOAD_USER=\"sims\" CONTENT_ID=\"202212_383_23D0B3BA-699B-28DF-BBED-092823025503-1\" MIGRATION_STATUS=\"1\" VERSION=\"1\" MAX_VERSION=\"1\" GROUP_ID=\"1\" GROUP_NAME=\"HTBANK\">    <customMap>      <CUST_ID><string>532323199604040714</string></CUST_ID>      <OPER_TLR_NO><string></string></OPER_TLR_NO>      <CUST_NO><string></string></CUST_NO>      <NEAR_PATH><string>202212/383/</string></NEAR_PATH>      <MOBILE_NO><string></string></MOBILE_NO>      <ORGAN_NO><string>99999</string></ORGAN_NO>      <BUSI_END_DATE><string></string></BUSI_END_DATE>      <CHANNEL><string>SIMS</string></CHANNEL>      <BUSI_BATCH_NO><string>SIMS000120221201185517000001491</string></BUSI_BATCH_NO>      <BUSI_START_DATE><string>20221201</string></BUSI_START_DATE>      <OFFLINE_PATH><string></string></OFFLINE_PATH>      <CUST_NAME><string>101182</string></CUST_NAME>      <BUSI_SERIAL_NO><string>SIMS000120221201185517000001489</string></BUSI_SERIAL_NO>    </customMap>  </index_Object>  <document_Objects>    <BatchFileBean FILE_PART_NAME=\"SIMS_PART\">      <files>        <FileBean VERSION=\"1\" UPLOAD_TIME=\"20221201185517\" FILE_FORMAT=\"jpg\" FILE_NO=\"1C214007-611A-DDBF-C200-7FDACB5E7CC8\" SAVE_NAME=\"1C214007-611A-DDBF-C200-7FDACB5E7CC8\" CONTENT_ID=\"202212_383_23D0B3BA-699B-28DF-BBED-092823025503-1\" FILE_STATUS=\"1\" FILE_NAME=\"/home/nicmp/data/SIMS/202212/383/1C214007-611A-DDBF-C200-7FDACB5E7CC8\" OPTION_TYPE=\"1\" FILE_SIZE=\"561276\" SERVER_ID=\"1\" GROUP_ID=\"1\" URL=\"http://197.52.21.92:9080/SunECMDM/servlet/getFile?s/lV3bcibQjvp6Ke1jION+dLTefYkAUidMJHjNuFYOQnrng39R3XHM7gN4DWjch/3smKbJM7aIH2vo/pR7SgHbH7ADngTjhxzBSGdbI01HpECn772moc9ptH9LmyKpy5UBl7NvyDuEQHyZ5CcCgBdop1TTV/wwGzRnnO+H0gZDnyAx/ThvDTXTU4+XY/ItvW7wss+fEFEgVeIkCV42hxvwSPTd/Cq+RPD7+OYejLRlu6YssUi6E1jwT6g2SFcldz7/N2acX96gM9Ng4FinNY+0wdG8kkjytVaeE8EN5DcRjfm5aFP7E0jw==\" FILE_PATH=\"202212/383/\" VOLUME_ID=\"881\" ENCODESIZE=\"\">          <otherAtt>            <GROUP_NAME><string>publicityPic</string></GROUP_NAME>            <NEAR_PATH><string></string></NEAR_PATH>            <BUCKET><string></string></BUCKET>            <STORE><string></string></STORE>            <OFFLINE_PATH><string></string></OFFLINE_PATH>            <OBJECT_KEY><string></string></OBJECT_KEY>            <FILE_TYPE><string>18</string></FILE_TYPE>            <FILE_NAME><string>20221201185517-Lighthouse.jpg</string></FILE_NAME>            <DETAIL_TYPE><string>18</string></DETAIL_TYPE>          </otherAtt>        </FileBean>      </files>    </BatchFileBean>  </document_Objects></BatchBean></root>\n" +
			"2022-12-13 15:19:01.172 [XNIO-1 task-20] INFO  o.s.imagePlatformDock.imagePlateform.SunECMClient 影像平台 URL  http://197.52.21.92:9080/SunECMDM/servlet/getFile?s/lV3bcibQjvp6Ke1jION+dLTefYkAUidMJHjNuFYOQnrng39R3XHM7gN4DWjch/3smKbJM7aIH2vo/pR7SgHbH7ADngTjhxzBSGdbI01HpECn772moc9ptH9LmyKpy5UBl7NvyDuEQHyZ5CcCgBdop1TTV/wwGzRnnO+H0gZDnyAx/ThvDTXTU4+XY/ItvW7wss+fEFEgVeIkCV42hxvwSPTd/Cq+RPD7+OYejLRlu6YssUi6E1jwT6g2SFcldz7/N2acX96gM9Ng4FinNY+0wdG8kkjytVaeE8EN5DcRjfm5aFP7E0jw==";
		int i = s.indexOf("FILE_NO=\"");
		System.out.println(i);
		String s1 = s.substring(i+9,i+45);
		System.out.println(s1);
		System.out.println(s1.length());
	}

}
