瀏覽代碼

新需求

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

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

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