springboot调用第三方接口json转换成对象

news2024/11/24 10:28:38
  • 请求接口是一个比较常见的需求,接口返回一般是一个json类型,需要进行组装成对应的类,例
{
    "status_code": 200,
    "message": "success",
    "data": {
        "cost": 286.6933,
        "bom_list": [
            {
                "InvCode": "45601.0077",
                "cInvName": "12.8 OLED 16 pulse BSM",
                "cInvStd": "254.02*231.8 mm  12.8寸 16 pulse BSM",
                "BaseQtyN": "1.000000",
                "BaseQtyD": "1.000000",
                "CompScrap": ".000",
                "cInvDefine13": 0,
                "parentCode": "20103.0155",
                "totalPrice": 0
            },
            {
                "InvCode": "45001.0056",
                "cInvName": "连接器后盖",
                "cInvStd": "56*56mm ABS",
                "BaseQtyN": "1.000000",
                "BaseQtyD": "1.000000",
                "CompScrap": ".000",
                "cInvDefine13": 1.7522,
                "parentCode": "20103.0155",
                "totalPrice": 1.7522
            },
            {
                "InvCode": "45101.0036",
                "cInvName": "Aries 连接器密封圈",
                "cInvStd": "硫化硅胶65° 黑色",
                "BaseQtyN": "1.000000",
                "BaseQtyD": "1.000000",
                "CompScrap": ".000",
                "cInvDefine13": 0.67,
                "parentCode": "20103.0155",
                "totalPrice": 0.67
            },
            {
                "InvCode": "45505.0039",
                "cInvName": "Force ICS 泡棉支架L-新供应商",
                "cInvStd": "泡棉+双面胶(左)50.56*51.12*7.8mm",
                "BaseQtyN": "1.000000",
                "BaseQtyD": "1.000000",
                "CompScrap": ".000",
                "cInvDefine13": 0.85,
                "parentCode": "20103.0155",
                "totalPrice": 0.85
            },
            {
                "InvCode": "45505.0040",
                "cInvName": "Force ICS 泡棉支架R-新供应商",
                "cInvStd": "泡棉+双面胶(右)20.63*52*7.8m",
                "BaseQtyN": "1.000000",
                "BaseQtyD": "1.000000",
                "CompScrap": ".000",
                "cInvDefine13": 0.52,
                "parentCode": "20103.0155",
                "totalPrice": 0.52
            },
            {
                "InvCode": "45403.0011",
                "cInvName": "Force ICS导热片",
                "cInvStd": "24*12*1.2( YL-SP35-S,3w,白色)",
                "BaseQtyN": "4.000000",
                "BaseQtyD": "1.000000",
                "CompScrap": ".000",
                "cInvDefine13": 0.52,
                "parentCode": "20103.0155",
                "totalPrice": 2.08
            },
            {
                "InvCode": "45301.0012",
                "cInvName": "T10头M3*L6细牙螺丝",
                "cInvStd": "PM-T10-M3*L6MM,P=0.35,加磁,渗碳,蓝白锌,盐雾48h",
                "BaseQtyN": "6.000000",
                "BaseQtyD": "1.000000",
                "CompScrap": ".000",
                "cInvDefine13": 0.0673,
                "parentCode": "20103.0155",
                "totalPrice": 0.4038
            },
            {
                "InvCode": "45401.0032",
                "cInvName": "Force ICS导电泡棉",
                "cInvStd": "10*10*10",
                "BaseQtyN": "4.000000",
                "BaseQtyD": "1.000000",
                "CompScrap": ".000",
                "cInvDefine13": 0.13,
                "parentCode": "20103.0155",
                "totalPrice": 0.52
            },
            {
                "InvCode": "45801.0062",
                "cInvName": "FPC排线/12.8寸",
                "cInvStd": "一字型/80*25.5*0.3mm/50PIN/PIN距0.5mm/异面/带屏蔽层/带卡扣",
                "BaseQtyN": "1.000000",
                "BaseQtyD": "1.000000",
                "CompScrap": ".000",
                "cInvDefine13": 5.34,
                "parentCode": "20103.0155",
                "totalPrice": 5.34
            },
            {
                "InvCode": "45801.0061",
                "cInvName": "FPC排线/12.8寸",
                "cInvStd": "一字型/50*20.5*0.3mm/40PIN/PIN距0.5mm/异面/带屏蔽层/带卡扣",
                "BaseQtyN": "1.000000",
                "BaseQtyD": "1.000000",
                "CompScrap": ".000",
                "cInvDefine13": 3.219,
                "parentCode": "20103.0155",
                "totalPrice": 3.219
            },
            {
                "InvCode": "30101.0707",
                "cInvName": "PCBA",
                "cInvStd": "ICSCN15_MB_RD1_1/SMT PCBA",
                "BaseQtyN": "1.000000",
                "BaseQtyD": "1.000000",
                "CompScrap": ".000",
                "cInvDefine13": 0,
                "parentCode": "20103.0155",
                "totalPrice": 0
            },
            {
                "InvCode": "45504.0013",
                "cInvName": "静电袋",
                "cInvStd": "400*400*0.05mm/红色/开口长边",
                "BaseQtyN": "1.000000",
                "BaseQtyD": "1.000000",
                "CompScrap": ".000",
                "cInvDefine13": 0.45,
                "parentCode": "20103.0155",
                "totalPrice": 0.45
            },
            {
                "InvCode": "45202.0052",
                "cInvName": "Pegasus ICS镁合金后盖",
                "cInvStd": "镁合金 AZ91D 240*262.22*77.13mm/银灰色",
                "BaseQtyN": "1.000000",
                "BaseQtyD": "1.000000",
                "CompScrap": ".000",
                "cInvDefine13": 94.5,
                "parentCode": "20103.0155",
                "totalPrice": 94.5
            },
            {
                "InvCode": "45402.0004",
                "cInvName": "胶水",
                "cInvStd": "SiKa 698,300ml每支",
                "BaseQtyN": "1.000000",
                "BaseQtyD": "400.000000",
                "CompScrap": ".000",
                "cInvDefine13": 481.4157,
                "parentCode": "20103.0155",
                "totalPrice": 1.2035
            },
            {
                "InvCode": "45506.0050",
                "cInvName": "贴纸",
                "cInvStd": "100x100mm,白色合成纸",
                "BaseQtyN": "1.000000",
                "BaseQtyD": "8.000000",
                "CompScrap": ".000",
                "cInvDefine13": 0.16,
                "parentCode": "20103.0155",
                "totalPrice": 0.02
            },
            {
                "InvCode": "45506.0044",
                "cInvName": "标签纸",
                "cInvStd": "不干胶16*16mm",
                "BaseQtyN": "1.000000",
                "BaseQtyD": "1.000000",
                "CompScrap": ".000",
                "cInvDefine13": 0.009,
                "parentCode": "20103.0155",
                "totalPrice": 0.009
            },
            {
                "InvCode": "45999.0020",
                "cInvName": "Force ICS保护膜",
                "cInvStd": "SL705U-1,阻抗10^9~10^11/230.2*252.4*0.06mm",
                "BaseQtyN": "1.000000",
                "BaseQtyD": "1.000000",
                "CompScrap": ".000",
                "cInvDefine13": 0.78,
                "parentCode": "20103.0155",
                "totalPrice": 0.78
            },
            {
                "InvCode": "41301.0616",
                "cInvName": "PCB",
                "cInvStd": "ICSCN15_MB_RD1_1/4层板/1.6mm/沉金/绿色哑光/108*132",
                "BaseQtyN": "1.000000",
                "BaseQtyD": "1.000000",
                "CompScrap": ".000",
                "cInvDefine13": 0,
                "parentCode": "30101.0707",
                "totalPrice": 0
            },
            {
                "InvCode": "40201.0053",
                "cInvName": "车规陶瓷电容",
                "cInvStd": "47pF/50V/±5%/C0G/0603/Automotive",
                "BaseQtyN": "1.000000",
                "BaseQtyD": "1.000000",
                "CompScrap": ".000",
                "cInvDefine13": 0.0177,
                "parentCode": "30101.0707",
                "totalPrice": 0.0177
            },
            {
                "InvCode": "40201.0054",
                "cInvName": "车规陶瓷电容",
                "cInvStd": "4.7NF/50V/±10%/X7R/0603/Automotive",
                "BaseQtyN": "1.000000",
                "BaseQtyD": "1.000000",
                "CompScrap": ".000",
                "cInvDefine13": 0.0177,
                "parentCode": "30101.0707",
                "totalPrice": 0.0177
            },
            {
                "InvCode": "40201.0037",
                "cInvName": "车规陶瓷电容",
                "cInvStd": "4.7uF/16V/±10%/X5R/0603/Automotive",
                "BaseQtyN": "3.000000",
                "BaseQtyD": "1.000000",
                "CompScrap": ".000",
                "cInvDefine13": 0.075,
                "parentCode": "30101.0707",
                "totalPrice": 0.225
            },
            {
                "InvCode": "40201.0137",
                "cInvName": "车规陶瓷电容",
                "cInvStd": "10uF/10V/±10%/X5R/0603/Automotive",
                "BaseQtyN": "5.000000",
                "BaseQtyD": "1.000000",
                "CompScrap": ".000",
                "cInvDefine13": 0.1668,
                "parentCode": "30101.0707",
                "totalPrice": 0.834
            },
            {
                "InvCode": "40201.0022",
                "cInvName": "车规陶瓷电容",
                "cInvStd": "22uF/10V/±20%/X6S/0805/Automotive",
                "BaseQtyN": "6.000000",
                "BaseQtyD": "1.000000",
                "CompScrap": ".000",
                "cInvDefine13": 0.4312,
                "parentCode": "30101.0707",
                "totalPrice": 2.5872
            },
            {
                "InvCode": "40202.0010",
                "cInvName": "车规电解电容",
                "cInvStd": "22uF/50V/±20%/ECPA/φ6.3*5.7mm/Automotive",
                "BaseQtyN": "1.000000",
                "BaseQtyD": "1.000000",
                "CompScrap": ".000",
                "cInvDefine13": 0.177,
                "parentCode": "30101.0707",
                "totalPrice": 0.177
            },
            {
                "InvCode": "40202.0009",
                "cInvName": "车规电解电容",
                "cInvStd": "100uF/10V/±20%/ECPA/φ6.3*5.7mm/Automotive",
                "BaseQtyN": "1.000000",
                "BaseQtyD": "1.000000",
                "CompScrap": ".000",
                "cInvDefine13": 0.1858,
                "parentCode": "30101.0707",
                "totalPrice": 0.1858
            },
            {
                "InvCode": "40202.0001",
                "cInvName": "车规电解电容",
                "cInvStd": "330uF/35V/±20%/ECPA/φ10*10mm/Automotive",
                "BaseQtyN": "1.000000",
                "BaseQtyD": "1.000000",
                "CompScrap": ".000",
                "cInvDefine13": 0.4867,
                "parentCode": "30101.0707",
                "totalPrice": 0.4867
            },
            {
                "InvCode": "40101.0077",
                "cInvName": "车规电阻",
                "cInvStd": "0R/5%/1210/Automotive",
                "BaseQtyN": "6.000000",
                "BaseQtyD": "1.000000",
                "CompScrap": ".000",
                "cInvDefine13": 0.036,
                "parentCode": "30101.0707",
                "totalPrice": 0.216
            },
            {
                "InvCode": "40101.0020",
                "cInvName": "车规电阻",
                "cInvStd": "1R/1%/0603/Automotive",
                "BaseQtyN": "4.000000",
                "BaseQtyD": "1.000000",
                "CompScrap": ".000",
                "cInvDefine13": 0.0089,
                "parentCode": "30101.0707",
                "totalPrice": 0.0356
            },
            {
                "InvCode": "40101.0123",
                "cInvName": "车规电阻",
                "cInvStd": "1R/1%/1210/0.5W/Automotive",
                "BaseQtyN": "1.000000",
                "BaseQtyD": "1.000000",
                "CompScrap": ".000",
                "cInvDefine13": 0.09,
                "parentCode": "30101.0707",
                "totalPrice": 0.09
            },
            {
                "InvCode": "40101.0051",
                "cInvName": "车规电阻",
                "cInvStd": "60.4R/1%/0805/Automotive",
                "BaseQtyN": "2.000000",
                "BaseQtyD": "1.000000",
                "CompScrap": ".000",
                "cInvDefine13": 0.0086,
                "parentCode": "30101.0707",
                "totalPrice": 0.0172
            },
            {
                "InvCode": "40101.0038",
                "cInvName": "车规电阻",
                "cInvStd": "330R/1%/0402/Automotive",
                "BaseQtyN": "1.000000",
                "BaseQtyD": "1.000000",
                "CompScrap": ".000",
                "cInvDefine13": 0.0027,
                "parentCode": "30101.0707",
                "totalPrice": 0.0027
            },
            {
                "InvCode": "40101.0091",
                "cInvName": "车规电阻",
                "cInvStd": "390R/1%/0402/Automotive",
                "BaseQtyN": "1.000000",
                "BaseQtyD": "1.000000",
                "CompScrap": ".000",
                "cInvDefine13": 0.0027,
                "parentCode": "30101.0707",
                "totalPrice": 0.0027
            },
            {
                "InvCode": "40101.0023",
                "cInvName": "车规电阻",
                "cInvStd": "1K/5%/0603/Automotive",
                "BaseQtyN": "2.000000",
                "BaseQtyD": "1.000000",
                "CompScrap": ".000",
                "cInvDefine13": 0.0037,
                "parentCode": "30101.0707",
                "totalPrice": 0.0074
            },
            {
                "InvCode": "40102.0511",
                "cInvName": "工规电阻",
                "cInvStd": "1.02K/0.1%/0402/Industrial",
                "BaseQtyN": "1.000000",
                "BaseQtyD": "1.000000",
                "CompScrap": ".000",
                "cInvDefine13": 0.065,
                "parentCode": "30101.0707",
                "totalPrice": 0.065
            },
            {
                "InvCode": "40102.0513",
                "cInvName": "工规电阻",
                "cInvStd": "3.6K/0.1%/0402/Industrial",
                "BaseQtyN": "1.000000",
                "BaseQtyD": "1.000000",
                "CompScrap": ".000",
                "cInvDefine13": 0.065,
                "parentCode": "30101.0707",
                "totalPrice": 0.065
            },
            {
                "InvCode": "40101.0094",
                "cInvName": "车规电阻",
                "cInvStd": "14.3K/1%/0402/Automotive",
                "BaseQtyN": "1.000000",
                "BaseQtyD": "1.000000",
                "CompScrap": ".000",
                "cInvDefine13": 0.0027,
                "parentCode": "30101.0707",
                "totalPrice": 0.0027
            },
            {
                "InvCode": "40101.0076",
                "cInvName": "车规电阻",
                "cInvStd": "15K/1%/0603/Automotive",
                "BaseQtyN": "1.000000",
                "BaseQtyD": "1.000000",
                "CompScrap": ".000",
                "cInvDefine13": 0.0045,
                "parentCode": "30101.0707",
                "totalPrice": 0.0045
            },
            {
                "InvCode": "40101.0095",
                "cInvName": "车规电阻",
                "cInvStd": "16.2K/1%/0402/Automotive",
                "BaseQtyN": "1.000000",
                "BaseQtyD": "1.000000",
                "CompScrap": ".000",
                "cInvDefine13": 0.0027,
                "parentCode": "30101.0707",
                "totalPrice": 0.0027
            },
            {
                "InvCode": "40101.0010",
                "cInvName": "车规电阻",
                "cInvStd": "24K/1%/0402/Automotive",
                "BaseQtyN": "2.000000",
                "BaseQtyD": "1.000000",
                "CompScrap": ".000",
                "cInvDefine13": 0.0027,
                "parentCode": "30101.0707",
                "totalPrice": 0.0054
            },
            {
                "InvCode": "40101.0011",
                "cInvName": "车规电阻",
                "cInvStd": "30K/1%/0402/Automotive",
                "BaseQtyN": "3.000000",
                "BaseQtyD": "1.000000",
                "CompScrap": ".000",
                "cInvDefine13": 0.0027,
                "parentCode": "30101.0707",
                "totalPrice": 0.0081
            },
            {
                "InvCode": "40101.0015",
                "cInvName": "车规电阻",
                "cInvStd": "100K/1%/0402/Automotive",
                "BaseQtyN": "11.000000",
                "BaseQtyD": "1.000000",
                "CompScrap": ".000",
                "cInvDefine13": 0.0027,
                "parentCode": "30101.0707",
                "totalPrice": 0.0297
            },
            {
                "InvCode": "40104.0003",
                "cInvName": "热敏电阻",
                "cInvStd": "NTC/10K/1%/0402/Automotive",
                "BaseQtyN": "1.000000",
                "BaseQtyD": "1.000000",
                "CompScrap": ".000",
                "cInvDefine13": 0.11,
                "parentCode": "30101.0707",
                "totalPrice": 0.11
            },
            {
                "InvCode": "40301.0011",
                "cInvName": "车规电感",
                "cInvStd": "4.7uH/20%/5.5A/40mΩ/7.3*6.8*3.0mm/Automotive",
                "BaseQtyN": "1.000000",
                "BaseQtyD": "1.000000",
                "CompScrap": ".000",
                "cInvDefine13": 1.27,
                "parentCode": "30101.0707",
                "totalPrice": 1.27
            },
            {
                "InvCode": "40301.0009",
                "cInvName": "车规电感",
                "cInvStd": "10uH/20%/3A/105mΩ/7.3*6.8*3.0mm/Automotive",
                "BaseQtyN": "1.000000",
                "BaseQtyD": "1.000000",
                "CompScrap": ".000",
                "cInvDefine13": 1.27,
                "parentCode": "30101.0707",
                "totalPrice": 1.27
            },
            {
                "InvCode": "40301.0014",
                "cInvName": "车规电感",
                "cInvStd": "1uH/20%/11A/10mΩ/7.3*6.8*3.0mm/Automotive",
                "BaseQtyN": "2.000000",
                "BaseQtyD": "1.000000",
                "CompScrap": ".000",
                "cInvDefine13": 1.269,
                "parentCode": "30101.0707",
                "totalPrice": 2.538
            },
            {
                "InvCode": "40303.0010",
                "cInvName": "EMI抑制电感",
                "cInvStd": "Common-mode-choke/51uH/1812/CAN/Automotive",
                "BaseQtyN": "1.000000",
                "BaseQtyD": "1.000000",
                "CompScrap": ".000",
                "cInvDefine13": 1.1743,
                "parentCode": "30101.0707",
                "totalPrice": 1.1743
            },
            {
                "InvCode": "40301.0005",
                "cInvName": "车规电感",
                "cInvStd": "Common-mode-choke/90Ω_100MHZ/LVDS/2.0*1.2*1.2mm/Automotive",
                "BaseQtyN": "10.000000",
                "BaseQtyD": "1.000000",
                "CompScrap": ".000",
                "cInvDefine13": 0.324,
                "parentCode": "30101.0707",
                "totalPrice": 3.24
            },
            {
                "InvCode": "40301.0030",
                "cInvName": "车规电感",
                "cInvStd": "Common-mode-choke/90Ω_100MHZ/LVDS/2.0*1.2*1.2mm/Automotive",
                "BaseQtyN": "1.000000",
                "BaseQtyD": "1.000000",
                "CompScrap": ".000",
                "cInvDefine13": 0.469,
                "parentCode": "30101.0707",
                "totalPrice": 0.469
            },
            {
                "InvCode": "40401.0007",
                "cInvName": "车规普通二极管",
                "cInvStd": "60V/5A/0.48V/SOT1289/Automotive",
                "BaseQtyN": "1.000000",
                "BaseQtyD": "1.000000",
                "CompScrap": ".000",
                "cInvDefine13": 1.21,
                "parentCode": "30101.0707",
                "totalPrice": 1.21
            },
            {
                "InvCode": "40401.0009",
                "cInvName": "车规普通二极管",
                "cInvStd": "6.8V/10mA/0.9V/SOD-123/Automotive",
                "BaseQtyN": "1.000000",
                "BaseQtyD": "1.000000",
                "CompScrap": ".000",
                "cInvDefine13": 0.09,
                "parentCode": "30101.0707",
                "totalPrice": 0.09
            },
            {
                "InvCode": "40402.0007",
                "cInvName": "车规稳压二极管",
                "cInvStd": "28V/1A/0.55V/SOD-123/Automotive",
                "BaseQtyN": "5.000000",
                "BaseQtyD": "1.000000",
                "CompScrap": ".000",
                "cInvDefine13": 0.1283,
                "parentCode": "30101.0707",
                "totalPrice": 0.6415
            },
            {
                "InvCode": "40501.0006",
                "cInvName": "车规TVS管",
                "cInvStd": "ESD/24V/11pF/CAN/bothway/Dual/SOT23/Automotive",
                "BaseQtyN": "1.000000",
                "BaseQtyD": "1.000000",
                "CompScrap": ".000",
                "cInvDefine13": 0.3288,
                "parentCode": "30101.0707",
                "totalPrice": 0.3288
            },
            {
                "InvCode": "40501.0003",
                "cInvName": "车规TVS管",
                "cInvStd": "ESD/33V/1500W/bothway/SMC/Automotive",
                "BaseQtyN": "1.000000",
                "BaseQtyD": "1.000000",
                "CompScrap": ".000",
                "cInvDefine13": 0.7392,
                "parentCode": "30101.0707",
                "totalPrice": 0.7392
            },
            {
                "InvCode": "40501.0004",
                "cInvName": "车规TVS管",
                "cInvStd": "ESD/5V/150W/bothway/SOD-323/Automotive",
                "BaseQtyN": "3.000000",
                "BaseQtyD": "1.000000",
                "CompScrap": ".000",
                "cInvDefine13": 0.3058,
                "parentCode": "30101.0707",
                "totalPrice": 0.9174
            },
            {
                "InvCode": "40501.0005",
                "cInvName": "车规TVS管",
                "cInvStd": "ESD/5V/0.35pF/bothway/0402/Automotive",
                "BaseQtyN": "2.000000",
                "BaseQtyD": "1.000000",
                "CompScrap": ".000",
                "cInvDefine13": 0.2369,
                "parentCode": "30101.0707",
                "totalPrice": 0.4738
            },
            {
                "InvCode": "40801.0003",
                "cInvName": "车规磁珠",
                "cInvStd": "600_100MHZ/25%/1A/0603/Automotive",
                "BaseQtyN": "13.000000",
                "BaseQtyD": "1.000000",
                "CompScrap": ".000",
                "cInvDefine13": 0.1045,
                "parentCode": "30101.0707",
                "totalPrice": 1.3585
            },
            {
                "InvCode": "40701.0009",
                "cInvName": "车规MOS管",
                "cInvStd": "N_MOS/350mA/30V/SOT323/Automotive",
                "BaseQtyN": "9.000000",
                "BaseQtyD": "1.000000",
                "CompScrap": ".000",
                "cInvDefine13": 0.169,
                "parentCode": "30101.0707",
                "totalPrice": 1.521
            },
            {
                "InvCode": "40701.0001",
                "cInvName": "车规MOS管",
                "cInvStd": "P_MOS/-4.2A/-30V/SOT-23/Automotive",
                "BaseQtyN": "2.000000",
                "BaseQtyD": "1.000000",
                "CompScrap": ".000",
                "cInvDefine13": 0.3,
                "parentCode": "30101.0707",
                "totalPrice": 0.6
            },
            {
                "InvCode": "41001.0008",
                "cInvName": "车规LED",
                "cInvStd": "2V/25mA/RED/0603/Industrial",
                "BaseQtyN": "1.000000",
                "BaseQtyD": "1.000000",
                "CompScrap": ".000",
                "cInvDefine13": 0.0655,
                "parentCode": "30101.0707",
                "totalPrice": 0.0655
            },
            {
                "InvCode": "41104.0023",
                "cInvName": "电源芯片",
                "cInvStd": "LDO/6.5V-3.3V/1A/HSOP-6J/Automotive",
                "BaseQtyN": "2.000000",
                "BaseQtyD": "1.000000",
                "CompScrap": ".000",
                "cInvDefine13": 1.8,
                "parentCode": "30101.0707",
                "totalPrice": 3.6
            },
            {
                "InvCode": "41104.0022",
                "cInvName": "电源芯片",
                "cInvStd": "LDO/36V-5V/200mA/HSOP-6J/Automotive",
                "BaseQtyN": "1.000000",
                "BaseQtyD": "1.000000",
                "CompScrap": ".000",
                "cInvDefine13": 1.7,
                "parentCode": "30101.0707",
                "totalPrice": 1.7
            },
            {
                "InvCode": "41104.0025",
                "cInvName": "电源芯片",
                "cInvStd": "LDO/10V-3.3V/300mA/SOT-23-5/Automotive",
                "BaseQtyN": "1.000000",
                "BaseQtyD": "1.000000",
                "CompScrap": ".000",
                "cInvDefine13": 0.72,
                "parentCode": "30101.0707",
                "totalPrice": 0.72
            },
            {
                "InvCode": "41104.0087",
                "cInvName": "电源芯片",
                "cInvStd": "DCDC/BUCK/3.5V-36V/3V-10V/3A/400KHZ/TQFN12/Automotive",
                "BaseQtyN": "1.000000",
                "BaseQtyD": "1.000000",
                "CompScrap": ".000",
                "cInvDefine13": 3.745,
                "parentCode": "30101.0707",
                "totalPrice": 3.745
            },
            {
                "InvCode": "41104.0049",
                "cInvName": "电源芯片",
                "cInvStd": "DCDC/36V-5V/6A/FC2QFN17/Automotive",
                "BaseQtyN": "2.000000",
                "BaseQtyD": "1.000000",
                "CompScrap": ".000",
                "cInvDefine13": 8.372,
                "parentCode": "30101.0707",
                "totalPrice": 16.744
            },
            {
                "InvCode": "41105.0084",
                "cInvName": "被动芯片",
                "cInvStd": "WATCHDOG/3.3V/SOT23-5/Automotive",
                "BaseQtyN": "1.000000",
                "BaseQtyD": "1.000000",
                "CompScrap": ".000",
                "cInvDefine13": 2.0708,
                "parentCode": "30101.0707",
                "totalPrice": 2.0708
            },
            {
                "InvCode": "41103.0058",
                "cInvName": "接口芯片",
                "cInvStd": "CAN-transceiver/WAKE-UP/SOP14/Automotive",
                "BaseQtyN": "1.000000",
                "BaseQtyD": "1.000000",
                "CompScrap": ".000",
                "cInvDefine13": 4.6,
                "parentCode": "30101.0707",
                "totalPrice": 4.6
            },
            {
                "InvCode": "41101.0013",
                "cInvName": "MCU单片机",
                "cInvStd": "MCU/CORTEX-M0/32BIT/80MHZ/LQFP80/Automotive",
                "BaseQtyN": "1.000000",
                "BaseQtyD": "1.000000",
                "CompScrap": ".000",
                "cInvDefine13": 15.622,
                "parentCode": "30101.0707",
                "totalPrice": 15.622
            },
            {
                "InvCode": "41105.0017",
                "cInvName": "被动芯片",
                "cInvStd": "Touch-IC/71*IOs/LQFP100/Automotive",
                "BaseQtyN": "1.000000",
                "BaseQtyD": "1.000000",
                "CompScrap": ".000",
                "cInvDefine13": 27.0259,
                "parentCode": "30101.0707",
                "totalPrice": 27.0259
            },
            {
                "InvCode": "41202.0014",
                "cInvName": "电源连接器",
                "cInvStd": "8PIN/DIP/180度直针/5A/2.5mm-pitch/Black",
                "BaseQtyN": "1.000000",
                "BaseQtyD": "1.000000",
                "CompScrap": ".000",
                "cInvDefine13": 2.35,
                "parentCode": "30101.0707",
                "totalPrice": 2.35
            },
            {
                "InvCode": "41203.0329",
                "cInvName": "信号连接器",
                "cInvStd": "CONNECTOR/HMTD/2P/180度DIP/CODE-A",
                "BaseQtyN": "1.000000",
                "BaseQtyD": "1.000000",
                "CompScrap": ".000",
                "cInvDefine13": 6.17,
                "parentCode": "30101.0707",
                "totalPrice": 6.17
            },
            {
                "InvCode": "41201.0013",
                "cInvName": "FPC连接器",
                "cInvStd": "FPC/卧式/下接/40PIN/500mA/0.5mm-pitch",
                "BaseQtyN": "3.000000",
                "BaseQtyD": "1.000000",
                "CompScrap": ".000",
                "cInvDefine13": 1.4655,
                "parentCode": "30101.0707",
                "totalPrice": 4.3965
            },
            {
                "InvCode": "41201.0014",
                "cInvName": "FPC连接器",
                "cInvStd": "FPC/卧式/下接/50PIN/500mA/0.5mm-pitch",
                "BaseQtyN": "1.000000",
                "BaseQtyD": "1.000000",
                "CompScrap": ".000",
                "cInvDefine13": 1.7242,
                "parentCode": "30101.0707",
                "totalPrice": 1.7242
            },
            {
                "InvCode": "45302.0001",
                "cInvName": "螺母",
                "cInvStd": "M3.0/φ8.0/H13.2mm",
                "BaseQtyN": "4.000000",
                "BaseQtyD": "1.000000",
                "CompScrap": ".000",
                "cInvDefine13": 0.94,
                "parentCode": "30101.0707",
                "totalPrice": 3.76
            },
            {
                "InvCode": "41105.0354",
                "cInvName": "被动芯片",
                "cInvStd": "Deserializer/OLDI 420M/QFN88/CS3.0P",
                "BaseQtyN": "1.000000",
                "BaseQtyD": "1.000000",
                "CompScrap": ".000",
                "cInvDefine13": 49.6496,
                "parentCode": "30101.0707",
                "totalPrice": 49.6496
            },
            {
                "InvCode": "40101.0029",
                "cInvName": "车规电阻",
                "cInvStd": "100R/1%/0402/Automotive",
                "BaseQtyN": "1.000000",
                "BaseQtyD": "1.000000",
                "CompScrap": ".000",
                "cInvDefine13": 0.0027,
                "parentCode": "30101.0707",
                "totalPrice": 0.0027
            },
            {
                "InvCode": "40101.0070",
                "cInvName": "车规电阻",
                "cInvStd": "2K/1%/0402/Automotive",
                "BaseQtyN": "71.000000",
                "BaseQtyD": "1.000000",
                "CompScrap": ".000",
                "cInvDefine13": 0.0027,
                "parentCode": "30101.0707",
                "totalPrice": 0.1917
            },
            {
                "InvCode": "40901.0004",
                "cInvName": "车规无源晶振",
                "cInvStd": "27MHZ/8pF/15ppm/3325/Automotive",
                "BaseQtyN": "1.000000",
                "BaseQtyD": "1.000000",
                "CompScrap": ".000",
                "cInvDefine13": 0.8142,
                "parentCode": "30101.0707",
                "totalPrice": 0.8142
            },
            {
                "InvCode": "40101.0071",
                "cInvName": "车规电阻",
                "cInvStd": "4.7K/1%/0402/Automotive",
                "BaseQtyN": "13.000000",
                "BaseQtyD": "1.000000",
                "CompScrap": ".000",
                "cInvDefine13": 0.0027,
                "parentCode": "30101.0707",
                "totalPrice": 0.0351
            },
            {
                "InvCode": "40101.0072",
                "cInvName": "车规电阻",
                "cInvStd": "10K/1%/0402/Automotive",
                "BaseQtyN": "27.000000",
                "BaseQtyD": "1.000000",
                "CompScrap": ".000",
                "cInvDefine13": 0.0027,
                "parentCode": "30101.0707",
                "totalPrice": 0.0729
            },
            {
                "InvCode": "40201.0102",
                "cInvName": "车规电容",
                "cInvStd": "220nF/25V/±10%/X7R/0402/Automotive",
                "BaseQtyN": "1.000000",
                "BaseQtyD": "1.000000",
                "CompScrap": ".000",
                "cInvDefine13": 0.0552,
                "parentCode": "30101.0707",
                "totalPrice": 0.0552
            },
            {
                "InvCode": "40201.0094",
                "cInvName": "车规电容",
                "cInvStd": "15pF/50V/±5%/C0G/0402/Automotive",
                "BaseQtyN": "5.000000",
                "BaseQtyD": "1.000000",
                "CompScrap": ".000",
                "cInvDefine13": 0.0162,
                "parentCode": "30101.0707",
                "totalPrice": 0.081
            },
            {
                "InvCode": "40201.0091",
                "cInvName": "车规电容",
                "cInvStd": "47pF/50V/±5%/C0G/0402/Automotive",
                "BaseQtyN": "2.000000",
                "BaseQtyD": "1.000000",
                "CompScrap": ".000",
                "cInvDefine13": 0.0176,
                "parentCode": "30101.0707",
                "totalPrice": 0.0352
            },
            {
                "InvCode": "40101.0093",
                "cInvName": "车规电阻",
                "cInvStd": "13.3K/1%/0402/Automotive",
                "BaseQtyN": "1.000000",
                "BaseQtyD": "1.000000",
                "CompScrap": ".000",
                "cInvDefine13": 0.0027,
                "parentCode": "30101.0707",
                "totalPrice": 0.0027
            },
            {
                "InvCode": "40201.0051",
                "cInvName": "车规陶瓷电容",
                "cInvStd": "1uF/10V/±10%/X5R/0402/Automotive",
                "BaseQtyN": "23.000000",
                "BaseQtyD": "1.000000",
                "CompScrap": ".000",
                "cInvDefine13": 0.025,
                "parentCode": "30101.0707",
                "totalPrice": 0.575
            },
            {
                "InvCode": "40101.0183",
                "cInvName": "车规电阻",
                "cInvStd": "300K/1%/0402/Automotive",
                "BaseQtyN": "1.000000",
                "BaseQtyD": "1.000000",
                "CompScrap": ".000",
                "cInvDefine13": 0.0027,
                "parentCode": "30101.0707",
                "totalPrice": 0.0027
            },
            {
                "InvCode": "40201.0029",
                "cInvName": "车规陶瓷电容",
                "cInvStd": "100nF/50V/±10%/X7R/0603/Automotive",
                "BaseQtyN": "2.000000",
                "BaseQtyD": "1.000000",
                "CompScrap": ".000",
                "cInvDefine13": 0.0627,
                "parentCode": "30101.0707",
                "totalPrice": 0.1254
            },
            {
                "InvCode": "40101.0184",
                "cInvName": "车规电阻",
                "cInvStd": "200K/1%/0402/Automotive",
                "BaseQtyN": "2.000000",
                "BaseQtyD": "1.000000",
                "CompScrap": ".000",
                "cInvDefine13": 0.0027,
                "parentCode": "30101.0707",
                "totalPrice": 0.0054
            },
            {
                "InvCode": "40101.0196",
                "cInvName": "车规电阻",
                "cInvStd": "1K/1%/0402/Automotive",
                "BaseQtyN": "18.000000",
                "BaseQtyD": "1.000000",
                "CompScrap": ".000",
                "cInvDefine13": 0.0027,
                "parentCode": "30101.0707",
                "totalPrice": 0.0486
            },
            {
                "InvCode": "40101.0198",
                "cInvName": "车规电阻",
                "cInvStd": "0R/5%/0402/Automotive",
                "BaseQtyN": "7.000000",
                "BaseQtyD": "1.000000",
                "CompScrap": ".000",
                "cInvDefine13": 0.0021,
                "parentCode": "30101.0707",
                "totalPrice": 0.0147
            },
            {
                "InvCode": "40201.0019",
                "cInvName": "车规陶瓷电容",
                "cInvStd": "2.2uF/16V/±10%/X5R/0603/Automotive",
                "BaseQtyN": "10.000000",
                "BaseQtyD": "1.000000",
                "CompScrap": ".000",
                "cInvDefine13": 0.0381,
                "parentCode": "30101.0707",
                "totalPrice": 0.381
            },
            {
                "InvCode": "40201.0017",
                "cInvName": "车规陶瓷电容",
                "cInvStd": "10uF/50V/±10%/X5R/1206/Automotive",
                "BaseQtyN": "8.000000",
                "BaseQtyD": "1.000000",
                "CompScrap": ".000",
                "cInvDefine13": 0.2909,
                "parentCode": "30101.0707",
                "totalPrice": 2.3272
            },
            {
                "InvCode": "40201.0011",
                "cInvName": "车规陶瓷电容",
                "cInvStd": "1uF/50V/±10%/X5R/0603/Automotive",
                "BaseQtyN": "3.000000",
                "BaseQtyD": "1.000000",
                "CompScrap": ".000",
                "cInvDefine13": 0.0761,
                "parentCode": "30101.0707",
                "totalPrice": 0.2283
            },
            {
                "InvCode": "40101.0199",
                "cInvName": "车规电阻",
                "cInvStd": "33R/5%/0402/Automotive",
                "BaseQtyN": "23.000000",
                "BaseQtyD": "1.000000",
                "CompScrap": ".000",
                "cInvDefine13": 0.0021,
                "parentCode": "30101.0707",
                "totalPrice": 0.0483
            },
            {
                "InvCode": "40201.0008",
                "cInvName": "车规陶瓷电容",
                "cInvStd": "100nF/50V/±10%/X7R/0402/Automotive",
                "BaseQtyN": "78.000000",
                "BaseQtyD": "1.000000",
                "CompScrap": ".000",
                "cInvDefine13": 0.0175,
                "parentCode": "30101.0707",
                "totalPrice": 1.365
            },
            {
                "InvCode": "40101.0200",
                "cInvName": "车规电阻",
                "cInvStd": "0R/1%/0805/Automotive",
                "BaseQtyN": "2.000000",
                "BaseQtyD": "1.000000",
                "CompScrap": ".000",
                "cInvDefine13": 0.0086,
                "parentCode": "30101.0707",
                "totalPrice": 0.0172
            },
            {
                "InvCode": "40201.0006",
                "cInvName": "车规陶瓷电容",
                "cInvStd": "10NF/50V/±10%/X7R/0402/Automotive",
                "BaseQtyN": "12.000000",
                "BaseQtyD": "1.000000",
                "CompScrap": ".000",
                "cInvDefine13": 0.0109,
                "parentCode": "30101.0707",
                "totalPrice": 0.1308
            },
            {
                "InvCode": "40201.0004",
                "cInvName": "车规陶瓷电容",
                "cInvStd": "1nF/50V/±10%/X7R/0402/Automotive",
                "BaseQtyN": "2.000000",
                "BaseQtyD": "1.000000",
                "CompScrap": ".000",
                "cInvDefine13": 0.0109,
                "parentCode": "30101.0707",
                "totalPrice": 0.0218
            },
            {
                "InvCode": "40101.0202",
                "cInvName": "车规电阻",
                "cInvStd": "0R/5%/0603/Automotive",
                "BaseQtyN": "3.000000",
                "BaseQtyD": "1.000000",
                "CompScrap": ".000",
                "cInvDefine13": 0.0037,
                "parentCode": "30101.0707",
                "totalPrice": 0.0111
            },
            {
                "InvCode": "40101.0217",
                "cInvName": "车规电阻",
                "cInvStd": "10K/0.1%/0402/Automotive",
                "BaseQtyN": "1.000000",
                "BaseQtyD": "1.000000",
                "CompScrap": ".000",
                "cInvDefine13": 0,
                "parentCode": "30101.0707",
                "totalPrice": 0
            },
            {
                "InvCode": "40101.0214",
                "cInvName": "车规电阻",
                "cInvStd": "2.2K/1%/0402/Automotive",
                "BaseQtyN": "1.000000",
                "BaseQtyD": "1.000000",
                "CompScrap": ".000",
                "cInvDefine13": 0.0027,
                "parentCode": "30101.0707",
                "totalPrice": 0.0027
            },
            {
                "InvCode": "40101.0210",
                "cInvName": "车规电阻",
                "cInvStd": "1M/1%/0402/Automotive",
                "BaseQtyN": "2.000000",
                "BaseQtyD": "1.000000",
                "CompScrap": ".000",
                "cInvDefine13": 0.0027,
                "parentCode": "30101.0707",
                "totalPrice": 0.0054
            },
            {
                "InvCode": "40101.0086",
                "cInvName": "车规电阻",
                "cInvStd": "12K/1%/0402/Automotive",
                "BaseQtyN": "1.000000",
                "BaseQtyD": "1.000000",
                "CompScrap": ".000",
                "cInvDefine13": 0.0027,
                "parentCode": "30101.0707",
                "totalPrice": 0.0027
            },
            {
                "InvCode": "40901.0024",
                "cInvName": "车规无源晶振",
                "cInvStd": "16MHZ/8pF/30ppm/3225/Automotive",
                "BaseQtyN": "1.000000",
                "BaseQtyD": "1.000000",
                "CompScrap": ".000",
                "cInvDefine13": 0.791,
                "parentCode": "30101.0707",
                "totalPrice": 0.791
            }
        ]
    }
}
  • 上面的接口返回,我们只需要将data中的数据封装成一个对象类,我们想封装一个list中的对象
