java8处理数据集

简介: java8处理数据集

@Override
public List selectPartymanStepDto(String ctPartymanId) {
List list = tDwPartymanStepMapper.selectPartymanStepDto(ctPartymanId);
List fileNotnullList = list.stream().filter(e -> e.getCtCurStepno() != null).collect(Collectors.toList());

    //取分叉数据
    List<PartymanStepDto> partList = list.stream().filter(e -> e.getCtStepN() != null && e.getCtStepN().length() > 4).collect(Collectors.toList());
    String[] ctStepNSplit = partList.get(0).getCtStepN().split(",");
    String stepNext = ctStepNSplit[0];

    //重新赋值
    list = list.stream().map(e -> {
        PartymanStepDto partymanStepDto = new PartymanStepDto();
        BeanUtils.copyProperties(e, partymanStepDto);
        e.setCtCurStepno(fileNotnullList.get(0).getCtCurStepno());
        return e;
    }).collect(Collectors.toList());

    List<PartymanStepDto> filterDateSet = new ArrayList();
    List<PartymanStepDto> newDateSet = null;
    for(int i=0; i<ctStepNSplit.length; i++){
        String s1 = ctStepNSplit[i];
        newDateSet = list.stream().filter(e -> e.getCtStepNo().equals(s1)).collect(Collectors.toList());
        filterDateSet.addAll(newDateSet);
    }

    //移除ctStepNo=ctStepNSplit[0-2];的数据
    for(int i=0; i<ctStepNSplit.length; i++){
        String s1 = ctStepNSplit[i];
        list.removeIf(s -> s.getCtStepNo().equals(s1)) ;
    }

    //过滤含有ctStepNo=ctStepNSplit[0-2];的数据
    List<PartymanStepDto> reassignNewList = filterDateSet.stream().map(e -> {
        PartymanStepDto partymanStepDto = new PartymanStepDto();
        BeanUtils.copyProperties(e, partymanStepDto);
        e.setCtId(ctStepNSplit[0]);
        return e;
    }).collect(Collectors.toList());

    list.addAll(reassignNewList);

    //list.stream().sorted(Comparator.comparing(PartymanStepDto::getCtStepNo)).collect(Collectors.toList());
    return list;
}

思路:

1.获取数据库数据集

2.过滤不为null的数据集

3.过滤筛选想要的数据集(5条)

4.取5条中的第一条,取list中某个对象的value 赋值给其他list的相同对象

5.移除数据

处理后返回的数据集

