数据分析平台 BP记录抓取规则调整

This commit is contained in:
jh_peng 2025-03-24 10:57:45 +08:00
parent c93b602a0a
commit c366465744

View File

@ -604,7 +604,7 @@ 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"
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")