Commit be13a4f8 by liuyang

修复首页log显示

parent 8c80b4d1
......@@ -67,7 +67,11 @@ public class ServiceHGPZ009 extends ServiceBase {
Map queryRow = EiInfoUtils.getFirstRow(inInfo);
// 排除虚拟企业
queryRow.put("exValidFlag", ValidFlagEnum.VIRTUALLY.getCode());
if (queryRow.containsKey("loginName") && !"admin".equals(queryRow.get("loginName").toString())){
queryRow.put("accountCode", UserSessionUtils.getAccountCode());
}else {
queryRow.remove("loginName");
}
inInfo = super.query(inInfo, HGPZ009.QUERY, new HGPZ009());
//String projectEnv = ProjectInfo.getProjectEnv();
//inInfo.setCell(EiConstant.resultBlock, ACConstants.ROW_CODE_0, "projectEnv", projectEnv);
......
......@@ -2100,7 +2100,7 @@ $(function () {
try {
if (loginName !== "admin"){
var info = new EiInfo()
//info.set("inqu_status-0-accountCode", loginName)
info.set("inqu_status-0-loginName", loginName)
EiCommunicator.send("HGPZ009", "query", info, {
onSuccess: function (ei) {//返回结果集
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