|
|
@@ -24,6 +24,7 @@ import java.io.File;
|
|
|
import java.math.BigDecimal;
|
|
|
import java.time.LocalDateTime;
|
|
|
import java.util.ArrayList;
|
|
|
+import java.util.Date;
|
|
|
import java.util.List;
|
|
|
import java.util.Map;
|
|
|
import java.util.stream.Collectors;
|
|
|
@@ -50,6 +51,8 @@ public class InvAccountOperateServiceImpl extends ServiceImpl<InvAccountOperateM
|
|
|
|
|
|
@Autowired
|
|
|
private InvAccountService invAccountService;
|
|
|
+ @Autowired
|
|
|
+ private InvAccountExcelService invAccountExcelService;
|
|
|
|
|
|
@Autowired
|
|
|
private InvAccountProfitService invAccountProfitService;
|
|
|
@@ -237,6 +240,15 @@ public class InvAccountOperateServiceImpl extends ServiceImpl<InvAccountOperateM
|
|
|
invAccountIncoiceService.updateById(byId);
|
|
|
}
|
|
|
|
|
|
+ if (invAccountOperate.getExcelAccountOperateId() != null){
|
|
|
+ InvAccountExcel invAccountExcel = new InvAccountExcel();
|
|
|
+ invAccountExcel.setExcelAccountOperateId(invAccountOperate.getExcelAccountOperateId());
|
|
|
+ invAccountExcel.setUpdateBy(baseController.getUserName());
|
|
|
+ invAccountExcel.setUpdateTime(new Date());
|
|
|
+ invAccountExcel.setTransferFlag("1");
|
|
|
+ invAccountExcelService.updateById(invAccountExcel);
|
|
|
+ }
|
|
|
+
|
|
|
invAccountOpService.removeBatchByIds(list);
|
|
|
invAccountCardService.updateBatchById(invAccountCards);
|
|
|
InvAccountOperateService invAccountOperateService = new InvAccountOperateServiceImpl();
|