18 lines
264 B
Go
18 lines
264 B
Go
package rule
|
|
|
|
import (
|
|
"log"
|
|
"strings"
|
|
)
|
|
|
|
func (r *RuleFactory) RunST(in string) {
|
|
log.Println("RunST:", r.Model.Code, "Args:", in)
|
|
if strings.Contains(in, "ST") {
|
|
r.Model.StScore = -1
|
|
r.Model.AddDesc("有退市风险")
|
|
return
|
|
}
|
|
|
|
r.Model.StScore = 1
|
|
}
|