魏超 5 jaren geleden
bovenliggende
commit
ff4a44b84f

+ 1
- 0
src/main/java/com/huiju/estateagents/controller/TaPreselectionController.java Bestand weergeven

@@ -233,6 +233,7 @@ public class TaPreselectionController extends BaseController {
233 233
                 }
234 234
             }
235 235
 
236
+            taPreselection.setPreselectionId(id);
236 237
             if (iTaPreselectionService.updateById(taPreselection)) {
237 238
                 responseBean.addSuccess(taPreselection);
238 239
             } else {

+ 1
- 3
src/main/resources/mapper/TaPreselectionMapper.xml Bestand weergeven

@@ -45,10 +45,8 @@
45 45
         SELECT
46 46
             t.*,
47 47
             t2.qr_code,
48
-            t2.sales_batch_name
49 48
             t2.remark,
50
-            t2.sales_batch_name,
51
-            t2.building_id
49
+            t2.sales_batch_name
52 50
         FROM
53 51
             ta_preselection t,
54 52
             ta_sales_batch t2