Merge remote-tracking branch 'origin/master'
This commit is contained in:
@@ -336,6 +336,16 @@ func detectBedenGroupGo(bedenList []string, ana, alt string) string {
|
||||
ana = normalizeTextForMatchGo(ana)
|
||||
alt = normalizeTextForMatchGo(alt)
|
||||
|
||||
isYetiskin := strings.Contains(alt, "YETISKIN") || strings.Contains(alt, "YETISKIN/GARSON")
|
||||
isGomlekKlasikOrAtayaka := strings.Contains(ana, "GOMLEK KLASIK") ||
|
||||
strings.Contains(ana, "GOMLEK ATA YAKA") ||
|
||||
strings.Contains(ana, "GOMLEK ATAYAKA")
|
||||
// Özel kural:
|
||||
// Kategorisi YETISKIN ve ana grubu GOMLEK KLASIK/ATA YAKA olanlar "gom" grubunda raporlanır.
|
||||
if isYetiskin && isGomlekKlasikOrAtayaka {
|
||||
return catGom
|
||||
}
|
||||
|
||||
// Beden seti çocuk yaş formatındaysa metadata beklemeden "yas" aç.
|
||||
yasNums := map[string]bool{"2": true, "4": true, "6": true, "8": true, "10": true, "12": true, "14": true}
|
||||
if len(bedenList) > 0 {
|
||||
|
||||
Reference in New Issue
Block a user