|
|
@ -40,6 +40,7 @@ public interface SzYhRecordMapper extends BaseMapper<SzYhRecord> { |
|
|
|
"FROM bs_sgc_sz_yhjl yhjl " + |
|
|
|
"LEFT JOIN bs_sgc_sz_jbxx jbxx ON yhjl.waga_code = jbxx.waga_code " + // 使用LEFT JOIN连接基本信息表
|
|
|
|
"WHERE 1=1 " + |
|
|
|
"and jbxx.expr_date is null " + |
|
|
|
"<if test='searchDto.startCreatedTime != null'>" + |
|
|
|
"AND yhjl.create_time >= #{searchDto.startCreatedTime} " + |
|
|
|
"</if>" + |
|
|
|