Commit be13a4f8 by liuyang

修复首页log显示

parent 8c80b4d1
...@@ -67,7 +67,11 @@ public class ServiceHGPZ009 extends ServiceBase { ...@@ -67,7 +67,11 @@ public class ServiceHGPZ009 extends ServiceBase {
Map queryRow = EiInfoUtils.getFirstRow(inInfo); Map queryRow = EiInfoUtils.getFirstRow(inInfo);
// 排除虚拟企业 // 排除虚拟企业
queryRow.put("exValidFlag", ValidFlagEnum.VIRTUALLY.getCode()); queryRow.put("exValidFlag", ValidFlagEnum.VIRTUALLY.getCode());
if (queryRow.containsKey("loginName") && !"admin".equals(queryRow.get("loginName").toString())){
queryRow.put("accountCode", UserSessionUtils.getAccountCode()); queryRow.put("accountCode", UserSessionUtils.getAccountCode());
}else {
queryRow.remove("loginName");
}
inInfo = super.query(inInfo, HGPZ009.QUERY, new HGPZ009()); inInfo = super.query(inInfo, HGPZ009.QUERY, new HGPZ009());
//String projectEnv = ProjectInfo.getProjectEnv(); //String projectEnv = ProjectInfo.getProjectEnv();
//inInfo.setCell(EiConstant.resultBlock, ACConstants.ROW_CODE_0, "projectEnv", projectEnv); //inInfo.setCell(EiConstant.resultBlock, ACConstants.ROW_CODE_0, "projectEnv", projectEnv);
......
...@@ -2100,7 +2100,7 @@ $(function () { ...@@ -2100,7 +2100,7 @@ $(function () {
try { try {
if (loginName !== "admin"){ if (loginName !== "admin"){
var info = new EiInfo() var info = new EiInfo()
//info.set("inqu_status-0-accountCode", loginName) info.set("inqu_status-0-loginName", loginName)
EiCommunicator.send("HGPZ009", "query", info, { EiCommunicator.send("HGPZ009", "query", info, {
onSuccess: function (ei) {//返回结果集 onSuccess: function (ei) {//返回结果集
if (ei.blocks.result !== undefined){ if (ei.blocks.result !== undefined){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment