魏超 před 5 roky
rodič
revize
a32bb8907d

+ 7
- 0
src/main/java/com/huiju/estateagents/controller/TaSalesBatchController.java Zobrazit soubor

@@ -272,6 +272,13 @@ public class TaSalesBatchController extends BaseController {
272 272
                 iExtendContentService.updateBatchById(list);
273 273
             }
274 274
 
275
+            QueryWrapper<TaPreselection> taPreselectionQueryWrapper = new QueryWrapper<>();
276
+            TaPreselection taPreselection = new TaPreselection();
277
+            taPreselection.setStatus(taSalesBatch.getStatus());
278
+            taPreselectionQueryWrapper.eq("org_id", getOrgId(request));
279
+            taPreselectionQueryWrapper.eq("sales_batch_id", taSalesBatch.getSalesBatchId());
280
+            taPreselectionService.update(taPreselection, taPreselectionQueryWrapper);
281
+
275 282
             QueryWrapper<TaRaise> taRaiseQueryWrapper = new QueryWrapper<>();
276 283
             TaRaise taRaise = new TaRaise();
277 284
             taRaise.setStatus(taSalesBatch.getStatus());