public class BomCost implements Serializable {
    private String InvCode;
    private String cInvName;
    private String cInvStd;
    private BigDecimal BaseQtyN;
    private BigDecimal BaseQtyD;
    private BigDecimal CompScrap;
    private BigDecimal cInvDefine13;
    private String parentCode;
    private BigDecimal totalPrice;
}
  • 封装data中数据对应对象
public class MaterialCost {
    private BigDecimal cost;
    private List<BomCost> bom_list;
}
  • 现在将接口的data数据封装到对象MaterialCost
    public MaterialCost one(String code) throws JsonProcessingException {
        RestTemplate restTemplate = new RestTemplate();
        String url = "xxxxxxxx?code={?}";
        ResponseEntity<String> entity = restTemplate.getForEntity(url, String.class, code);
        JSONObject jsonArray = JSONArray.parseObject(entity.getBody());
        JSONObject data = jsonArray.getJSONObject("data");
        System.out.println(data.getBigDecimal("cost"));
        JSONArray bom_list = data.getJSONArray("bom_list");
        MaterialCost materialCost = new MaterialCost();
        materialCost.setCost(data.getBigDecimal("cost"));
        List<BomCost> bomCostList = new ArrayList<>();
        for (Object o : bom_list) {
            BomCost bomCost = new BomCost();
            JSONObject object = JSONArray.parseObject(o.toString());
            bomCost.setInvCode(object.getString("InvCode"));
            bomCost.setCInvName(object.getString("cInvName"));
            bomCost.setCInvStd(object.getString("cInvStd"));
            bomCost.setParentCode(object.getString("parentCode"));
            bomCost.setBaseQtyN(object.getBigDecimal("BaseQtyN"));
            bomCost.setBaseQtyD(object.getBigDecimal("BaseQtyD"));
            bomCost.setCompScrap(object.getBigDecimal("CompScrap"));
            bomCost.setCInvDefine13(object.getBigDecimal("cInvDefine13"));
            bomCost.setTotalPrice(object.getBigDecimal("totalPrice"));
            bomCostList.add(bomCost);
        }
        materialCost.setBom_list(bomCostList);
        return materialCost;
    }
  • 封装后的结果,跟接口数据一致
    在这里插入图片描述

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.coloradmin.cn/o/1184126.html

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈,一经查实,立即删除!

