Просмотр исходного кода

修复单元查询没有判断状态

吴学文 лет назад: 6
Родитель
Сommit
fcf03f0053

+ 3 - 0
java110-db/src/main/resources/mapper/community/UnitServiceDaoImplMapper.xml

@@ -120,6 +120,9 @@
         <if test="statusCd !=null and statusCd != ''">
             and t.status_cd= #{statusCd}
         </if>
+        <if test="statusCd ==null or statusCd == ''">
+            and t.status_cd= '0'
+        </if>
         <if test="remark !=null and remark != ''">
             and t.remark= #{remark}
         </if>