| | |
| | | @RequiresPermissions("partPlan:list") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(ApsPartPlan apsPartPlan) { |
| | | startPage(); |
| | | // startPage(); |
| | | List<ApsPartPlan> list = apsPartPlanService.selectApsPartPlanList(apsPartPlan); |
| | | return getDataTable(list); |
| | | } |
| | |
| | | //插入临时表 |
| | | apsPartPlanTempService.insertApsPartPlanTemp(apsPartPlans.get(i)); |
| | | } |
| | | return AjaxResult.success(batchNum); |
| | | |
| | | return AjaxResult.success("导入成功",batchNum); |
| | | } else { |
| | | return AjaxResult.error("模板内容为空"); |
| | | } |
| | | } |
| | | /*** |
| | | * @Description: 确认上传 |
| | | * @Param: [apsPartPlan] |
| | | * @return: com.aps.common.core.web.domain.AjaxResult |
| | | * @Author: wwj |
| | | * @Date: 2025/4/9 |
| | | */ |
| | | @GetMapping("/confirmPart") |
| | | public AjaxResult confirmPart(ApsPartPlanTemp apsPartPlanTemp) { |
| | | return toAjax(apsPartPlanService.confirmPart(apsPartPlanTemp)); |
| | | } |
| | | |
| | | |
| | | |
| | | } |