xiaopeng

瞬间

  • xiaopeng

    http://znhcy-fsscq.zhenergy.com.cn:50000/account/urule/frame###

    0
    0
    2025-09-26
  • xiaopeng
    #配置服务端口
    server:
      port: 8081
      servlet:
        context-path: "/account"
    
    #配置应用
    spring:
      main:
        allow-bean-definition-overriding: true
      #配置应用信息
      application:
        name: services-api-account-zn
        desc: @project.description@
      #配置多环境
      profiles:
        active: @profile.name@
      cloud:
        #配置Nacos信息
        nacos:
          username: @nacos.username@
          password: @nacos.password@
          #配置中心
          config:
            context-path: @nacos.contextPath@
            server-addr: @config.server.addr@ #配置中心地址集群
            namespace: @config.namespace@ #命名空间,不同环境的隔离
            extension-configs: #自定义配置
              - data-id: management.yml
                group: @config.group@
                refresh: true
              - data-id: swagger.yml
                group: @config.group@
                refresh: true
              - data-id: satoken.yml
                group: @config.group@
                refresh: true
              - data-id: arthas-tunnel-client.yml
                group: @config.group@
                refresh: true
              - data-id: atom-redis.yml
                group: @config.group@
                refresh: true
              #          - data-id: atom-datasource.yml
              #            group: @config.group@
              #            refresh: true
              - data-id: app-account.yml
                group: @config.group@
                refresh: true
          #注册中心
          discovery:
            contextPath: @nacos.contextPath@
            metadata:
              management:
                context-path: ${server.servlet.context-path:}${management.endpoints.web.base-path:/actuator}
              user.name: ${spring.security.user.name}
              user.password: ${spring.security.user.password}
              version: @custom.maven.build.timestamp@ #构建时间
            #多网卡适配及端口
            #network-interface: eth4
            #ip: znhcy-fsscd-01.zhenergy.com.cn
            #port: 8080
            server-addr: @config.server.addr@ #注册中心地址集群
            namespace: @config.namespace@ #命名空间,不同环境的隔离
      #  redis:
      #    database: 15
      #    host: 10.154.70.51
      #    password: fsscSitPass2023@
      #    timeout: 10000
      #    jedis:
      #      pool:
      #        max-active: 3
      #        max-idle: 3
      #        min-idle: 3
      #        max-wait: 10000
      autoconfigure:
        exclude:
          - org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaAutoConfiguration
      datasource:
        #type: com.zaxxer.hikari.HikariDataSource
        driverClassName: oracle.jdbc.OracleDriver
        url: jdbc:oracle:thin:@10.154.70.53:11521:FSSCQ
        # url: jdbc:oracle:thin:@10.154.70.55:1521:FSSC
        username: fssc
        password: Zjenergy_Fssc@2025
        initialSize: 10
        minIdle: 10
        maxActive: 50
        maxWait: 60000
        timeBetweenEvictionRunsMillis: 60000
        minEvictableIdleTimeMillis: 300000
        testWhileIdle: true
        validationQuery: SELECT 1 FROM DUAL
        testOnBorrow: false
        testOnReturn: false
        poolPreparedStatements: true
        maxPoolPreparedStatementPerConnectionSize: 20
        filters: stat,slf4j
        connectionProperties: druid.stat.mergeSql=true;druid.stat.slowSqlMillis=5000
        onFilters: true
        remarksReporting: true
    
    #配置Hibernate
    hibernate:
      jadira:
        usertype:
          auto_register_user_types: true
      dialect: com.ita.boot.services.atom.hibernate.dialect.SimpleOracle12gDialect
      show_sql: true
      format_sql: true
      jdbc:
        fetch_size: 60
        batch_size: 100
        use_scrollable_resultset: false
      order_inserts: true
      order_updates: true
      id:
        new_generator_mappings: true
        optimizer:
          pooled:
            prefer_lo: false
      connection:
        autocommit: true
        release_mode: after_transaction
      cache:
        use_query_cache: true
        use_second_level_cache: true
        region:
          factory_class: org.hibernate.cache.ehcache.internal.EhcacheRegionFactory
      hbm2ddl:
        #validate           加载hibernate时,验证创建数据库表结构
        #create             每次加载hibernate,重新创建数据库表结构
        #create-drop        加载hibernate时创建,退出是删除表结构
        #update             加载hibernate自动更新数据库结构
        #none
        auto: none
      current_session_context_class: org.springframework.orm.hibernate5.SpringSessionContext
      scan: com.ita.boot.services.atom.hibernate.model.*,com.ita.boot.services.**.entity

    0
    0
    2025-09-26
  • xiaopeng

    127.0.0.1:8081/account/api/generate

    {
        "bizMap": {
      "accountNo": "",
      "accountsGroupCode": "",
      "address": "浙江省湖州市长兴县煤山国家级开发区绿色制造产业园",
      "attribute1": "6051980000",
      "attribute2": "2221010601",
      "attribute3": "CUSTOMER",
      "attribute4": "",
      "attribute5": "",
      "bizCashFlowList": [],
      "bizRefInvoiceList": [],
      "businessCompanyCode": "",
      "businessCompanyName": "",
      "contractAssetConfirmAmount": null,
      "contractAssetConfirmAmountBc": null,
      "contractAssetConfirmRatio": null,
      "contractNo": "",
      "createdBy": "admin",
      "createdDate": "2025-06-10 00:00:00",
      "currencyType": "",
      "customInvoiceItemSaleEstimateList": [],
      "customerCode": "",
      "customerName": "",
      "deletedBy": "",
      "deletedDate": null,
      "deletedFlag": false,
      "disposableCity": "",
      "disposableName": "",
      "email": "",
      "exchangeClearAccountInfo": "",
      "exchangeClearAccountList": [],
      "exchangeClearAccountMapState": false,
      "exchangeClearAccountSapState": false,
      "exchangeClearAccountState": "0",
      "exchangeClearSourceChangeState": false,
      "exchangeRate": null,
      "faxNum": "",
      "foreignCurrencyFlag": "0",
      "formNo": "1000QTSR202506100006",
      "id": "BEABD47E83CF40B48520E2B7EEFA0DD7",
      "incomeConfirmInvoiceIfList": [],
      "incomeConfirmInvoiceList": [
        {
          "accountNo": "",
          "address": "浙江省湖州市长兴县煤山国家级开发区绿色制造产业园",
          "amount": 600,
          "amountBc": 0,
          "applyDate": null,
          "attribute1": "",
          "attribute2": "",
          "attribute3": "",
          "attribute4": "",
          "attribute5": "",
          "codeVersion": "",
          "commodityCode": "1000000054",
          "commodityName": "1234",
          "contractNo": "",
          "createdBy": "admin",
          "createdDate": "2025-06-10 16:40:43",
          "customRowId": "",
          "customerCode": "1200000282",
          "customerName": "浙江浙能物流有限公司",
          "deletedBy": "",
          "deletedDate": null,
          "deletedFlag": false,
          "differenceTax": null,
          "discountRemark": "13",
          "enterpriseCode": "",
          "errCode": "",
          "errReason": "",
          "formNo": "1000QTSR202506100006",
          "id": "BA01D9C8B2BD4CCCA7BACF74122AD36C",
          "invoiceApplyNo": "1000QTSR202506100006-1000--41",
          "invoiceApplyStatus": "未开具",
          "invoiceApplyStatusCode": "Uninvoiced",
          "invoiceElements": "0",
          "invoiceRemark": "",
          "invoiceStatus": "",
          "invoiceType": "电子发票(增值税专用发票)",
          "invoiceTypeCode": "41",
          "isDiscount": "",
          "issuanceReason": "",
          "lastUpdatedBy": "admin",
          "lastUpdatedDate": "2025-06-10 16:43:21",
          "openBank": "",
          "operatorCertNo": "",
          "operatorCertType": "",
          "personFlag": "0",
          "priceTaxAmount": 678,
          "priceTaxAmountBc": 0,
          "purchaserOperator": "",
          "pushEmail": "",
          "pushTel": "",
          "quantity": "6",
          "recordVersion": 3,
          "registrationNum": "",
          "remainAmount": null,
          "remarks": "",
          "saleInvoiceCostCenterList": [
            {
              "approtionAmount": 100,
              "attribute1": "",
              "attribute2": "",
              "attribute3": "",
              "attribute4": "",
              "attribute5": "",
              "costCenterCode": "C100000099",
              "costCenterName": "测试FSSC",
              "createdBy": "admin",
              "createdDate": "2025-06-10 16:40:43",
              "deletedBy": "",
              "deletedDate": null,
              "deletedFlag": false,
              "id": "32DA9B99EF1F485890AE9923A92CC38E",
              "lastUpdatedBy": "admin",
              "lastUpdatedDate": "2025-06-10 16:43:21",
              "number_": "1",
              "recordVersion": 0,
              "refId": "BA01D9C8B2BD4CCCA7BACF74122AD36C",
              "remarks": "",
              "unit": "个"
            },
            {
              "approtionAmount": 200,
              "attribute1": "",
              "attribute2": "",
              "attribute3": "",
              "attribute4": "",
              "attribute5": "",
              "costCenterCode": "C100000037",
              "costCenterName": "成本中心测试test3377",
              "createdBy": "admin",
              "createdDate": "2025-06-10 16:40:43",
              "deletedBy": "",
              "deletedDate": null,
              "deletedFlag": false,
              "id": "FF013D207EE04286BB43E913B68F63BF",
              "lastUpdatedBy": "admin",
              "lastUpdatedDate": "2025-06-10 16:43:21",
              "number_": "2",
              "recordVersion": 0,
              "refId": "BA01D9C8B2BD4CCCA7BACF74122AD36C",
              "remarks": "",
              "unit": "个"
            },
            {
              "approtionAmount": 300,
              "attribute1": "",
              "attribute2": "",
              "attribute3": "",
              "attribute4": "",
              "attribute5": "",
              "costCenterCode": "C100000030",
              "costCenterName": "共享中心财务测试30",
              "createdBy": "admin",
              "createdDate": "2025-06-10 16:40:43",
              "deletedBy": "",
              "deletedDate": null,
              "deletedFlag": false,
              "id": "3EA456D228944F1E90C1AE9B94D3C581",
              "lastUpdatedBy": "admin",
              "lastUpdatedDate": "2025-06-10 16:43:21",
              "number_": "3",
              "recordVersion": 0,
              "refId": "BA01D9C8B2BD4CCCA7BACF74122AD36C",
              "remarks": "",
              "unit": "个"
            }
          ],
          "saleInvoiceElementsList": [],
          "specificationModel": "123",
          "tax": 78,
          "taxBc": 0,
          "taxClassifyCode": "1090130030000000000",
          "taxCode": "S9",
          "taxRate": "0.13",
          "tel": "0571-86664106",
          "unit": "个",
          "unitprice": 100,
          "vendorCode": "",
          "vendorName": "",
          "zeroTaxRate": ""
        }
      ],
      "incomeType": "委贷利息确认(贷款台账专用)",
      "incomeTypeCode": "1132010100_entrustDelegateLoan",
      "internalOrder": "",
      "invoiceAmount": 678,
      "invoiceAmountBc": null,
      "isConfirmContractAsset": 0,
      "isInvoice": "0",
      "lastUpdatedBy": "admin",
      "lastUpdatedDate": "2025-06-10 16:43:21",
      "loanPlanChargeFeeList": [],
      "openBank": "",
      "phoneNum": "0571-86664106",
      "postDate": "2025-06-10",
      "purchaserTaxno": "",
      "recordVersion": 3,
      "relFinLoanFlag": false,
      "relFinancialFlag": false,
      "remarks": "",
      "requestInstruction": "测试7673",
      "salesTaxno": "24324",
      "tax": null,
      "taxBc": null,
      "taxCode": "",
      "taxRate": "",
      "totalAmount": 678,
      "totalAmountBc": null,
      "vatTypeCode": "1",
      "vatTypeName": "增值税待转销项税",
      "vendorCode": "",
      "vendorName": "",
      "wbsName": "",
      "wbsNo": "",
      "writeOffFormNo": ""
    },
        "bizType": "IncomeConfirm",
        "debugState": true
    }

    0
    0
    2025-09-26
  • xiaopeng

    上班好累

    1
    0
    2025-03-25
  • xiaopeng

    你好世界

    1
    0
    2025-01-13