diff --git a/repository/test.data/report.list.cron.go b/repository/test.data/report.list.cron.go index 1d19801..c3afba4 100644 --- a/repository/test.data/report.list.cron.go +++ b/repository/test.data/report.list.cron.go @@ -604,8 +604,8 @@ func CronBPList() { } else { s = tcSfcFilePBIs[i*200 : (i+1)*200] } - tx.Where("tc_sfc01 IN ? AND tc_sfc08 LIKE ?", s, "%MH%"). // AND tc_sfc10 = ?, "N" - Preload("TcSfdFile", func(db *gorm.DB) *gorm.DB { + tx.Where("tc_sfc01 IN ? AND (tc_sfc08 LIKE ? OR tc_sfc08 LIKE ?)", s, "%MH%", "%BP%"). // AND tc_sfc10 = ?, "N" + Preload("TcSfdFile", func(db *gorm.DB) *gorm.DB { return db.Preload("SfbFile").Preload("ImaFile").Preload("RvbFile", func(db *gorm.DB) *gorm.DB { return db.Preload("IddFile").Preload("RvaFile") })