顾绍勇 5 anni fa
parent
commit
d9ea9bf534

+ 4
- 7
src/main/resources/mapper/TaPreselectionRecordMapper.xml Vedi File

10
         FROM
10
         FROM
11
             (
11
             (
12
         SELECT
12
         SELECT
13
-            t.preselection_record_id,
14
-            t.person_id,
15
-            t.org_id,
16
-            t.house_id,
17
-            t.`status`,
18
-            t.create_date,
13
+            t.*,
19
             t2.term_name,
14
             t2.term_name,
20
             t2.block_name,
15
             t2.block_name,
21
             t2.unit_name,
16
             t2.unit_name,
154
 
149
 
155
     <update id="batchDeletePreselectRecord">
150
     <update id="batchDeletePreselectRecord">
156
         UPDATE ta_preselection_record t
151
         UPDATE ta_preselection_record t
157
-          SET t.`status` = - 1,t.update_date = now()
152
+          SET t.`status` = - 1,
153
+                t.update_date = now(),
154
+                t.update_user = #{userId}
158
         WHERE
155
         WHERE
159
             t.org_id = #{orgId}
156
             t.org_id = #{orgId}
160
             AND t.preselection_record_id IN
157
             AND t.preselection_record_id IN