java110 преди 5 години
родител
ревизия
c164dcbdde
променени са 1 файла, в които са добавени 4 реда и са изтрити 4 реда
  1. 4 4
      java110-db/src/main/resources/mapper/community/RepairReturnVisitServiceDaoImplMapper.xml

+ 4 - 4
java110-db/src/main/resources/mapper/community/RepairReturnVisitServiceDaoImplMapper.xml

@@ -45,10 +45,10 @@
             and rrp.repair_id= #{repairId}
         </if>
         <if test="statusCd !=null and statusCd != ''">
-            and t.status_cd= #{statusCd}
+            and rrp.status_cd= #{statusCd}
         </if>
         <if test="communityId !=null and communityId != ''">
-            and t.community_id= #{communityId}
+            and rrp.community_id= #{communityId}
         </if>
         <if test="visitPersonName !=null and visitPersonName != ''">
             and t.visit_person_name= #{visitPersonName}
@@ -124,10 +124,10 @@
             and t.repair_id= #{repairId}
         </if>
         <if test="statusCd !=null and statusCd != ''">
-            and t.status_cd= #{statusCd}
+            and rrp.status_cd= #{statusCd}
         </if>
         <if test="communityId !=null and communityId != ''">
-            and t.community_id= #{communityId}
+            and rrp.community_id= #{communityId}
         </if>
         <if test="visitPersonName !=null and visitPersonName != ''">
             and t.visit_person_name= #{visitPersonName}