| | |
| | | |
| | | package com.chinaztt.mes.technology.controller; |
| | | |
| | | import cn.hutool.core.lang.Console; |
| | | import com.alibaba.excel.EasyExcel; |
| | | import com.alibaba.excel.ExcelReader; |
| | | import com.alibaba.excel.read.builder.ExcelReaderBuilder; |
| | |
| | | import com.chinaztt.mes.technology.dto.RoutingDTO; |
| | | import com.chinaztt.mes.technology.dto.RoutingOperationDTO; |
| | | import com.chinaztt.mes.technology.entity.RoutingOperationTemplate; |
| | | import com.chinaztt.mes.technology.excel.RoutingData; |
| | | import com.chinaztt.mes.technology.excel.RoutingExcelData; |
| | | import com.chinaztt.mes.technology.excel.RoutingFormUploadListener; |
| | | import com.chinaztt.mes.technology.excel.RoutingUploadListener; |
| | | import com.chinaztt.mes.technology.service.RoutingService; |
| | | import com.chinaztt.ztt.common.core.util.R; |
| | | import com.chinaztt.ztt.common.log.annotation.SysLog; |
| | | import com.chinaztt.ztt.common.security.annotation.Inner; |
| | | import com.chinaztt.ztt.common.security.service.ZttUser; |
| | | import com.chinaztt.ztt.common.security.util.SecurityUtils; |
| | | import io.swagger.annotations.Api; |
| | |
| | | } |
| | | |
| | | /** |
| | | * 根据工艺工序id和工序模板id关联添加工序参数注塑 |
| | | * |
| | | * @param routingDTO |
| | | * @return |
| | | */ |
| | | @ApiOperation(value = "注塑根据工艺工序id和工序模板id关联添加工序参数", notes = "根据工艺工序id和工序模板id关联添加工序参数") |
| | | @PostMapping("/addRoutingTemplateParamZs") |
| | | public R addOperationTemplateParamZS(@RequestBody RoutingDTO routingDTO) { |
| | | Console.log(routingDTO); |
| | | return R.ok(); |
| | | } |
| | | |
| | | |
| | | /** |
| | | * 根据复制工序参数的id删除工序参数 |
| | | * |
| | | * @param id |