tangjiang 3 сар өмнө
parent
commit
6c30f4cb4b

+ 8 - 1
src/DataSharing.Host/Controllers/Police110/PoliceDCJTController.cs

@@ -179,7 +179,14 @@ namespace DataSharing.Host.Controllers.Police110
                             AcceptType = "咨询",
                             AcceptTypeCode = "10"
                         };
-
+                       
+                        if (!string.IsNullOrEmpty(orderDto.AreaCode))
+                        {
+                            if (orderDto.AreaCode == "510399")
+                                orderDto.AreaCode = "519800";
+                            if(orderDto.AreaCode.Length>6)
+                                orderDto.AreaCode=orderDto.AreaCode.Substring(0,6);
+                        }
                         orderDto.FromGender = chainAlarm.FromGender switch
                         {
                             "0" => EGender.Female,