Bladeren bron

优化代码

Your Name 2 jaren geleden
bovenliggende
commit
8f63503638

+ 6 - 0
java110-db/src/main/resources/mapper/report/ReportCommunityServiceDaoImplMapper.xml

@@ -344,6 +344,9 @@
         <if test="configId != null and configId != ''">
             and t.config_id = #{configId}
         </if>
+        <if test="deleteFlag != null and deleteFlag != ''">
+            and t.operate = 'DEL'
+        </if>
         and t.community_id = #{communityId}
     </select>
 
@@ -376,6 +379,9 @@
         <if test="configId != null and configId != ''">
         and t.config_id = #{configId}
         </if>
+        <if test="deleteFlag != null and deleteFlag != ''">
+            and t.operate = 'DEL'
+        </if>
         and t.community_id = #{communityId}
         order by t.create_time desc,t.operate
         <if test="page != -1 and page != null ">