liuxiaolong
2020-08-18 5f33454e09c67ef45a6d81566180c585d132608b
service/carService.go
@@ -257,12 +257,6 @@
      r := []rune(targetPlateNo)
      nctPlateNo := string(r[1:])
      var compArr []string
      for ip,_ := range plateNoM {
         compArr = append(compArr, ip)
      }
      fmt.Println("targetPlateNO:", targetPlateNo, "compArr:", compArr)
      if _,exist := plateNoM[nctPlateNo];exist {
         return true
      } else {
@@ -271,7 +265,7 @@
            newK := strings.ReplaceAll(k, "D", "*")
            newK = strings.ReplaceAll(newK, "0", "*")
            tt := strings.ReplaceAll(targetPlateNo,"D", "*")
            tt := strings.ReplaceAll(nctPlateNo,"D", "*")
            tt = strings.ReplaceAll(tt,"0", "*")
            if newK == tt {
               match = true