Commit 509ff18e by Joneq

修改法人变更为五年

parent 9d000120
......@@ -243,7 +243,7 @@ func (d *dao)GetBankGrade(ctx context.Context,sumScore float64)(res map[string]s
)
//获取当前条的数据
if rows, err = d.db_bank.Query(ctx, "select "+ SqlField + " from lie_grade where status = 1 and min_score <= ? and max_score > ?",sumScore,sumScore); err != nil {
if rows, err = d.db.Query(ctx, "select "+ SqlField + " from lie_grade where status = 1 and min_score <= ? and max_score > ?",sumScore,sumScore); err != nil {
err = errors.WithStack(err)
return
}
......
......@@ -126,7 +126,7 @@ func HttpGet(companyName string)(returnDatas map[string]string) {
var changeInfoNum int64
changeInfoNum = 0
for _,v := range totalNum.Result.Items{
if strings.Contains(v["changeItem"],"法人变更") && (DateTurnInt64(v["changeTime"]) + (365 * 86400 * 5)) < time.Now().Unix() {
if strings.Contains(v["changeItem"],"法定负责人") && (DateTurnInt64(v["changeTime"]) + (365 * 86400 * 5)) < time.Now().Unix() {
changeInfoNum ++
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment