From 601c6205d5520b75da0e87c5d5b71b0f40238687 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A4=A7=E7=B1=B3?= <470431449@qq.com> Date: Mon, 6 May 2024 11:38:37 +0800 Subject: [PATCH] =?UTF-8?q?1=E3=80=81=E8=BF=87=E6=B8=A1=E7=89=88=E9=9C=80?= =?UTF-8?q?=E6=B1=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../product/bomnew/api/user/EbomTempApi.java | 47 ------------------- 1 file changed, 47 deletions(-) delete mode 100644 nflg_project_dev/nflg-bom-new/src/main/java/com/nflg/product/bomnew/api/user/EbomTempApi.java diff --git a/nflg_project_dev/nflg-bom-new/src/main/java/com/nflg/product/bomnew/api/user/EbomTempApi.java b/nflg_project_dev/nflg-bom-new/src/main/java/com/nflg/product/bomnew/api/user/EbomTempApi.java deleted file mode 100644 index 44f6c9cb..00000000 --- a/nflg_project_dev/nflg-bom-new/src/main/java/com/nflg/product/bomnew/api/user/EbomTempApi.java +++ /dev/null @@ -1,47 +0,0 @@ -package com.nflg.product.bomnew.api.user; - -import cn.hutool.core.collection.CollUtil; -import com.mzt.logapi.starter.annotation.LogRecord; -import com.nflg.product.base.core.api.BaseApi; -import com.nflg.product.bomnew.pojo.dto.VirtualPackageParamDto; -import com.nflg.product.bomnew.service.*; -import com.nflg.product.bomnew.util.VUtils; -import io.swagger.annotations.Api; -import io.swagger.annotations.ApiOperation; -import nflg.product.common.vo.ResultVO; -import org.springframework.web.bind.annotation.PostMapping; -import org.springframework.web.bind.annotation.RequestBody; -import org.springframework.web.bind.annotation.RequestMapping; -import org.springframework.web.bind.annotation.RestController; - -import javax.annotation.Resource; -import java.io.IOException; - - -/** - * ebom-临时过渡接口 - * - */ -@Api(tags = "EBom临时过渡版接口") -@RestController -@RequestMapping("bom/new/ebom/temp") -public class EbomTempApi extends BaseApi { - - /** - * 服务对象 - */ - @Resource - private BomNewEbomParentService bomNewEbomParentService; - - @PostMapping("generateVirtualPackage") - @ApiOperation("生成虚拟包") - @LogRecord(success = "生成虚拟包:物料编码:{{#gvbom.materialNo}} 版本:{{#gvbom.currentVersion}},操作结果:{{#_ret}}", - bizNo = "{{#paramDto.bomRowId}}", type = "生成虚拟包") - public ResultVO generateVirtualPackage(@RequestBody VirtualPackageParamDto paramDto) throws IOException { - VUtils.isTure(CollUtil.isEmpty(paramDto.getVirtualPackageValue())).throwMessage("请选择要生成的虚拟包"); - - //检查-是否已 - bomNewEbomParentService.generateVirtualPackage(paramDto); - return ResultVO.success(true); - } -}