{
"total": 47,
"rows": [
{
"ctStepNo": "1000",
"ctStepName": "提交申请书",
"ctStepP": "",
"ctStepN": "1005",
"ctStepPast": null,
"ctUrl": "spsDevelopMember/main/step1000",
"ctRole": "LOCAL",
"ctStage": "入党申请人",
"ctIfFile": "1",
"ctDateStep": "",
"ctDateDay": "",
"ctZzbStep": "1",
"amSort": "10",
"ctPartymanId": null,
"ctCurStepno": "1035",
"dtDate": null,
"ctContent": null,
"ctId": null
},
{
"ctStepNo": "1005",
"ctStepName": "派人谈话",
"ctStepP": "1000",
"ctStepN": "1006",
"ctStepPast": "1000",
"ctUrl": "spsDevelopMember/main/step1000",
"ctRole": "LOCAL",
"ctStage": "入党申请人",
"ctIfFile": "0",
"ctDateStep": "",
"ctDateDay": "",
"ctZzbStep": "1",
"amSort": "20",
"ctPartymanId": null,
"ctCurStepno": "1035",
"dtDate": null,
"ctContent": null,
"ctId": null
},
{
"ctStepNo": "1006",
"ctStepName": "培养考察",
"ctStepP": "1005",
"ctStepN": "1007",
"ctStepPast": "1005",
"ctUrl": "spsDevelopMember/main/step1000",
"ctRole": "LOCAL",
"ctStage": "入党申请人",
"ctIfFile": "0",
"ctDateStep": "1000",
"ctDateDay": "6-month",
"ctZzbStep": null,
"amSort": "30",
"ctPartymanId": null,
"ctCurStepno": "1035",
"dtDate": null,
"ctContent": null,
"ctId": null
},
{
"ctStepNo": "1007",
"ctStepName": "团内党内推优",
"ctStepP": "1006",
"ctStepN": "1010",
"ctStepPast": "1006",
"ctUrl": "spsDevelopMember/main/step1007",
"ctRole": "LOCAL",
"ctStage": "入党申请人",
"ctIfFile": "1",
"ctDateStep": "",
"ctDateDay": "",
"ctZzbStep": null,
"amSort": "40",
"ctPartymanId": "16072902866",
"ctCurStepno": "1035",
"dtDate": "2017-08-13T00:00:00.000+0800",
"ctContent": "该同志时刻严格要求自己,工作认真踏实,政治立场坚定,认真学习,不断提高自身思想觉悟。",
"ctId": "19051604993"
},
{
"ctStepNo": "1008",
"ctStepName": "党员推优",
"ctStepP": "1006",
"ctStepN": "1010",
"ctStepPast": "1006",
"ctUrl": "",
"ctRole": "LOCAL",
"ctStage": "入党申请人",
"ctIfFile": "1",
"ctDateStep": "",
"ctDateDay": "",
"ctZzbStep": null,
"amSort": "50",
"ctPartymanId": null,
"ctCurStepno": "1035",
"dtDate": null,
"ctContent": null,
"ctId": null
},
{
"ctStepNo": "1010",
"ctStepName": "支委会初选",
"ctStepP": "1007",
"ctStepN": "1015",
"ctStepPast": "1008",
"ctUrl": "spsDevelopMember/main/step1010",
"ctRole": "LOCAL",
"ctStage": "入党申请人",
"ctIfFile": "1",
"ctDateStep": "",
"ctDateDay": "",
"ctZzbStep": null,
"amSort": "60",
"ctPartymanId": null,
"ctCurStepno": "1035",
"dtDate": null,
"ctContent": null,
"ctId": null
},
{
"ctStepNo": "1015",
"ctStepName": "民主测评",
"ctStepP": "1006",
"ctStepN": "1020",
"ctStepPast": "1010",
"ctUrl": "spsDevelopMember/main/step1015",
"ctRole": "LOCAL",
"ctStage": "入党申请人",
"ctIfFile": "1",
"ctDateStep": "",
"ctDateDay": "",
"ctZzbStep": null,
"amSort": "70",
"ctPartymanId": null,
"ctCurStepno": "1035",
"dtDate": null,
"ctContent": null,
"ctId": null
},
{
"ctStepNo": "1020",
"ctStepName": "公示",
"ctStepP": "1006",
"ctStepN": "1025",
"ctStepPast": "1015",
"ctUrl": "spsDevelopMember/main/step1020",
"ctRole": "LOCAL",
"ctStage": "入党申请人",
"ctIfFile": "1",
"ctDateStep": "1015",
"ctDateDay": "5-day",
"ctZzbStep": null,
"amSort": "80",
"ctPartymanId": null,
"ctCurStepno": "1035",
"dtDate": null,
"ctContent": null,
"ctId": null
},
{
"ctStepNo": "1025",
"ctStepName": "确定为入党积极分子",
"ctStepP": "1006",
"ctStepN": "1026",
"ctStepPast": "1020",
"ctUrl": "spsDevelopMember/main/step1025",
"ctRole": "LOCAL",
"ctStage": "入党申请人",
"ctIfFile": "1",
"ctDateStep": "",
"ctDateDay": "",
"ctZzbStep": "1",
"amSort": "90",
"ctPartymanId": "16072902866",
"ctCurStepno": "1035",
"dtDate": "2019-05-14T00:00:00.000+0800",
"ctContent": "2019年5月8日至5月14日对白易确定为入党积极分子进行公示,公示期间未收到任何不良反映,党员职工群众对白易确定为入党积极分子无异议,并报公司党委备案",
"ctId": "19052102147"
},
{
"ctStepNo": "1026",
"ctStepName": "上级党委备案",
"ctStepP": "1025",
"ctStepN": "1030",
"ctStepPast": "1025",
"ctUrl": "spsDevelopMember/main/step1026",
"ctRole": "PRA",
"ctStage": "入党积极分子",
"ctIfFile": "1",
"ctDateStep": "",
"ctDateDay": "",
"ctZzbStep": "1",
"amSort": "100",
"ctPartymanId": "16072902866",
"ctCurStepno": "1035",
"dtDate": "2019-05-14T00:00:00.000+0800",
"ctContent": "经研究,同意白易同志为入党积极分子。",
"ctId": "19052102156"
},
{
"ctStepNo": "1030",
"ctStepName": "指定培养联系人",
"ctStepP": "1026",
"ctStepN": "1035",
"ctStepPast": "1026",
"ctUrl": "spsDevelopMember/main/step1030",
"ctRole": "LOCAL",
"ctStage": "入党积极分子",
"ctIfFile": "1",
"ctDateStep": "",
"ctDateDay": "",
"ctZzbStep": "1",
"amSort": "110",
"ctPartymanId": "16072902866",
"ctCurStepno": "1035",
"dtDate": null,
"ctContent": " 2019年5月29日经支委会议讨论决定,孙利刚和陈丽娇为白易培养联系人。",
"ctId": "19052302383"
},
{
"ctStepNo": "1035",
"ctStepName": "培养教育考察",
"ctStepP": "1030",
"ctStepN": "1036",
"ctStepPast": "1030",
"ctUrl": "spsDevelopMember/main/step1035",
"ctRole": "LOCAL",
"ctStage": "入党积极分子",
"ctIfFile": "1",
"ctDateStep": "1025",
"ctDateDay": "1-year",
"ctZzbStep": "1",
"amSort": "120",
"ctPartymanId": "16072902866",
"ctCurStepno": "1035",
"dtDate": "2020-05-29T00:00:00.000+0800",
"ctContent": null,
"ctId": "19052902341"
},
{
"ctStepNo": "1036",
"ctStepName": "支委同意确定为发展对象",
"ctStepP": "1035",
"ctStepN": "1050",
"ctStepPast": "1035",
"ctUrl": "spsDevelopMember/main/step1036",
"ctRole": "LOCAL",
"ctStage": "入党积极分子",
"ctIfFile": "1",
"ctDateStep": "",
"ctDateDay": "",
"ctZzbStep": "1",
"amSort": "130",
"ctPartymanId": null,
"ctCurStepno": "1035",
"dtDate": null,
"ctContent": null,
"ctId": null
},
{
"ctStepNo": "1050",
"ctStepName": "上级党委备案",
"ctStepP": "1035",
"ctStepN": "1051",
"ctStepPast": "1036",
"ctUrl": "spsDevelopMember/main/step1050",
"ctRole": "PRA",
"ctStage": "入党发展对象",
"ctIfFile": "1",
"ctDateStep": "",
"ctDateDay": "",
"ctZzbStep": "1",
"amSort": "140",
"ctPartymanId": null,
"ctCurStepno": "1035",
"dtDate": null,
"ctContent": null,
"ctId": null
},
{
"ctStepNo": "1051",
"ctStepName": "确定入党介绍人",
"ctStepP": "1050",
"ctStepN": "1055",
"ctStepPast": "1050",
"ctUrl": "spsDevelopMember/main/step1051",
"ctRole": "LOCAL",
"ctStage": "入党发展对象",
"ctIfFile": "1",
"ctDateStep": "",
"ctDateDay": "",
"ctZzbStep": "1",
"amSort": "150",
"ctPartymanId": null,
"ctCurStepno": "1035",
"dtDate": null,
"ctContent": null,
"ctId": null
},
{
"ctStepNo": "1055",
"ctStepName": "民主测评",
"ctStepP": "1035",
"ctStepN": "1060",
"ctStepPast": "1051",
"ctUrl": "spsDevelopMember/main/step1055",
"ctRole": "PRA",
"ctStage": "入党发展对象",
"ctIfFile": "1",
"ctDateStep": "",
"ctDateDay": "",
"ctZzbStep": null,
"amSort": "160",
"ctPartymanId": null,
"ctCurStepno": "1035",
"dtDate": null,
"ctContent": null,
"ctId": null
},
{
"ctStepNo": "1060",
"ctStepName": "政治审查",
"ctStepP": "1035",
"ctStepN": "1065",
"ctStepPast": "1055",
"ctUrl": "spsDevelopMember/main/step1060",
"ctRole": "PRA",
"ctStage": "入党发展对象",
"ctIfFile": "1",
"ctDateStep": "",
"ctDateDay": "",
"ctZzbStep": "1",
"amSort": "170",
"ctPartymanId": null,
"ctCurStepno": "1035",
"dtDate": null,
"ctContent": null,
"ctId": null
},
{
"ctStepNo": "1065",
"ctStepName": "公示",
"ctStepP": "1035",
"ctStepN": "1067",
"ctStepPast": "1060",
"ctUrl": "spsDevelopMember/main/step1065",
"ctRole": "PRA",
"ctStage": "入党发展对象",
"ctIfFile": "1",
"ctDateStep": "",
"ctDateDay": "",
"ctZzbStep": null,
"amSort": "180",
"ctPartymanId": null,
"ctCurStepno": "1035",
"dtDate": null,
"ctContent": null,
"ctId": null
},
{
"ctStepNo": "1067",
"ctStepName": "短期集中培训",
"ctStepP": "1065",
"ctStepN": "1071",
"ctStepPast": "1065",
"ctUrl": "spsDevelopMember/main/step1067",
"ctRole": "LOCAL",
"ctStage": "入党发展对象",
"ctIfFile": "1",
"ctDateStep": "",
"ctDateDay": "",
"ctZzbStep": "1",
"amSort": "190",
"ctPartymanId": null,
"ctCurStepno": "1035",
"dtDate": null,
"ctContent": null,
"ctId": null
},
{
"ctStepNo": "1071",
"ctStepName": "支部委员会审查",
"ctStepP": "1067",
"ctStepN": "1073",
"ctStepPast": "1067",
"ctUrl": "spsDevelopMember/main/step1071",
"ctRole": "LOCAL",
"ctStage": "入党发展对象",
"ctIfFile": "1",
"ctDateStep": "",
"ctDateDay": "",
"ctZzbStep": "1",
"amSort": "200",
"ctPartymanId": null,
"ctCurStepno": "1035",
"dtDate": null,
"ctContent": null,
"ctId": null
},
{
"ctStepNo": "1073",
"ctStepName": "党委预审",
"ctStepP": "1071",
"ctStepN": "1075",
"ctStepPast": "1071",
"ctUrl": "spsDevelopMember/main/step1073",
"ctRole": "PRA",
"ctStage": "入党发展对象",
"ctIfFile": "1",
"ctDateStep": "",
"ctDateDay": "",
"ctZzbStep": "1",
"amSort": "210",
"ctPartymanId": null,
"ctCurStepno": "1035",
"dtDate": null,
"ctContent": null,
"ctId": null
},
{
"ctStepNo": "1075",
"ctStepName": "填写入党志愿书",
"ctStepP": "1073",
"ctStepN": "1080",
"ctStepPast": "1073",
"ctUrl": "spsDevelopMember/main/step1075",
"ctRole": "LOCAL",
"ctStage": "入党发展对象",
"ctIfFile": "1",
"ctDateStep": "",
"ctDateDay": "",
"ctZzbStep": null,
"amSort": "220",
"ctPartymanId": null,
"ctCurStepno": "1035",
"dtDate": null,
"ctContent": null,
"ctId": null
},
{
"ctStepNo": "1080",
"ctStepName": "集团核对编号",
"ctStepP": "1075",
"ctStepN": "1085",
"ctStepPast": "1075",
"ctUrl": "spsDevelopMember/main/step1080",
"ctRole": "ROOT",
"ctStage": "入党发展对象",
"ctIfFile": "1",
"ctDateStep": "",
"ctDateDay": "",
"ctZzbStep": "1",
"amSort": "230",
"ctPartymanId": null,
"ctCurStepno": "1035",
"dtDate": null,
"ctContent": null,
"ctId": null
},
{
"ctStepNo": "1085",
"ctStepName": "支部大会票决",
"ctStepP": "1035",
"ctStepN": "1090",
"ctStepPast": "1080",
"ctUrl": "spsDevelopMember/main/step1085",
"ctRole": "LOCAL",
"ctStage": "入党发展对象",
"ctIfFile": "1",
"ctDateStep": "",
"ctDateDay": "",
"ctZzbStep": "1",
"amSort": "240",
"ctPartymanId": null,
"ctCurStepno": "1035",
"dtDate": null,
"ctContent": null,
"ctId": null
},
{
"ctStepNo": "1090",
"ctStepName": "党委职能部门审查",
"ctStepP": "1035",
"ctStepN": "1095",
"ctStepPast": "1085",
"ctUrl": "spsDevelopMember/main/step1090",
"ctRole": "PRA",
"ctStage": "预备党员",
"ctIfFile": "1",
"ctDateStep": "",
"ctDateDay": "",
"ctZzbStep": null,
"amSort": "250",
"ctPartymanId": null,
"ctCurStepno": "1035",
"dtDate": null,
"ctContent": null,
"ctId": null
},
{
"ctStepNo": "1095",
"ctStepName": "上级党委派人谈话",
"ctStepP": "1035",
"ctStepN": "1100",
"ctStepPast": "1090",
"ctUrl": "spsDevelopMember/main/step1095",
"ctRole": "PRA",
"ctStage": "预备党员",
"ctIfFile": "1",
"ctDateStep": "",
"ctDateDay": "",
"ctZzbStep": "1",
"amSort": "260",
"ctPartymanId": null,
"ctCurStepno": "1035",
"dtDate": null,
"ctContent": null,
"ctId": null
},
{
"ctStepNo": "1100",
"ctStepName": "上级党委审批",
"ctStepP": "1035",
"ctStepN": "1103",
"ctStepPast": "1095",
"ctUrl": "spsDevelopMember/main/step1100",
"ctRole": "PRA",
"ctStage": "预备党员",
"ctIfFile": "1",
"ctDateStep": "",
"ctDateDay": "",
"ctZzbStep": "1",
"amSort": "270",
"ctPartymanId": null,
"ctCurStepno": "1035",
"dtDate": null,
"ctContent": null,
"ctId": null
},
{
"ctStepNo": "1103",
"ctStepName": "再上一级党委组织部门备案",
"ctStepP": "1100",
"ctStepN": "1105",
"ctStepPast": "1100",
"ctUrl": "spsDevelopMember/main/step1103",
"ctRole": "PRA",
"ctStage": "预备党员",
"ctIfFile": "1",
"ctDateStep": "",
"ctDateDay": "",
"ctZzbStep": "1",
"amSort": "280",
"ctPartymanId": null,
"ctCurStepno": "1035",
"dtDate": null,
"ctContent": null,
"ctId": null
},
{
"ctStepNo": "1105",
"ctStepName": "编入党支部和党小组",
"ctStepP": "1103",
"ctStepN": "1109",
"ctStepPast": "1103",
"ctUrl": "spsDevelopMember/main/step1105",
"ctRole": "PRA",
"ctStage": "预备党员",
"ctIfFile": "1",
"ctDateStep": "",
"ctDateDay": "",
"ctZzbStep": "1",
"amSort": "290",
"ctPartymanId": null,
"ctCurStepno": "1035",
"dtDate": null,
"ctContent": null,
"ctId": null
},
{
"ctStepNo": "1109",
"ctStepName": "入党宣誓",
"ctStepP": "1105",
"ctStepN": "1110",
"ctStepPast": "1105",
"ctUrl": "spsDevelopMember/main/step1109",
"ctRole": "LOCAL",
"ctStage": "预备党员",
"ctIfFile": "1",
"ctDateStep": "",
"ctDateDay": "",
"ctZzbStep": "1",
"amSort": "300",
"ctPartymanId": null,
"ctCurStepno": "1035",
"dtDate": null,
"ctContent": null,
"ctId": null
},
{
"ctStepNo": "1110",
"ctStepName": "继续教育考察",
"ctStepP": "1109",
"ctStepN": "1119",
"ctStepPast": "1109",
"ctUrl": "spsDevelopMember/main/step1110",
"ctRole": "LOCAL",
"ctStage": "预备党员",
"ctIfFile": "1",
"ctDateStep": "",
"ctDateDay": "",
"ctZzbStep": "1",
"amSort": "310",
"ctPartymanId": null,
"ctCurStepno": "1035",
"dtDate": null,
"ctContent": null,
"ctId": null
},
{
"ctStepNo": "1111",
"ctStepName": "取消预备资格",
"ctStepP": "1110",
"ctStepN": "1112",
"ctStepPast": "1110",
"ctUrl": "spsDevelopMember/main/step1111",
"ctRole": "LOCAL",
"ctStage": "预备党员",
"ctIfFile": "1",
"ctDateStep": "",
"ctDateDay": "",
"ctZzbStep": null,
"amSort": "320",
"ctPartymanId": null,
"ctCurStepno": "1035",
"dtDate": null,
"ctContent": null,
"ctId": null
},
{
"ctStepNo": "1113",
"ctStepName": "取消预备资格存档",
"ctStepP": "1111",
"ctStepN": "1114",
"ctStepPast": "1112",
"ctUrl": "spsDevelopMember/main/step1113",
"ctRole": "PRA",
"ctStage": "预备党员",
"ctIfFile": "1",
"ctDateStep": "",
"ctDateDay": "",
"ctZzbStep": null,
"amSort": "340",
"ctPartymanId": null,
"ctCurStepno": "1035",
"dtDate": null,
"ctContent": null,
"ctId": null
},
{
"ctStepNo": "1114",
"ctStepName": "结束",
"ctStepP": null,
"ctStepN": null,
"ctStepPast": null,
"ctUrl": "",
"ctRole": null,
"ctStage": "预备党员",
"ctIfFile": "0",
"ctDateStep": "",
"ctDateDay": "",
"ctZzbStep": null,
"amSort": "350",
"ctPartymanId": null,
"ctCurStepno": "1035",
"dtDate": null,
"ctContent": null,
"ctId": null
},
{
"ctStepNo": "1116",
"ctStepName": "延迟预备期",
"ctStepP": "1110",
"ctStepN": "1117",
"ctStepPast": "1110",
"ctUrl": "spsDevelopMember/main/step1116",
"ctRole": "LOCAL",
"ctStage": "预备党员",
"ctIfFile": "1",
"ctDateStep": "",
"ctDateDay": "",
"ctZzbStep": null,
"amSort": "360",
"ctPartymanId": null,
"ctCurStepno": "1035",
"dtDate": null,
"ctContent": null,
"ctId": null
},
{
"ctStepNo": "1119",
"ctStepName": "本人提出转正申请",
"ctStepP": "1110",
"ctStepN": "1120",
"ctStepPast": "1110",
"ctUrl": "spsDevelopMember/main/step1118",
"ctRole": "LOCAL",
"ctStage": "预备党员",
"ctIfFile": "1",
"ctDateStep": "1035",
"ctDateDay": "1-year",
"ctZzbStep": "1",
"amSort": "380",
"ctPartymanId": null,
"ctCurStepno": "1035",
"dtDate": null,
"ctContent": null,
"ctId": null
},
{
"ctStepNo": "1120",
"ctStepName": "支委会审查",
"ctStepP": "1110",
"ctStepN": "1125,1112,1117",
"ctStepPast": "1119",
"ctUrl": "spsDevelopMember/main/step1120",
"ctRole": "LOCAL",
"ctStage": "预备党员",
"ctIfFile": "1",
"ctDateStep": "",
"ctDateDay": "",
"ctZzbStep": "1",
"amSort": "390",
"ctPartymanId": null,
"ctCurStepno": "1035",
"dtDate": null,
"ctContent": null,
"ctId": null
},
{
"ctStepNo": "1130",
"ctStepName": "公示",
"ctStepP": "1110",
"ctStepN": "1135",
"ctStepPast": "1125",
"ctUrl": "spsDevelopMember/main/step1130",
"ctRole": "PRA",
"ctStage": "预备党员",
"ctIfFile": "1",
"ctDateStep": "",
"ctDateDay": "",
"ctZzbStep": null,
"amSort": "410",
"ctPartymanId": null,
"ctCurStepno": "1035",
"dtDate": null,
"ctContent": null,
"ctId": null
},
{
"ctStepNo": "1135",
"ctStepName": "支部大会票决",
"ctStepP": "1110",
"ctStepN": "1145",
"ctStepPast": "1130",
"ctUrl": "spsDevelopMember/main/step1135",
"ctRole": "LOCAL",
"ctStage": "预备党员",
"ctIfFile": "1",
"ctDateStep": "",
"ctDateDay": "",
"ctZzbStep": null,
"amSort": "420",
"ctPartymanId": null,
"ctCurStepno": "1035",
"dtDate": null,
"ctContent": null,
"ctId": null
},
{
"ctStepNo": "1145",
"ctStepName": "上级党委审批",
"ctStepP": "1110",
"ctStepN": "1150",
"ctStepPast": "1135",
"ctUrl": "spsDevelopMember/main/step1145",
"ctRole": "PRA",
"ctStage": "预备党员",
"ctIfFile": "1",
"ctDateStep": "",
"ctDateDay": "",
"ctZzbStep": "1",
"amSort": "430",
"ctPartymanId": null,
"ctCurStepno": "1035",
"dtDate": null,
"ctContent": null,
"ctId": null
},
{
"ctStepNo": "1150",
"ctStepName": "职能部门通知支部转正",
"ctStepP": "1145",
"ctStepN": "1155",
"ctStepPast": "1145",
"ctUrl": "spsDevelopMember/main/step1150",
"ctRole": "PRA",
"ctStage": "预备党员",
"ctIfFile": "1",
"ctDateStep": "",
"ctDateDay": "",
"ctZzbStep": "",
"amSort": "440",
"ctPartymanId": null,
"ctCurStepno": "1035",
"dtDate": null,
"ctContent": null,
"ctId": null
},
{
"ctStepNo": "1155",
"ctStepName": "党支部与党员谈话",
"ctStepP": "1150",
"ctStepN": "1160",
"ctStepPast": "1150",
"ctUrl": "spsDevelopMember/main/step1155",
"ctRole": "LOCAL",
"ctStage": "预备党员",
"ctIfFile": "1",
"ctDateStep": "",
"ctDateDay": "",
"ctZzbStep": null,
"amSort": "450",
"ctPartymanId": null,
"ctCurStepno": "1035",
"dtDate": null,
"ctContent": null,
"ctId": null
},
{
"ctStepNo": "1160",
"ctStepName": "存档?",
"ctStepP": "1155",
"ctStepN": "9999",
"ctStepPast": "1155",
"ctUrl": "spsDevelopMember/main/step1160",
"ctRole": "PRA",
"ctStage": "预备党员",
"ctIfFile": "1",
"ctDateStep": "",
"ctDateDay": "",
"ctZzbStep": "1",
"amSort": "460",
"ctPartymanId": null,
"ctCurStepno": "1035",
"dtDate": null,
"ctContent": null,
"ctId": null
},
{
"ctStepNo": "9999",
"ctStepName": "结束",
"ctStepP": null,
"ctStepN": null,
"ctStepPast": null,
"ctUrl": "",
"ctRole": null,
"ctStage": "正式党员",
"ctIfFile": "0",
"ctDateStep": "",
"ctDateDay": "",
"ctZzbStep": null,
"amSort": "1000",
"ctPartymanId": null,
"ctCurStepno": "1035",
"dtDate": null,
"ctContent": null,
"ctId": null
},
{
"ctStepNo": "1125",
"ctStepName": "党委职能部门初审",
"ctStepP": "1110",
"ctStepN": "1130",
"ctStepPast": "1120",
"ctUrl": "spsDevelopMember/main/step1125",
"ctRole": "PRA",
"ctStage": "预备党员",
"ctIfFile": "1",
"ctDateStep": "",
"ctDateDay": "",
"ctZzbStep": null,
"amSort": "400",
"ctPartymanId": null,
"ctCurStepno": "1035",
"dtDate": null,
"ctContent": null,
"ctId": "1125"
},
{
"ctStepNo": "1112",
"ctStepName": "取消预备资格党委审查",
"ctStepP": "1111",
"ctStepN": "1113",
"ctStepPast": "1111",
"ctUrl": "spsDevelopMember/main/step1112",
"ctRole": "PRA",
"ctStage": "预备党员",
"ctIfFile": "1",
"ctDateStep": "",
"ctDateDay": "",
"ctZzbStep": null,
"amSort": "330",
"ctPartymanId": null,
"ctCurStepno": "1035",
"dtDate": null,
"ctContent": null,
"ctId": "1125"
},
{
"ctStepNo": "1117",
"ctStepName": "延迟预备期党委审查",
"ctStepP": "1116",
"ctStepN": "1125",
"ctStepPast": "1116",
"ctUrl": "spsDevelopMember/main/step1117",
"ctRole": "PRA",
"ctStage": "预备党员",
"ctIfFile": "1",
"ctDateStep": "",
"ctDateDay": "",
"ctZzbStep": null,
"amSort": "370",
"ctPartymanId": null,
"ctCurStepno": "1035",
"dtDate": null,
"ctContent": null,
"ctId": "1125"
}
],
"code": 200,
"msg": "查询成功"
}