相关文章

C++结构体内存对齐

文章目录 介绍对齐数顺序问题结构体有效对齐数计算数组对齐 介绍 结构体的大小并不是简单地将每个结构体成员的大小相加就能得到。 cpu一次能读取多少内存要看数据总线是多少位&#xff0c;如果是16位&#xff0c;则一次只能读取2个字节&#xff0c;如果是32位&#xff0c;则…

【原理篇】三、SpringBoot自动配置原理

文章目录 0、背景demo1、自动配置思路2、META-INF/spring.factories3、Redis自动配置4、自定义一个自动配置5、排除SpringBoot内置自动配置类的加载6、补充点&#xff1a;ApplicationContextAware接口 0、背景demo 用一个循序渐进的示例来体验属性配置&#xff0c;方便后面理解…

62、使用python进行rk3588开发板进行推流亚马逊云服务上,进行实时播放

基本思想:之前写了一套c++的推理和视频编解码,使用rk3588的mpp硬件进行编码和解码,然后使用RTSPServer进行推流,总是有问题,虽然可以使用ffplay和vlc进行拉取和播放,但是就是无法使用gstreamer推流到亚马逊云服务上,因为项目需求的紧急,所以先用python把流程跑同,后续…

【机器学习】Kmeans聚类算法

一、聚类简介 Clustering (聚类)是常见的unsupervised learning (无监督学习)方法&#xff0c;简单地说就是把相似的数据样本分到一组&#xff08;簇&#xff09;&#xff0c;聚类的过程&#xff0c;我们并不清楚某一类是什么&#xff08;通常无标签信息&#xff09;&#xff0…

