if (that.activeName=='') {
parmam.grpBody.push({idxCompartorType:0,isUserDefine:0,soType:that.setpNums.groupOtype,tabCode:that.setpNums.groupOtype==3?"CORP":"BOND",idxCode:'O_CODE',idxValue:that.activeName,idxCompartor:'='});
}else if(that.zhaiType.length>0){
parmam.grpBody.push({idxCompartorType:1,isUserDefine:0,soType:that.setpNums.groupOtype,tabCode:that.setpNums.groupOtype==3?"CORP":"BOND",idxCode:'A_TYPE',idxValue:that.zhaiType.join(',')+',',idxCompartor:'in'});
}else if(that.objJixi.length>0){
parmam.grpBody.push({idxCompartorType:1,isUserDefine:0,soType:that.setpNums.groupOtype,tabCode:that.setpNums.groupOtype==3?"CORP":"BOND",idxCode:'B_RATE_MODE',idxValue:that.objJixi.join(',')+',',idxCompartor:'in'});
}else if(that.objNei.length>0){
parmam.grpBody.push({idxCompartorType:1,isUserDefine:0,soType:that.setpNums.groupOtype,tabCode:that.setpNums.groupOtype==3?"CORP":"BOND",idxCode:'O_INCRT',idxValue:that.objNei.join(',')+',',idxCompartor:'in'});
}else if(that.objCity.length>0){
parmam.grpBody.push({idxCompartorType:1,isUserDefine:0,soType:that.setpNums.groupOtype,tabCode:that.setpNums.groupOtype==3?"CORP":"BOND",idxCode:'O_ISCITY',idxValue:that.objCity.join(',')+',',idxCompartor:'in'});
}else if(that.objLei.length>0){
parmam.grpBody.push({idxCompartorType:1,isUserDefine:0,soType:that.setpNums.groupOtype,tabCode:that.setpNums.groupOtype==3?"CORP":"BOND",idxCode:'O_TYPE',idxValue:that.objLei.join(',')+',',idxCompartor:'in'});
}else if(that.objShi.length>0){
parmam.grpBody.push({idxCompartorType:1,isUserDefine:0,soType:that.setpNums.groupOtype,tabCode:that.setpNums.groupOtype==3?"CORP":"BOND",idxCode:'O_ISMARKET',idxValue:that.objShi.join(',')+',',idxCompartor:'in'});
}else if(that.objWai.length>0){
parmam.grpBody.push({idxCompartorType:1,isUserDefine:0,soType:that.setpNums.groupOtype,tabCode:that.setpNums.groupOtype==3?"CORP":"BOND",idxCode:'O_OUTCRT',idxValue:that.objWai.join(',')+',',idxCompartor:'in'});
}else if(that.objArea.length>0){
parmam.grpBody.push({idxCompartorType:1,isUserDefine:0,soType:that.setpNums.groupOtype,tabCode:that.setpNums.groupOtype==3?"CORP":"BOND",idxCode:'O_REGION',idxValue:that.objArea.join(',')+',',idxCompartor:'in'});
}else if(that.faNei.length>0){
parmam.grpBody.push({idxCompartorType:1,isUserDefine:0,soType:that.setpNums.groupOtype,tabCode:that.setpNums.groupOtype==3?"CORP":"BOND",idxCode:'O_INCRT',idxValue:that.faNei.join(',')+',',idxCompartor:'in'});
}else if(that.faCity.length>0){
parmam.grpBody.push({idxCompartorType:1,isUserDefine:0,soType:that.setpNums.groupOtype,tabCode:that.setpNums.groupOtype==3?"CORP":"BOND",idxCode:'O_ISCITY',idxValue:that.faCity.join(',')+',',idxCompartor:'in'});
}else if(that.faLei.length>0){
parmam.grpBody.push({idxCompartorType:1,isUserDefine:0,soType:that.setpNums.groupOtype,tabCode:that.setpNums.groupOtype==3?"CORP":"BOND",idxCode:'O_TYPE',idxValue:that.faLei.join(',')+',',idxCompartor:'in'});
}else if(that.faShi.length>0){
parmam.grpBody.push({idxCompartorType:1,isUserDefine:0,soType:that.setpNums.groupOtype,tabCode:that.setpNums.groupOtype==3?"CORP":"BOND",idxCode:'O_ISMARKET',idxValue:that.faShi.join(',')+',',idxCompartor:'in'});
}else if(that.faWai.length>0){
parmam.grpBody.push({idxCompartorType:1,isUserDefine:0,soType:that.setpNums.groupOtype,tabCode:that.setpNums.groupOtype==3?"CORP":"BOND",idxCode:'O_OUTCRT',idxValue:that.faWai.join(',')+',',idxCompartor:'in'});
}else if(that.faArea.length>0){
parmam.grpBody.push({idxCompartorType:1,isUserDefine:0,soType:that.setpNums.groupOtype,tabCode:that.setpNums.groupOtype==3?"CORP":"BOND",idxCode:'O_REGION',idxValue:that.faArea.join(',')+',',idxCompartor:'in'});
}else if(that.danNei.length>0){
parmam.grpBody.push({idxCompartorType:1,isUserDefine:0,soType:that.setpNums.groupOtype,tabCode:that.setpNums.groupOtype==3?"CORP":"BOND",idxCode:'O_INCRT',idxValue:that.danNei.join(',')+',',idxCompartor:'in'});
}else if(that.danCity.length>0){
parmam.grpBody.push({idxCompartorType:1,isUserDefine:0,soType:that.setpNums.groupOtype,tabCode:that.setpNums.groupOtype==3?"CORP":"BOND",idxCode:'O_ISCITY',idxValue:that.danCity.join(',')+',',idxCompartor:'in'});
}else if(that.danLei.length>0){
parmam.grpBody.push({idxCompartorType:1,isUserDefine:0,soType:that.setpNums.groupOtype,tabCode:that.setpNums.groupOtype==3?"CORP":"BOND",idxCode:'O_TYPE',idxValue:that.danLei.join(',')+',',idxCompartor:'in'});
}else if(that.danShi.length>0){
parmam.grpBody.push({idxCompartorType:1,isUserDefine:0,soType:that.setpNums.groupOtype,tabCode:that.setpNums.groupOtype==3?"CORP":"BOND",idxCode:'O_ISMARKET',idxValue:that.danShi.join(',')+',',idxCompartor:'in'});
}else if(that.danWai.length>0){
parmam.grpBody.push({idxCompartorType:1,isUserDefine:0,soType:that.setpNums.groupOtype,tabCode:that.setpNums.groupOtype==3?"CORP":"BOND",idxCode:'O_OUTCRT',idxValue:that.danWai.join(',')+',',idxCompartor:'in'});
}else if(that.danArea.length>0){
parmam.grpBody.push({idxCompartorType:1,isUserDefine:0,soType:that.setpNums.groupOtype,tabCode:that.setpNums.groupOtype==3?"CORP":"BOND",idxCode:'O_REGION',idxValue:that.danArea.join(',')+',',idxCompartor:'in'});
};
这段逻辑代码怎么改为表驱动编程?
- 写回答
- 好问题 0 提建议
- 追加酬金
- 关注问题
- 邀请回答
-
1条回答 默认 最新
悬赏问题
- ¥20 机器学习能否像多层线性模型一样处理嵌套数据
- ¥20 西门子S7-Graph,S7-300,梯形图
- ¥50 用易语言http 访问不了网页
- ¥50 safari浏览器fetch提交数据后数据丢失问题
- ¥15 matlab不知道怎么改,求解答!!
- ¥15 永磁直线电机的电流环pi调不出来
- ¥15 用stata实现聚类的代码
- ¥15 请问paddlehub能支持移动端开发吗?在Android studio上该如何部署?
- ¥20 docker里部署springboot项目,访问不到扬声器
- ¥15 netty整合springboot之后自动重连失效