Browse Source

fix: 修复养护计划列表dikeCode失效问题

master_tdsql
hxh 1 year ago
parent
commit
fb387db5cc
  1. 2
      shuili-system/src/main/java/com/kms/yxgh/df/mapper/DfYhPlanMapper.java

2
shuili-system/src/main/java/com/kms/yxgh/df/mapper/DfYhPlanMapper.java

@ -25,7 +25,7 @@ public interface DfYhPlanMapper extends BaseMapper<DfYhPlan> {
"LEFT JOIN bs_sgc_df_gcda jb ON yh.dike_code = jb.dike_code and jb.expr_date is null ",
"WHERE jb.expr_date is null ",
"<if test='dto.dikeCode != null and dto.dikeCode != \"\"'>",
"AND jb.dike_code = #{dto.dikeCode} ",
"AND yh.dike_code = #{dto.dikeCode} ",
"</if>",
"<if test='dto.name != null'>",
"AND yh.name LIKE CONCAT('%',#{dto.name},'%') ",

Loading…
Cancel
Save