Stable Diffusion被爆包含性别、种族歧视!比AI更可怕的是人类的偏见......

夕小瑶科技说 原创 作者 | 付奶茶、王二狗最近&#xff0c;华盛顿邮报的一篇报道引起了“奶茶”我的关注&#xff01; 报道中提到AI图像生成器已经开始暴露出它们学到的偏见。比如将非洲人刻板地视为原始&#xff0c;将领导者默认为男性&#xff0c;将囚犯一般视为黑人。 为了…

内衣专用洗衣机怎么样?家用小洗衣机推荐

最近这两年在洗衣机中火出圈的内衣洗衣机&#xff0c;它不仅可以清洁我们较难清洗的衣物&#xff0c;自带除菌功能&#xff0c;可以让衣物上的细菌&#xff0c;还能在清洗的过程中呵护我们衣物的面料&#xff0c;虽然说它是内衣洗衣机&#xff0c;它的功能不止可以清洗内衣&…

基于YOLOv8与DeepSORT实现多目标跟踪——算法与源码解析

一、概述 "目标跟踪 (Object Tracking)"是机器视觉领域中的一个重要研究领域。根据跟踪的目标数量&#xff0c;可以将其分为两大类&#xff1a;单目标跟踪 (Single Object Tracking&#xff0c;简称 SOT) 和多目标跟踪 (Multi Object Tracking&#xff0c;简称 MOT)…

