Skip to content

Commit

Permalink
feat: add another case of special TJ
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielFillol committed Oct 20, 2023
1 parent 78ece0d commit 8484a7c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CNJ/decomposer.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ func DecomposeCNJ(cnj string) (DecomposedCNJ, error) {
}

var tj string
if sg.Number == 1 || sg.Number == 2 || sg.Number == 3 || sg.Number == 7 {
if sg.Number == 1 || sg.Number == 2 || sg.Number == 3 || sg.Number == 4 || sg.Number == 7 {
courtNumber, err := strconv.Atoi(court)
if err != nil {
return DecomposedCNJ{
Expand Down Expand Up @@ -137,7 +137,7 @@ func DecomposeCNJ(cnj string) (DecomposedCNJ, error) {
}

var tj string
if sg.Number == 1 || sg.Number == 2 || sg.Number == 3 || sg.Number == 7 {
if sg.Number == 1 || sg.Number == 2 || sg.Number == 3 || sg.Number == 4 || sg.Number == 7 {
courtNumber, err := strconv.Atoi(court)
if err != nil {
return DecomposedCNJ{
Expand Down

0 comments on commit 8484a7c

Please sign in to comment.