|
@@ -25,6 +25,7 @@ import cn.ezhizao.project.business.workOrder.service.IBizWorkOrderService;
|
|
|
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
|
|
|
import lombok.Getter;
|
|
|
import org.springframework.security.access.prepost.PreAuthorize;
|
|
|
+import org.springframework.transaction.annotation.Transactional;
|
|
|
import org.springframework.web.bind.annotation.GetMapping;
|
|
|
import org.springframework.web.bind.annotation.PostMapping;
|
|
|
import org.springframework.web.bind.annotation.PutMapping;
|
|
@@ -75,13 +76,14 @@ public class BizRecycleBinController extends BaseController {
|
|
|
|
|
|
//客户关联的数据表
|
|
|
@Getter
|
|
|
- private String[] tabs = {"biz_archive_borrow", "biz_archive_input", "biz_archive_dictionary", "biz_archive_input_detail"
|
|
|
- , "biz_archive_input_detail_process"
|
|
|
+ private String[] tabs = {"biz_archive_borrow", "biz_archive_input", "biz_archive_dictionary", "biz_archive_input_detail","biz_deduction"
|
|
|
+ ,"biz_payment","biz_payment_detail"
|
|
|
+ , "biz_archive_input_detail_process","biz_work_order", "biz_work_order_detail","biz_work_order_record","biz_collection","biz_collection_detail"
|
|
|
, "biz_archive_output", "biz_archive_receive_ticket", "biz_company_contactor", "biz_company_follow_detail", "biz_company_original_name",
|
|
|
"biz_entrust_detail", "biz_entrust_permission", "biz_entrust", "biz_financial_account_adjustment", "biz_financial_individual_income_tax",
|
|
|
"biz_financial_individual_income_tax_detail", "biz_financial_keep_account", "biz_financial_keep_account_detail", "biz_financial_receive_ticket",
|
|
|
- "biz_financial_receive_ticket_detail", "biz_financial_receive_ticket_feedback", "biz_financial_receive_ticket_feedback",
|
|
|
- "biz_financial_report_tax_detail", "biz_financial_salary_detail_employee", "biz_financial_urgent", "biz_housing_fund_confirm",
|
|
|
+ "biz_financial_receive_ticket_detail", "biz_financial_receive_ticket_feedback", "biz_financial_receive_ticket_feedback","biz_financial_report_tax",
|
|
|
+ "biz_financial_report_tax_detail", "biz_financial_salary_detail_employee", "biz_financial_urgent", "biz_housing_fund_confirm","biz_financial_salary",
|
|
|
"biz_housing_fund_confirm_detail", "biz_housing_fund_confirm_detail_employee", "biz_housing_fund_declare", "biz_housing_fund_declare_detail",
|
|
|
"biz_social_security_confirm", "biz_social_security_confirm_detail", "biz_social_security_confirm_detail_employee",
|
|
|
"biz_social_security_declare", "biz_social_security_declare_detail"};
|
|
@@ -139,6 +141,7 @@ public class BizRecycleBinController extends BaseController {
|
|
|
@PreAuthorize("@ss.hasPermi('business:company:remove')")
|
|
|
@Log(title = "回收站", businessType = BusinessType.INSERT)
|
|
|
@PostMapping("/{ids}")
|
|
|
+ @Transactional(rollbackFor = Exception.class)
|
|
|
public AjaxResult add(@PathVariable List<Long> ids) throws NoSuchFieldException, IllegalAccessException {
|
|
|
BizCompany com = new BizCompany();
|
|
|
List<BizRecycleBin> recycleBins = new ArrayList<>();
|