Commit 7845c213 by 朱继来

调整查询

parent 669e44f6
Showing with 1 additions and 1 deletions
......@@ -59,7 +59,7 @@ func main() {
// 修改DB
func updateData() (err error) {
// 获取未评分的公司
row, err := db.CrmDB.Queryx("select * from lie_invoice_company where total_credit_score = 0")
row, err := db.CrmDB.Queryx("select id,com_name from lie_invoice_company where total_credit_score = 0")
if err != nil {
logger.Info("获取未评分公司失败,DB错误原因: ", err.Error())
......
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