|
|
@@ -6136,9 +6136,9 @@ namespace Dongke.IBOSS.PRD.WCF.Services
|
|
|
}
|
|
|
|
|
|
DataSet returnValue = ServiceInvoker.Invoke<DataSet>(this,
|
|
|
- //() => SystemModuleLogic.GetAllLogoInfo(sUserInfo));
|
|
|
- () => SystemModuleLogic.GetLogoInfo(sUserInfo));
|
|
|
- if (returnValue != null && returnValue.Tables[0].Rows.Count > 0)
|
|
|
+ //() => SystemModuleLogic.GetAllLogoInfo(sUserInfo));
|
|
|
+ () => SystemModuleLogic.GetLogoInfo(sUserInfo));
|
|
|
+ if (returnValue != null && returnValue.Tables[0].Rows.Count > 0)
|
|
|
{
|
|
|
//DataView dv = returnValue.Tables[0].DefaultView;
|
|
|
//dv.RowFilter = "ValueFlag=1";
|
|
|
@@ -6159,9 +6159,59 @@ namespace Dongke.IBOSS.PRD.WCF.Services
|
|
|
actionResult.Message = Constant.PDA_RESULT_EXCEPTION;
|
|
|
}
|
|
|
return actionResult;
|
|
|
- }
|
|
|
+ }
|
|
|
+ /// <summary>
|
|
|
+ /// 变更产品商标用
|
|
|
+ /// </summary>
|
|
|
+ /// <param name="accountCode"></param>
|
|
|
+ /// <param name="userCode"></param>
|
|
|
+ /// <param name="userPassword"></param>
|
|
|
+ /// <param name="sessionKey"></param>
|
|
|
+ /// <param name="goodsid"></param>
|
|
|
+ /// <returns></returns>
|
|
|
+ public ActionResult GetLogoInfoForChange(string accountCode, string userCode, string userPassword, string sessionKey
|
|
|
+ , int goodsid)
|
|
|
+ {
|
|
|
+ ActionResult actionResult = new ActionResult();
|
|
|
+ try
|
|
|
+ {
|
|
|
+ // 验证请求头信息
|
|
|
+ actionResult = this.DoPDACheck(accountCode, userCode, userPassword, sessionKey);
|
|
|
+
|
|
|
+ // 验证失败
|
|
|
+ if (actionResult.Status != (int)Constant.PDAResult.Success)
|
|
|
+ {
|
|
|
+ return actionResult;
|
|
|
+ }
|
|
|
+
|
|
|
+ DataSet returnValue = ServiceInvoker.Invoke<DataSet>(this,
|
|
|
+ //() => SystemModuleLogic.GetAllLogoInfo(sUserInfo));
|
|
|
+ //() => SystemModuleLogic.GetLogoInfo(sUserInfo));
|
|
|
+ () => SystemModuleLogic.GetLogoInfoForChange(sUserInfo, goodsid));
|
|
|
+ if (returnValue != null && returnValue.Tables[0].Rows.Count > 0)
|
|
|
+ {
|
|
|
+ //DataView dv = returnValue.Tables[0].DefaultView;
|
|
|
+ //dv.RowFilter = "ValueFlag=1";
|
|
|
+ //actionResult.Result = JsonHelper.ToJson(dv.ToTable());
|
|
|
+ actionResult.Result = JsonHelper.ToJson(returnValue.Tables[0]);
|
|
|
+ actionResult.Status = (int)Constant.PDAResult.Success;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ catch (Exception ex)
|
|
|
+ {
|
|
|
+ //LogFileOperation.Error(DataManager.LogFileName, ex.Message);
|
|
|
+ OutputLog.TraceLog(LogPriority.Error,
|
|
|
+ this.ToString(),
|
|
|
+ System.Reflection.MethodBase.GetCurrentMethod().Name,
|
|
|
+ ex.ToString(),
|
|
|
+ LocalPath.LogExePath);
|
|
|
+ actionResult.Status = (int)Constant.PDAResult.Exception;
|
|
|
+ actionResult.Message = Constant.PDA_RESULT_EXCEPTION;
|
|
|
+ }
|
|
|
+ return actionResult;
|
|
|
+ }
|
|
|
|
|
|
- public ActionResult GetLogoID(string accountCode, string userCode, string userPassword, string sessionKey, int procedureID)
|
|
|
+ public ActionResult GetLogoID(string accountCode, string userCode, string userPassword, string sessionKey, int procedureID)
|
|
|
{
|
|
|
ActionResult actionResult = new ActionResult();
|
|
|
try
|