Closed vakilev closed 6 days ago
[ { "operation": "shift", "spec": { "ts": "msgTs", "pk": { "id": "muMesId", "systemCode": "mesId" }, "op": "materialStatusName", "data": { "workshopCode": "kcehId", "werks": "werksId", "primeId": "primeId", "markingAcc": { "nplv": "markingAcc.nplv", "strand": "markingAcc.strand", "slab": "markingAcc.slab" }, "specifications": { "": { "specCode": "additionalParamsDtos[#2].code", "specName": "additionalParamsDtos[#2].name", "specTypeCode": "additionalParamsDtos[#2].type", "specValue": "additionalParamsDtos[#2].value", "specFormat": "additionalParamsDtos[#2].format", "specMeasure": "additionalParamsDtos[#2].unitOfMeasure" } }, "macrostructure": { "": { "requestRowId": "macrostructure[&1].requestRowId", "sampleNum": "macrostructure[&1].sampleNum", "sampleType": "macrostructure[&1].sampleType", "probeCode": "macrostructure[&1].probeCode", "distributionType": "macrostructure[&1].distributionType", "specifications": { "": { "specCode": "macrostructure[&3].additionalParamsDtos[&1].code", "specName": "macrostructure[&3].additionalParamsDtos[&1].name", "specTypeCode": "macrostructure[&3].additionalParamsDtos[&1].type", "specValue": "macrostructure[&3].additionalParamsDtos[&1].value", "specFormat": "macrostructure[&3].additionalParamsDtos[&1].format", "specMeasure": "macrostructure[&3].additionalParamsDtos[&1].unitOfMeasure" } } } }, "chemData": { "": { "sampleId": "chemData[&1].sampleId", "probeCode": "chemData[&1].probeCode", "analysisCode": "chemData[&1].analysisCode", "sampleNum": "chemData[&1].sampleNum", "chemical": { "*": { "chemCode": "chemData[&3].additionalParamsDtos[&1].code", "chemName": "chemData[&3].additionalParamsDtos[&1].name", "#2": "chemData[&3].additionalParamsDtos[&1].type", "chemValue": "chemData[&3].additionalParamsDtos[&1].value", "chemFormat": "chemData[&3].additionalParamsDtos[&1].format", "chemMeasure": "chemData[&3].additionalParamsDtos[&1].unitOfMeasure" } } } } } } } ]
look, this "#2": "chemData[&3].additionalParamsDtos[&1].type" adds field "2", but i need this to be 2 (int). How am i supposed to to this?
[ { "operation": "shift", "spec": { "ts": "msgTs", "pk": { "id": "muMesId", "systemCode": "mesId" }, "op": "materialStatusName", "data": { "workshopCode": "kcehId", "werks": "werksId", "primeId": "primeId", "markingAcc": { "nplv": "markingAcc.nplv", "strand": "markingAcc.strand", "slab": "markingAcc.slab" }, "specifications": { "": { "specCode": "additionalParamsDtos[#2].code", "specName": "additionalParamsDtos[#2].name", "specTypeCode": "additionalParamsDtos[#2].type", "specValue": "additionalParamsDtos[#2].value", "specFormat": "additionalParamsDtos[#2].format", "specMeasure": "additionalParamsDtos[#2].unitOfMeasure" } }, "macrostructure": { "": { "requestRowId": "macrostructure[&1].requestRowId", "sampleNum": "macrostructure[&1].sampleNum", "sampleType": "macrostructure[&1].sampleType", "probeCode": "macrostructure[&1].probeCode", "distributionType": "macrostructure[&1].distributionType", "specifications": { "": { "specCode": "macrostructure[&3].additionalParamsDtos[&1].code", "specName": "macrostructure[&3].additionalParamsDtos[&1].name", "specTypeCode": "macrostructure[&3].additionalParamsDtos[&1].type", "specValue": "macrostructure[&3].additionalParamsDtos[&1].value", "specFormat": "macrostructure[&3].additionalParamsDtos[&1].format", "specMeasure": "macrostructure[&3].additionalParamsDtos[&1].unitOfMeasure" } } } }, "chemData": { "": { "sampleId": "chemData[&1].sampleId", "probeCode": "chemData[&1].probeCode", "analysisCode": "chemData[&1].analysisCode", "sampleNum": "chemData[&1].sampleNum", "chemical": { "*": { "chemCode": "chemData[&3].additionalParamsDtos[&1].code", "chemName": "chemData[&3].additionalParamsDtos[&1].name", "#2": "chemData[&3].additionalParamsDtos[&1].type", "chemValue": "chemData[&3].additionalParamsDtos[&1].value", "chemFormat": "chemData[&3].additionalParamsDtos[&1].format", "chemMeasure": "chemData[&3].additionalParamsDtos[&1].unitOfMeasure" } } } } } } } ]
look, this "#2": "chemData[&3].additionalParamsDtos[&1].type" adds field "2", but i need this to be 2 (int). How am i supposed to to this?