1 private String VarianceID;
2
3 public String getVarianceID() {
4 return VarianceID;
5 }
6 public void setVarianceID(String varianceID) {
7 VarianceID = varianceID;
8 }
9 public String getQueryResultByVarianceID(){
10 /* 判断权限*/
11 if(user.getPermissions().contains("aicLeadquery")){
12 /*获取变量ID*/
13 Map myVariance =UMUtils.getVarianceMgrLocal().getVarianceByID(VarianceID);
14 /*执行查询*/
15 Map result = UMUtils.getQueryManagerMgrLocal().queryByVarianceID(myVariance);
16 return SUCCESS;
17 }else{
18
19 return ERROR;
20 }
21
22 }