|
|
@ -63,6 +63,9 @@ public interface BsSgcSzGcdaMapper extends BaseMapper<BsSgcSzGcda> { |
|
|
|
"left join bs_sgc_sz_gcgl pj on pj.waga_code = df.waga_code and df.expr_date is null and pj.expr_date is null ", |
|
|
|
"where 1=1 ", |
|
|
|
"and df.expr_date is null ", |
|
|
|
"<if test='wagaCode != null and wagaCode != \"\"'>", |
|
|
|
"and waga_code = #{wagaCode} ", |
|
|
|
"</if>", |
|
|
|
"<if test='sp.wagaName != null and sp.wagaName != \"\"'>", |
|
|
|
"and waga_name like concat('%', #{sp.wagaName}, '%') ", |
|
|
|
"</if>", |
|
|
@ -89,6 +92,9 @@ public interface BsSgcSzGcdaMapper extends BaseMapper<BsSgcSzGcda> { |
|
|
|
"LEFT JOIN bs_sgc_sz_gcgl pj ON pj.waga_code = df.waga_code and pj.expr_date is null " + |
|
|
|
"WHERE 1=1 " + |
|
|
|
"and df.expr_date is null " + |
|
|
|
"<if test='szProject.wagaCode != null and szProject.wagaCode != \"\"'>" + |
|
|
|
"AND df.waga_code = #{szProject.wagaCode} " + |
|
|
|
"</if>" + |
|
|
|
"<if test='szProject.wagaName != null and szProject.wagaName != \"\"'>" + |
|
|
|
"AND df.waga_name like concat('%', #{szProject.wagaName}, '%') " + |
|
|
|
"</if>" + |
|
|
|