『 MySQL数据库 』数据库基础之库的基本操作

文章目录 库的操作创建数据库字符集与校验集那么该如何查看当前数据库默认的字符集与校验规则?查看数据库所支持的字符集与校验集不同字符集(校验集)之间的区别 基本操作查看数据库显式数据库创建语句数据库的修改数据库的删除数据库的备份检查连接 库的操作 创建数据库 CRE…

记一次 Android 周期性句柄泄漏的排查

滴滴国际化外卖 Android 商户端正常迭代版本过程中&#xff0c;新版本发布并且线上稳定一段时间后&#xff0c;突然触发线上 Crash 报警。 第一次排查发现是在依赖的底层平台 so 库中崩溃&#xff0c;经过沟通了解到其之前也存在过崩溃问题&#xff0c;所以升级相关底层 so 版本…

家居品牌怎么做小红书投放,寻找家居达人的方式有哪些?

在当今社交媒体的时代&#xff0c;找到优秀的家居博主并不困难。但是&#xff0c;在找家居行业博主的时候&#xff0c;了解家居行业特性就很重要&#xff0c;今天来为大家分享一下家居品牌怎么做小红书投放&#xff0c;寻找家居达人的方式有哪些&#xff1f; 一、家居行业特性 …

共享盘的文件删除后能找回吗

