|
@ -34,7 +34,6 @@ public interface DfPlanMapper extends BaseMapper<DfPlan> { |
|
|
"(select count(1) from bs_sgc_df_xsjhxq su where su.plan_id = p.id) as item_count " + |
|
|
"(select count(1) from bs_sgc_df_xsjhxq su where su.plan_id = p.id) as item_count " + |
|
|
"FROM bs_sgc_df_xsjh p " + |
|
|
"FROM bs_sgc_df_xsjh p " + |
|
|
"Left JOIN att_dike_base df ON p.dike_code = df.dike_code and df.expr_date is null " + |
|
|
"Left JOIN att_dike_base df ON p.dike_code = df.dike_code and df.expr_date is null " + |
|
|
"Left JOIN bs_sgc_df_fzr fzr ON p.dike_code = fzr.dike_code and fzr.type = 0 " + |
|
|
|
|
|
"Left JOIN bs_sgc_df_xsjhzx op ON op.plan_id = p.id " + |
|
|
"Left JOIN bs_sgc_df_xsjhzx op ON op.plan_id = p.id " + |
|
|
"WHERE 1=1 " + |
|
|
"WHERE 1=1 " + |
|
|
"<if test='dto != null and dto.dikeCode != null and dto.dikeCode != \"\"'>" + |
|
|
"<if test='dto != null and dto.dikeCode != null and dto.dikeCode != \"\"'>" + |
|
|