Browse Source

处理创客-首页-新增商户暂存问题
暂存商户不显示在进件列表
商户详情经营场景类型字段取值问题调整

lcl 1 year ago
parent
commit
1f36f2be58

+ 6 - 0
Areas/Api/Controllers/Main/MerchantAddInfoController.cs

@@ -262,6 +262,12 @@ namespace MySystem.Areas.Api.Controllers.v1
                 // 如果提交完整资料,则发送到BsServer执行进件操作
                 RedisDbconn.Instance.AddList("MerchantConfirmQueue", "{\"MerchantId\":\"" + MerchantAddInfoId + "\"}");
             }
+            else
+            {                
+                Dictionary<string, object> Fiel = new Dictionary<string, object>();
+                Fiel.Add("Sort", 0);
+                MerchantInfoService.Edit(Fiel, MerchantAddInfoId, false);
+            }
             Obj.Add("Id", MerchantAddInfoId); //Id
             return new AppResultJson() { Status = "1", Info = "", Data = Obj };
         }

+ 1 - 0
Areas/Api/Controllers/Main/MerchantInfoController.cs

@@ -46,6 +46,7 @@ namespace MySystem.Areas.Api.Controllers.v1
             int PageNum = int.Parse(function.CheckInt(data["PageNum"].ToString()));
             StringBuilder condition = new StringBuilder();
             condition.Condition("UserId", UserId);
+            condition.Condition("Sort", 1);
             if (Status > 0)
             {
                 if (Status == 1) Status = 0;

+ 4 - 4
Util/Main/MerchantAddInfoUtil.cs

@@ -268,10 +268,10 @@ namespace MySystem
             Obj.Add("IndustryLicense1", query.IndustryLicense1); //行业许可证
             Obj.Add("Extra1", query.Extra1); //补充资料
             Obj.Add("CheckstandImg", query.CheckstandImg); //收银台
-            Obj.Add("SalesScenesType", query.SalesScenesType); //经营场景类型
-            BusinessScope businessScope = BusinessScopeService.Query(int.Parse(function.CheckInt(query.SalesScenesType)));
-            BusinessScopeType businessScopeType = BusinessScopeTypeService.Query(businessScope.KindId);
-            Obj.Add("SalesScenesTypeName", businessScopeType.KindName + "," + businessScope.Name);
+            Obj.Add("SalesScenesType", query.QualificationType); //经营场景类型
+            // BusinessScope businessScope = BusinessScopeService.Query(int.Parse(function.CheckInt(query.SalesScenesType)));
+            // BusinessScopeType businessScopeType = BusinessScopeTypeService.Query(businessScope.KindId);
+            Obj.Add("SalesScenesTypeName", query.SalesScenesType);
             Obj.Add("OpenAccountLicenses", query.OpenAccountLicenses); //开户许可证
             Obj.Add("ResserveMobile", query.ResserveMobile); //银行预留手机号
             Obj.Add("ChannelKind", query.ChannelKind); // 商户类型