作者 tangxvhui

修复查询错误

@@ -419,7 +419,7 @@ func (d *StaffAssessDao) CountUserSelfStaffAssess(param SearchConditin3) (int, e @@ -419,7 +419,7 @@ func (d *StaffAssessDao) CountUserSelfStaffAssess(param SearchConditin3) (int, e
419 sqlStr += ` and staff_assess.status=? ` 419 sqlStr += ` and staff_assess.status=? `
420 } 420 }
421 421
422 - sqlStr2 := withSql + withSql 422 + sqlStr2 := withSql + sqlStr
423 tx := d.transactionContext.PgTx 423 tx := d.transactionContext.PgTx
424 var result int 424 var result int
425 _, err := tx.Query(pg.Scan(&result), sqlStr2, condition...) 425 _, err := tx.Query(pg.Scan(&result), sqlStr2, condition...)