Browse Source

fix: 修复水闸水雨情工程统计sql

master_tdsql
hxh 1 year ago
parent
commit
df203d399b
  1. 4
      shuili-system/src/main/java/com/kms/yg/df/mapper/BsSgcDfJbxxMapper.java
  2. 4
      shuili-system/src/main/java/com/kms/yg/sz/mapper/BsSgcSzGcdaMapper.java

4
shuili-system/src/main/java/com/kms/yg/df/mapper/BsSgcDfJbxxMapper.java

@ -144,10 +144,10 @@ public interface BsSgcDfJbxxMapper extends BaseMapper<BsSgcDfJbxx> {
"SELECT dike_code , dike_name ",
"FROM bs_sgc_df_gcda where expr_date is null ",
"<if test='dfProject.riverLocation != null and dfProject.riverLocation != \"\"'>",
"AND df.river_location = #{dfProject.riverLocation} ",
"AND river_location = #{dfProject.riverLocation} ",
"</if>",
"<if test='dfProject.adcd != null and dfProject.adcd != \"\"'>",
"AND df.adcd = #{dfProject.adcd} ",
"AND adcd = #{dfProject.adcd} ",
"</if>",
"order by dike_name ",
"</script>"

4
shuili-system/src/main/java/com/kms/yg/sz/mapper/BsSgcSzGcdaMapper.java

@ -108,10 +108,10 @@ public interface BsSgcSzGcdaMapper extends BaseMapper<BsSgcSzGcda> {
"SELECT waga_code , waga_name " +
"FROM bs_sgc_sz_jbxx where expr_date is null " +
"<if test='szProject.riverLocation != null and szProject.riverLocation != \"\"'>" +
"AND df.river_location = #{szProject.riverLocation} " +
"AND river_location = #{szProject.riverLocation} " +
"</if>" +
"<if test='szProject.adcd != null and szProject.adcd != \"\"'>" +
"AND df.adcd = #{szProject.adcd} " +
"AND adcd = #{szProject.adcd} " +
"</if>" +
"</script>")
@Results({

Loading…
Cancel
Save