浏览代码

登录(密码等错误时)异常修改

chenxy 1 年之前
父节点
当前提交
af964d0dc8
共有 2 个文件被更改,包括 5 次插入4 次删除
  1. 4 4
      DK.Service/DKIBOSSPRDLogic/DKIBOSSPRDLogic.cs
  2. 1 0
      DK.Service/ReportModuleLogic/ReportModuleLogic.cs

+ 4 - 4
DK.Service/DKIBOSSPRDLogic/DKIBOSSPRDLogic.cs

@@ -109,9 +109,9 @@ namespace Dongke.IBOSS.PRD.Service.DKIBOSSPRDLogic
                     resultEntity.CurrentUserEntity.FunctionData = returnDataSet.Tables[4];      //系统功能菜单
                     #endregion
                 }
-                else if (paras[8] != null)
+                else if (paras[9] != null)
                 {
-                    loginStatus = Convert.ToInt32(paras[8].Value.ToString());
+                    loginStatus = Convert.ToInt32(paras[9].Value.ToString());
                 }
                 else
                 {
@@ -248,9 +248,9 @@ namespace Dongke.IBOSS.PRD.Service.DKIBOSSPRDLogic
                     resultEntity.CurrentUserEntity.FunctionData = returnDataSet.Tables[4];      //系统功能菜单
                     #endregion
                 }
-                else if (paras[8] != null)
+                else if (paras[9] != null)
                 {
-                    loginStatus = Convert.ToInt32(paras[8].Value.ToString());
+                    loginStatus = Convert.ToInt32(paras[9].Value.ToString());
                 }
                 else
                 {

+ 1 - 0
DK.Service/ReportModuleLogic/ReportModuleLogic.cs

@@ -2241,6 +2241,7 @@ namespace Dongke.IBOSS.PRD.Service.ReportModuleLogic
 					"  left join TP_MST_Goods Goods  on TP_PM_InProduction.GoodsID=Goods.GoodsID " +
 					"  left join tp_mst_goodstype gt on gt.goodstypeid = Goods.goodstypeid " +
 					"  Where TP_PM_InProduction.ValueFlag = 1 " +
+					"  and TP_PM_InProduction.GoodsLevelTypeID <> 20 " +
 					"  and TP_PM_InProduction.AccountID=:AccountID ";
 
 			return selSql;