package Ġcom . tencent . bk . code cc . api query . def ect . dao ĊĊ Ċ import Ġcom . mongodb . Basic DB Object Ċ import Ġcom . tencent . bk . code cc . api query . def ect . model . Checker Detail Model Ċ import Ġorg . springframework . beans . factory . annotation . Autowired Ċ import Ġorg . springframework . data . mongodb . core . Mongo Template Ċ import Ġorg . springframework . data . mongodb . core . query . Basic Query Ċ import Ġorg . springframework . data . mongodb . core . query . Criteria Ċ import Ġorg . springframework . stereotype . Repository Ċ Ċ @ Repository Ċ class ĠCheck er Dao Ġ@ Autowired Ġconstructor ( ĊĠĠĠ Ġprivate Ġval Ġdefect Mongo Template : ĠMongo Template Ċ ){ ĊĊĠĠĠ Ġ/** ĊĠĠĠĠ Ġ* Ġæł¹æį® å·¥åħ· åĲį åĴĮ è§ĦåĪĻ key æī¹éĩı æŁ¥è¯¢ è§ĦåĪĻ è¯¦æĥħ ĊĠĠĠĠ Ġ*/ ĊĠĠĠ Ġfun Ġbatch Find By Tool Name And Checker Key ( tool Name List : ĠList < String >, Ġchecker Key List : ĠList < String >): ĠList < Checker Detail Model > Ġ{ ĊĠĠĠĠĠĠĠ Ġval Ġquery Ġ= ĠBasic Query ( Basic DB Object ()) ĊĠĠĠĠĠĠĠ Ġquery . add Criteria ( ĊĠĠĠĠĠĠĠĠĠĠĠ ĠCriteria . where (" tool _ name "). ` in `( tool Name List ) ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. and (" checker _ key "). ` in `( checker Key List ) ĊĠĠĠĠĠĠĠ Ġ) ĊĊĠĠĠĠĠĠĠ Ġreturn Ġdefect Mongo Template . find ( query , ĠCheck er Detail Model :: class . java , Ġ" t _ checker _ detail ") ĊĠĠĠ Ġ} Ċ }