增加渠道商租金计划报表权限

This commit is contained in:
zhangjun 2019-06-20 20:10:08 +08:00
parent 4bfdcb9a62
commit 42720ae3b5

View File

@ -28,12 +28,14 @@
doTemp.appendJboWhere(" and lci.project_manage='"+userid+"'");
//µ¼³öÓÐȨÏÞ
template = "cff950db664c4faeb1f4656629176004";
}else{
template = "cff950db664c4faeb1f4656629176004";
}
String belongorg = Sqlca.getString("select belongorg from user_info where userid='"+userid+"'");
String distributor_no = Sqlca.getString("select distributor_no from distributor_info where orgid='"+belongorg+"'");
if(roleList.contains("800R00000051")){
doTemp.appendJboWhere(" and lci.distributor_id='"+distributor_no+"'");
doTemp.appendJboWhere(" and O.distributor_no='"+distributor_no+"'");
template = "cff950db664c4faeb1f4656629176004";
}