Browse Source

优化td 错误问题

wuxw 6 years ago
parent
commit
612e2b151f

+ 3 - 3
java110-db/src/main/resources/mapper/store/ComplaintServiceDaoImplMapper.xml

@@ -103,9 +103,9 @@ operate,complaint_id,type_cd,context,complaint_name,tel,state,store_id,b_id,room
         and t.state = td.status_cd
         and td.table_name = 'complaint'
         and td.table_columns = 'state'
-        and t.type_cd = td.status_cd
-        and td.table_name = 'complaint'
-        and td.table_columns = 'type_cd'
+        and t.type_cd = td2.status_cd
+        and td2.table_name = 'complaint'
+        and td2.table_columns = 'type_cd'
         <if test="complaintId !=null and complaintId != ''">
             and t.complaint_id= #{complaintId}
         </if>