顾绍勇 5 vuotta sitten
vanhempi
commit
d9ea9bf534
1 muutettua tiedostoa jossa 4 lisäystä ja 7 poistoa
  1. 4
    7
      src/main/resources/mapper/TaPreselectionRecordMapper.xml

+ 4
- 7
src/main/resources/mapper/TaPreselectionRecordMapper.xml Näytä tiedosto

@@ -10,12 +10,7 @@
10 10
         FROM
11 11
             (
12 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 14
             t2.term_name,
20 15
             t2.block_name,
21 16
             t2.unit_name,
@@ -154,7 +149,9 @@
154 149
 
155 150
     <update id="batchDeletePreselectRecord">
156 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 155
         WHERE
159 156
             t.org_id = #{orgId}
160 157
             AND t.preselection_record_id IN