瀏覽代碼

新需求

weichaochao 5 年之前
父節點
當前提交
eec92fd314
共有 1 個檔案被更改,包括 3 行新增2 行删除
  1. 3
    2
      src/main/resources/mapper/TaPreselectionRecordMapper.xml

+ 3
- 2
src/main/resources/mapper/TaPreselectionRecordMapper.xml 查看文件

@@ -58,6 +58,7 @@
58 58
         FROM
59 59
           (
60 60
         SELECT
61
+            t.preselection_record_id,
61 62
             t.house_id,
62 63
             a.block_name,
63 64
             a.unit_name,
@@ -130,9 +131,9 @@
130 131
           SET t.`status` = - 1,t.update_date = now()
131 132
         WHERE
132 133
             t.org_id = #{orgId}
133
-            AND t.house_id IN
134
+            AND t.preselection_record_id IN
134 135
         <foreach collection="preselectionRecordList" item="record" open="(" close=")" separator=",">
135
-            #{record.houseId}
136
+            #{record.preselectionRecordId}
136 137
         </foreach>
137 138
     </update>
138 139