相关文章
|
6月前
|
存储 算法 Java
Java数据结构与算法:用于高效地存储和检索字符串数据集
Java数据结构与算法:用于高效地存储和检索字符串数据集
|
机器学习/深度学习 安全 Java
【网安AIGC专题10.19】论文6(顶会ISSTA 2023):提出新Java漏洞自动修复数据集:数据集 VJBench+大语言模型、APR技术+代码转换方法+LLM和DL-APR模型的挑战与机会
【网安AIGC专题10.19】论文6(顶会ISSTA 2023):提出新Java漏洞自动修复数据集:数据集 VJBench+大语言模型、APR技术+代码转换方法+LLM和DL-APR模型的挑战与机会
532 0
|
1天前
|
安全 Java API
java如何请求接口然后终止某个线程
通过本文的介绍,您应该能够理解如何在Java中请求接口并根据返回结果终止某个线程。合理使用标志位或 `interrupt`方法可以确保线程的安全终止,而处理好网络请求中的各种异常情况,可以提高程序的稳定性和可靠性。
23 6
|
16天前
|
设计模式 Java 开发者
Java多线程编程的陷阱与解决方案####
本文深入探讨了Java多线程编程中常见的问题及其解决策略。通过分析竞态条件、死锁、活锁等典型场景,并结合代码示例和实用技巧,帮助开发者有效避免这些陷阱,提升并发程序的稳定性和性能。 ####
|
14天前
|
存储 监控 小程序
Java中的线程池优化实践####
本文深入探讨了Java中线程池的工作原理,分析了常见的线程池类型及其适用场景,并通过实际案例展示了如何根据应用需求进行线程池的优化配置。文章首先介绍了线程池的基本概念和核心参数,随后详细阐述了几种常见的线程池实现(如FixedThreadPool、CachedThreadPool、ScheduledThreadPool等)的特点及使用场景。接着,通过一个电商系统订单处理的实际案例,分析了线程池参数设置不当导致的性能问题,并提出了相应的优化策略。最终,总结了线程池优化的最佳实践,旨在帮助开发者更好地利用Java线程池提升应用性能和稳定性。 ####
|
16天前
|
缓存 Java 开发者
Java多线程编程的陷阱与最佳实践####
本文深入探讨了Java多线程编程中常见的陷阱,如竞态条件、死锁和内存一致性错误,并提供了实用的避免策略。通过分析典型错误案例,本文旨在帮助开发者更好地理解和掌握多线程环境下的编程技巧,从而提升并发程序的稳定性和性能。 ####
|
10天前
|
安全 算法 Java
Java多线程编程中的陷阱与最佳实践####
本文探讨了Java多线程编程中常见的陷阱,并介绍了如何通过最佳实践来避免这些问题。我们将从基础概念入手,逐步深入到具体的代码示例,帮助开发者更好地理解和应用多线程技术。无论是初学者还是有经验的开发者,都能从中获得有价值的见解和建议。 ####
|
10天前
|
Java 调度
Java中的多线程编程与并发控制
本文深入探讨了Java编程语言中多线程编程的基础知识和并发控制机制。文章首先介绍了多线程的基本概念,包括线程的定义、生命周期以及在Java中创建和管理线程的方法。接着,详细讲解了Java提供的同步机制,如synchronized关键字、wait()和notify()方法等,以及如何通过这些机制实现线程间的协调与通信。最后,本文还讨论了一些常见的并发问题,例如死锁、竞态条件等,并提供了相应的解决策略。
29 3
|
11天前
|
监控 Java 开发者
深入理解Java中的线程池实现原理及其性能优化####
本文旨在揭示Java中线程池的核心工作机制,通过剖析其背后的设计思想与实现细节,为读者提供一份详尽的线程池性能优化指南。不同于传统的技术教程,本文将采用一种互动式探索的方式,带领大家从理论到实践,逐步揭开线程池高效管理线程资源的奥秘。无论你是Java并发编程的初学者,还是寻求性能调优技巧的资深开发者,都能在本文中找到有价值的内容。 ####