在当今高度信息化的时代&#xff0c;数据和文件的重要性日益凸显。然而&#xff0c;由于各种原因&#xff0c;我们有时会不小心删除了一些重要的文件&#xff0c;这时候就会面临数据恢复的问题。那么&#xff0c;对于共享盘的文件&#xff0c;删除后是否还能找回呢&#xff1f;…

conda环境下version libcublasLt.so.11 not defined问题解决

1 问题描述 运行模型训练&#xff0c;错误信息如下&#xff1a; Traceback (most recent call last):File "/opt/Bert-VITS2/./text/chinese_bert.py", line 3, in <module>import torchFile "/root/anaconda3/envs/vits/lib/python3.9/site-packages/t…

如何从存档服务器上完全删除PDM用户

当创建新用户时使用“PDM 登录”类型&#xff08;如下图&#xff09;&#xff0c;PDM用户名和密码会存储于存档服务器的注册表中。 存档服务器的注册表位置如下&#xff1a; HKEY_LOCAL_MACHINE\SOFTWARE\SolidWorks\Applications\PDMWorks Enterprise\ArchiveServer\ConisioU…

【Vue】组件封装小技巧 — 利用$attrs和v-bind接收传递未定义的属性

使用介绍 在Vue.js中&#xff0c;$attrs 和v-bind可以用于组件的二次封装&#xff0c;以在封装的组件中传递父组件的属性和事件。这对于创建高度可定制的通用组件非常有用。 下面是一些示例代码&#xff1a; 假设你有一个名为MyButton的自定义按钮组件&#xff0c;它接受一些…

