Selaa lähdekoodia

修改12315市场表单类型

tangjiang 6 kuukautta sitten
vanhempi
commit
bfdd76b4d6

+ 2 - 2
src/DataSharing.Application/Mappers/MapperConfigs.cs

@@ -376,8 +376,8 @@ namespace DataSharing.Application.Mappers
 
             //12315个性化表单--投诉、举报
             config.ForType<OrderExtensionDto, FormMarketInfo>()
-            .Map(d => d.ApplBasQue, x => x.ComplainClassifyCode)
-            .Map(d => d.ApplBasQueName, x => x.ComplainClassify)
+            .Map(d => d.ApplBasQue, x => x.OrderTypeCode == "scjgjjb" ? x.ReportClassifyCode : x.ComplainClassifyCode)
+            .Map(d => d.ApplBasQueName, x => x.OrderTypeCode == "scjgjjb" ? x.ReportClassify : x.ComplainClassify)
             .Map(d => d.Zlh, x => x.PatentNo)
             .Map(d => d.Zlqr, x => x.Patentee)
             .Map(d => d.Fmmc, x => x.PatentName)

+ 4 - 0
src/DataSharing/Province/ProvinceService.cs

@@ -1778,9 +1778,13 @@ namespace DataSharing.Province
                     {
                         case "scjgjjb":
                             formMarket.Rqsttypy = "25";
+                            formMarket.ApplBasQue = orderExtension.ReportClassifyCode;
+                            formMarket.ApplBasQueName = orderExtension.ReportClassify;
                             break;
                         case "scjgjts":
                             formMarket.Rqsttypy = "20";
+                            formMarket.ApplBasQue = orderExtension.ComplainClassifyCode;
+                            formMarket.ApplBasQueName = orderExtension.ComplainClassify;
                             foreach (var item in orderExtension.ComplainTypes)
                                 formMarket.AppealContent += item.Value + ",";
                             formMarket.AppealContent = formMarket.AppealContent.TrimEnd(',');