Apipost发起请求,能正确返回,日志却打印java.io.EOFException: null 的原因

http响应头首部Content-Length - 程序员大本营 http响应头首部Content-Length HTTP Content-Length深入实践-CSDN博客 用了这么久HTTP, 你是否了解Content-Length?-CSDN博客 具体分析可看上面参考文章。 解决办法&#xff1a;可在请求头加上Content-Length&#xff0c;准确…

linux服务器添置一块新硬盘操作

之前有一台ubuntu服务器&#xff0c;考虑未来存储容量可能不够&#xff0c;添加了一块新的硬盘&#xff0c;这是本次添置硬盘过程。 首次接上硬盘&#xff0c;提示&#xff1a; 没有找到新接入设备&#xff0c;查看接线&#xff0c;主板有个硬盘接线端子坏了&#xff0c;更换一…

机器视觉opencv答题卡识别系统 计算机竞赛

0 前言 &#x1f525; 优质竞赛项目系列&#xff0c;今天要分享的是 &#x1f6a9; 答题卡识别系统 - opencv python 图像识别 该项目较为新颖&#xff0c;适合作为竞赛课题方向&#xff0c;学长非常推荐&#xff01; &#x1f947;学长这里给一个题目综合评分(每项满分5分…

新翔绩效考核系统

介绍&#xff1a; 新翔绩效考核系统&#xff0c;是新翔软件有限公司整合众多企事业单位绩效考核需求&#xff0c;而开发的网络版绩效管理软件。软件分前台手机端评分页面和后台电脑端管理页面&#xff0c;可实现360度绩效考核、KPI考核等模式考核&#xff0c;评分方式多样、设…

计算机毕设 基于情感分析的网络舆情热点分析系统

文章目录 0 前言1 课题背景2 数据处理3 文本情感分析3.1 情感分析-词库搭建3.2 文本情感分析实现3.3 建立情感倾向性分析模型 4 数据可视化工具4.1 django框架介绍4.2 ECharts 5 Django使用echarts进行可视化展示5.1 修改setting.py连接mysql数据库5.2 导入数据5.3 使用echarts…

【网络面试必问(6)】IP协议对网络包的转发

接上一篇&#xff1a;【网络面试必问&#xff08;5&#xff09;】网络收发数据及断开服务器&#xff08;四次挥手&#xff09; 在之前的博客中&#xff0c;我们提到过&#xff0c;网络传输的报文是有真实的数据包和一些头部组成的&#xff0c;目前我们了解的头部就有TCP头、IP头…