From 4964f8cdcc516b61d5c355844207d8ce461864d0 Mon Sep 17 00:00:00 2001 From: liuxiaoxu <1793812695@qq.com> Date: Fri, 18 Oct 2024 13:59:51 +0800 Subject: [PATCH] =?UTF-8?q?[delete]=20=E5=88=A0=E9=99=A4=E6=97=A7=E7=89=88?= =?UTF-8?q?=E6=97=A0=E7=94=A8=E7=9A=84=E9=87=87=E8=B4=AD=E5=85=A5=E5=BA=93?= =?UTF-8?q?=E9=80=9A=E7=9F=A5=E6=9F=A5=E8=AF=A2=E5=AF=B9=E8=B1=A1warehousi?= =?UTF-8?q?ng=5Fpurchase=5Fnotice=E5=92=8C=E7=B3=BB=E7=BB=9F=E4=B8=AD?= =?UTF-8?q?=E5=AF=B9=E5=BA=94=E7=9A=84=E5=89=8D=E7=AB=AF=E6=89=80=E6=9C=89?= =?UTF-8?q?=E4=BB=A3=E7=A0=81=E5=92=8C=E5=90=8E=E7=AB=AF=E6=89=80=E6=9C=89?= =?UTF-8?q?=E4=BB=A3=E7=A0=81=20=E5=92=8C=E5=AF=B9=E5=BA=94=E7=9A=84?= =?UTF-8?q?=E7=B3=BB=E7=BB=9F=E8=8F=9C=E5=8D=95=E6=95=B0=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../WarehousingPurchaseNoticeController.java | 196 ---- .../domain/WarehousingPurchaseNotice.java | 293 ------ .../WarehousingPurchaseNoticeMapper.java | 61 -- .../IWarehousingPurchaseNoticeService.java | 61 -- .../WarehousingPurchaseNoticeServiceImpl.java | 94 -- .../stock/WarehousingPurchaseNoticeMapper.xml | 145 --- .../stock/warehousingPucharseNotice/add.html | 909 ------------------ .../warehousingPucharseNotice/add_bak.html | 138 --- .../warehousingPucharseNotice/adddetail.html | 141 --- .../warehousingPucharseNotice/detail.html | 155 --- .../stock/warehousingPucharseNotice/edit.html | 160 --- .../warehousingPucharseNotice.html | 232 ----- 12 files changed, 2585 deletions(-) delete mode 100644 ruoyi-admin/src/main/java/com/ruoyi/stock/controller/WarehousingPurchaseNoticeController.java delete mode 100644 ruoyi-admin/src/main/java/com/ruoyi/stock/domain/WarehousingPurchaseNotice.java delete mode 100644 ruoyi-admin/src/main/java/com/ruoyi/stock/mapper/WarehousingPurchaseNoticeMapper.java delete mode 100644 ruoyi-admin/src/main/java/com/ruoyi/stock/service/IWarehousingPurchaseNoticeService.java delete mode 100644 ruoyi-admin/src/main/java/com/ruoyi/stock/service/impl/WarehousingPurchaseNoticeServiceImpl.java delete mode 100644 ruoyi-admin/src/main/resources/mapper/stock/WarehousingPurchaseNoticeMapper.xml delete mode 100644 ruoyi-admin/src/main/resources/templates/stock/warehousingPucharseNotice/add.html delete mode 100644 ruoyi-admin/src/main/resources/templates/stock/warehousingPucharseNotice/add_bak.html delete mode 100644 ruoyi-admin/src/main/resources/templates/stock/warehousingPucharseNotice/adddetail.html delete mode 100644 ruoyi-admin/src/main/resources/templates/stock/warehousingPucharseNotice/detail.html delete mode 100644 ruoyi-admin/src/main/resources/templates/stock/warehousingPucharseNotice/edit.html delete mode 100644 ruoyi-admin/src/main/resources/templates/stock/warehousingPucharseNotice/warehousingPucharseNotice.html diff --git a/ruoyi-admin/src/main/java/com/ruoyi/stock/controller/WarehousingPurchaseNoticeController.java b/ruoyi-admin/src/main/java/com/ruoyi/stock/controller/WarehousingPurchaseNoticeController.java deleted file mode 100644 index 4cf0524a..00000000 --- a/ruoyi-admin/src/main/java/com/ruoyi/stock/controller/WarehousingPurchaseNoticeController.java +++ /dev/null @@ -1,196 +0,0 @@ -package com.ruoyi.stock.controller; - -import com.ruoyi.buyorderHead.domain.BuyorderHead; -import com.ruoyi.buyorderHead.service.IBuyorderHeadService; -import com.ruoyi.common.annotation.Log; -import com.ruoyi.common.core.controller.BaseController; -import com.ruoyi.common.core.domain.AjaxResult; -import com.ruoyi.common.core.page.TableDataInfo; -import com.ruoyi.common.enums.BusinessType; -import com.ruoyi.common.utils.poi.ExcelUtil; -import com.ruoyi.po.domain.BuyorderList; -import com.ruoyi.po.service.IBuyorderListService; -import com.ruoyi.stock.domain.StockInfo; -import com.ruoyi.stock.domain.WarehousingPurchaseNotice; -import com.ruoyi.stock.service.IStockInfoService; -import com.ruoyi.stock.service.IWarehousingPurchaseNoticeService; -import org.apache.shiro.authz.annotation.RequiresPermissions; -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.stereotype.Controller; -import org.springframework.ui.ModelMap; -import org.springframework.web.bind.annotation.*; - -import java.text.SimpleDateFormat; -import java.util.Date; -import java.util.List; - -/** - * 采购入库通知查询Controller - * - * @author ruoyi - * @date 2021-11-09 - */ -@Controller -@RequestMapping("/stock/warehousingPucharseNotice") -public class WarehousingPurchaseNoticeController extends BaseController { - private String prefix = "stock/warehousingPucharseNotice"; - @Autowired - private IStockInfoService stockInfoService; - @Autowired - private IWarehousingPurchaseNoticeService warehousingPurchaseNoticeService; - - @Autowired - private IBuyorderHeadService buyorderHeadService; - - @Autowired - private IBuyorderListService buyorderListService; - - - @RequiresPermissions("stock:warehousingPucharseNotice:view") - @GetMapping() - public String warehousingPucharseNotice() { - return prefix + "/warehousingPucharseNotice"; - } - - /** - * 查询采购入库通知查询列表 - */ - @RequiresPermissions("stock:warehousingPucharseNotice:list") - @PostMapping("/list") - @ResponseBody - public TableDataInfo list(WarehousingPurchaseNotice warehousingPurchaseNotice) { - startPage(); - List list = warehousingPurchaseNoticeService.selectWarehousingPurchaseNoticeList(warehousingPurchaseNotice); - return getDataTable(list); - } - - /** - * 导出采购入库通知查询列表 - */ - @RequiresPermissions("stock:warehousingPucharseNotice:export") - @Log(title = "采购入库通知查询", businessType = BusinessType.EXPORT) - @PostMapping("/export") - @ResponseBody - public AjaxResult export(WarehousingPurchaseNotice warehousingPurchaseNotice) { - List list = warehousingPurchaseNoticeService.selectWarehousingPurchaseNoticeList(warehousingPurchaseNotice); - ExcelUtil util = new ExcelUtil(WarehousingPurchaseNotice.class); - return util.exportExcel(list, "采购入库通知查询数据"); - } - - /** - * 新增采购入库通知查询 - */ - @GetMapping("/add") - public String add() { - return prefix + "/add"; - } - - /** - * 新增保存采购入库通知查询 - */ - @RequiresPermissions("stock:warehousingPucharseNotice:add") - @Log(title = "采购入库通知查询", businessType = BusinessType.INSERT) - @PostMapping("/add") - @ResponseBody - public AjaxResult addSave(WarehousingPurchaseNotice warehousingPurchaseNotice) { - return toAjax(warehousingPurchaseNoticeService.insertWarehousingPurchaseNotice(warehousingPurchaseNotice)); - } - - /** - * 修改采购入库通知查询 - */ - @GetMapping("/edit/{warehousingpurchasenoticeNo}") - public String edit(@PathVariable("warehousingpurchasenoticeNo") String warehousingpurchasenoticeNo, ModelMap mmap) { - WarehousingPurchaseNotice warehousingPurchaseNotice = warehousingPurchaseNoticeService.selectWarehousingPurchaseNoticeById(warehousingpurchasenoticeNo); - mmap.put("warehousingPurchaseNotice", warehousingPurchaseNotice); - return prefix + "/edit"; - } - - /** - * 展示采购入库通知详细信息 - */ - @GetMapping("/detail/{warehousingpurchasenoticeNo}") - public String detail(@PathVariable("warehousingpurchasenoticeNo") String warehousingpurchasenoticeNo, ModelMap mmap) { - System.out.println(warehousingpurchasenoticeNo); - WarehousingPurchaseNotice warehousingPurchaseNotice = warehousingPurchaseNoticeService.selectWarehousingPurchaseNoticeById(warehousingpurchasenoticeNo); - System.out.println(warehousingPurchaseNotice); - mmap.put("warehousingPurchaseNotice", warehousingPurchaseNotice); - return prefix + "/detail"; - } - - - /** - * 获取仓库数据 - */ - @GetMapping("/getWarehouseName") - @ResponseBody - public List getWarehouseName() { - List list = stockInfoService.selectStockInfoList(new StockInfo()); - return list; - - } - - - /** - * 通过采购订单添加入库通知 - */ - @GetMapping("/addWarehousingPuchaseNoticBypoNo/{poNo}") - @ResponseBody - public String addWarehousingPuchaseNoticBypoNo(@PathVariable("poNo") String poNo, ModelMap mmap, String warehousingType, String warehouseName, String warehouseNo, String warehousingAmt) { -// System.out.println(poNo + "---------------------------"); - BuyorderHead buyorderHead = buyorderHeadService.selectBuyorderHeadById(poNo); - BuyorderList buyorderList = buyorderListService.selectBuyorderListById(poNo); - - SimpleDateFormat df = new SimpleDateFormat("yyyyMMddHHmmss");//设置日期格式 - SimpleDateFormat df2 = new SimpleDateFormat("yyyy-MM-dd");//设置日期格式 - - String WPNNO = "WPNNO" + df.format(new Date());// new Date()为获取当前系统时间 - String WD = df2.format(new Date());// new Date()为获取当前系统时间 - -// System.out.println(WPNNO); - WarehousingPurchaseNotice warehousingPurchaseNotice = new WarehousingPurchaseNotice(); - warehousingPurchaseNotice.setWarehousingpurchasenoticeNo(WPNNO); - warehousingPurchaseNotice.setCustomerId(buyorderHead.getpCode()); - warehousingPurchaseNotice.setCustomerName(buyorderHead.getpName()); - warehousingPurchaseNotice.setWarehousingType(warehousingType); //todo 前端done - warehousingPurchaseNotice.setWarehousingnoticeDate(new Date()); //系统生成 done - warehousingPurchaseNotice.setPurchaseorderNo(buyorderHead.getPoId()); - warehousingPurchaseNotice.setDomesticOrExport(buyorderHead.getPoClass()); //内外销 done - warehousingPurchaseNotice.setWarehouseNo(warehouseNo); //todo 前端自动获取done - warehousingPurchaseNotice.setWarehouseName(warehouseName); //todo 前端选择done - warehousingPurchaseNotice.setItemTimes("01"); //todo 需要后端代码 - warehousingPurchaseNotice.setItemNo(buyorderList.getWlCode()); //物料代码 - warehousingPurchaseNotice.setItemName(buyorderList.getItemname()); - warehousingPurchaseNotice.setSpecificationModel(buyorderList.getItemstandard()); - warehousingPurchaseNotice.setMachineType(buyorderList.getItemstandard()); - warehousingPurchaseNotice.setUnit(buyorderList.getStockDw()); - warehousingPurchaseNotice.setWarehousingAmt(warehousingAmt);//todo 此次需要入库/检验的数量,前端手动输入 - warehousingPurchaseNotice.setPurchaseorderAmt(String.valueOf(buyorderList.getAmt())); - warehousingPurchaseNoticeService.insertWarehousingPurchaseNotice(warehousingPurchaseNotice); - return warehousingPurchaseNoticeService.toString(); - } - - - /** - * 修改保存采购入库通知查询 - */ - @RequiresPermissions("stock:warehousingPucharseNotice:edit") - @Log(title = "采购入库通知查询", businessType = BusinessType.UPDATE) - @PostMapping("/edit") - @ResponseBody - public AjaxResult editSave(WarehousingPurchaseNotice warehousingPurchaseNotice) { - return toAjax(warehousingPurchaseNoticeService.updateWarehousingPurchaseNotice(warehousingPurchaseNotice)); - } - - - /** - * 删除采购入库通知查询 - */ - @RequiresPermissions("stock:warehousingPucharseNotice:remove") - @Log(title = "采购入库通知查询", businessType = BusinessType.DELETE) - @PostMapping("/remove") - @ResponseBody - public AjaxResult remove(String ids) { - return toAjax(warehousingPurchaseNoticeService.deleteWarehousingPurchaseNoticeByIds(ids)); - } -} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/stock/domain/WarehousingPurchaseNotice.java b/ruoyi-admin/src/main/java/com/ruoyi/stock/domain/WarehousingPurchaseNotice.java deleted file mode 100644 index 69149bbc..00000000 --- a/ruoyi-admin/src/main/java/com/ruoyi/stock/domain/WarehousingPurchaseNotice.java +++ /dev/null @@ -1,293 +0,0 @@ -package com.ruoyi.stock.domain; - -import java.util.Date; -import com.fasterxml.jackson.annotation.JsonFormat; -import org.apache.commons.lang3.builder.ToStringBuilder; -import org.apache.commons.lang3.builder.ToStringStyle; -import com.ruoyi.common.annotation.Excel; -import com.ruoyi.common.core.domain.BaseEntity; - -/** - * 采购入库通知查询对象 warehousing_purchase_notice - * - * @author ruoyi - * @date 2021-11-12 - */ -public class WarehousingPurchaseNotice extends BaseEntity -{ - private static final long serialVersionUID = 1L; - - /** 入库通知单号 */ - @Excel(name = "入库通知单号") - private String warehousingpurchasenoticeNo; - - /** 客户ID */ - @Excel(name = "客户ID") - private String customerId; - - /** 客户名称 */ - @Excel(name = "客户名称") - private String customerName; - - /** 入库类型 */ - @Excel(name = "入库类型") - private String warehousingType; - - /** 入库通知日期 */ - @JsonFormat(pattern = "yyyy-MM-dd") - @Excel(name = "入库通知日期", width = 30, dateFormat = "yyyy-MM-dd") - private Date warehousingnoticeDate; - - /** 采购单号 */ - @Excel(name = "采购单号") - private String purchaseorderNo; - - /** 内/外销 */ - @Excel(name = "内/外销") - private String domesticOrExport; - - /** 仓库号 */ - @Excel(name = "仓库号") - private String warehouseNo; - - /** 仓库名称 */ - @Excel(name = "仓库名称") - private String warehouseName; - - /** 项次 */ - @Excel(name = "项次") - private String itemTimes; - - /** 物料代码 */ - @Excel(name = "物料代码") - private String itemNo; - - /** 采购物料名称 */ - @Excel(name = "采购物料名称") - private String itemName; - - /** 规格型号 */ - @Excel(name = "规格型号") - private String specificationModel; - - /** 机种 */ - @Excel(name = "机种") - private String machineType; - - /** 单位 */ - @Excel(name = "单位") - private String unit; - - /** 此次通知入库数量 */ - @Excel(name = "此次通知入库数量") - private String warehousingAmt; - - /** 订单订购总数量 */ - @Excel(name = "订单订购总数量") - private String purchaseorderAmt; - - /** */ - @Excel(name = "") - private String spell1; - - /** */ - @Excel(name = "") - private String spell2; - - public void setWarehousingpurchasenoticeNo(String warehousingpurchasenoticeNo) - { - this.warehousingpurchasenoticeNo = warehousingpurchasenoticeNo; - } - - public String getWarehousingpurchasenoticeNo() - { - return warehousingpurchasenoticeNo; - } - public void setCustomerId(String customerId) - { - this.customerId = customerId; - } - - public String getCustomerId() - { - return customerId; - } - public void setCustomerName(String customerName) - { - this.customerName = customerName; - } - - public String getCustomerName() - { - return customerName; - } - public void setWarehousingType(String warehousingType) - { - this.warehousingType = warehousingType; - } - - public String getWarehousingType() - { - return warehousingType; - } - public void setWarehousingnoticeDate(Date warehousingnoticeDate) - { - this.warehousingnoticeDate = warehousingnoticeDate; - } - - public Date getWarehousingnoticeDate() - { - return warehousingnoticeDate; - } - public void setPurchaseorderNo(String purchaseorderNo) - { - this.purchaseorderNo = purchaseorderNo; - } - - public String getPurchaseorderNo() - { - return purchaseorderNo; - } - public void setDomesticOrExport(String domesticOrExport) - { - this.domesticOrExport = domesticOrExport; - } - - public String getDomesticOrExport() - { - return domesticOrExport; - } - public void setWarehouseNo(String warehouseNo) - { - this.warehouseNo = warehouseNo; - } - - public String getWarehouseNo() - { - return warehouseNo; - } - public void setWarehouseName(String warehouseName) - { - this.warehouseName = warehouseName; - } - - public String getWarehouseName() - { - return warehouseName; - } - public void setItemTimes(String itemTimes) - { - this.itemTimes = itemTimes; - } - - public String getItemTimes() - { - return itemTimes; - } - public void setItemNo(String itemNo) - { - this.itemNo = itemNo; - } - - public String getItemNo() - { - return itemNo; - } - public void setItemName(String itemName) - { - this.itemName = itemName; - } - - public String getItemName() - { - return itemName; - } - public void setSpecificationModel(String specificationModel) - { - this.specificationModel = specificationModel; - } - - public String getSpecificationModel() - { - return specificationModel; - } - public void setMachineType(String machineType) - { - this.machineType = machineType; - } - - public String getMachineType() - { - return machineType; - } - public void setUnit(String unit) - { - this.unit = unit; - } - - public String getUnit() - { - return unit; - } - public void setWarehousingAmt(String warehousingAmt) - { - this.warehousingAmt = warehousingAmt; - } - - public String getWarehousingAmt() - { - return warehousingAmt; - } - public void setPurchaseorderAmt(String purchaseorderAmt) - { - this.purchaseorderAmt = purchaseorderAmt; - } - - public String getPurchaseorderAmt() - { - return purchaseorderAmt; - } - public void setSpell1(String spell1) - { - this.spell1 = spell1; - } - - public String getSpell1() - { - return spell1; - } - public void setSpell2(String spell2) - { - this.spell2 = spell2; - } - - public String getSpell2() - { - return spell2; - } - - @Override - public String toString() { - return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) - .append("warehousingpurchasenoticeNo", getWarehousingpurchasenoticeNo()) - .append("customerId", getCustomerId()) - .append("customerName", getCustomerName()) - .append("warehousingType", getWarehousingType()) - .append("warehousingnoticeDate", getWarehousingnoticeDate()) - .append("purchaseorderNo", getPurchaseorderNo()) - .append("domesticOrExport", getDomesticOrExport()) - .append("warehouseNo", getWarehouseNo()) - .append("warehouseName", getWarehouseName()) - .append("itemTimes", getItemTimes()) - .append("itemNo", getItemNo()) - .append("itemName", getItemName()) - .append("specificationModel", getSpecificationModel()) - .append("machineType", getMachineType()) - .append("unit", getUnit()) - .append("warehousingAmt", getWarehousingAmt()) - .append("purchaseorderAmt", getPurchaseorderAmt()) - .append("spell1", getSpell1()) - .append("spell2", getSpell2()) - .toString(); - } -} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/stock/mapper/WarehousingPurchaseNoticeMapper.java b/ruoyi-admin/src/main/java/com/ruoyi/stock/mapper/WarehousingPurchaseNoticeMapper.java deleted file mode 100644 index 526f8248..00000000 --- a/ruoyi-admin/src/main/java/com/ruoyi/stock/mapper/WarehousingPurchaseNoticeMapper.java +++ /dev/null @@ -1,61 +0,0 @@ -package com.ruoyi.stock.mapper; - -import java.util.List; -import com.ruoyi.stock.domain.WarehousingPurchaseNotice; - -/** - * 采购入库通知查询Mapper接口 - * - * @author ruoyi - * @date 2021-11-12 - */ -public interface WarehousingPurchaseNoticeMapper -{ - /** - * 查询采购入库通知查询 - * - * @param warehousingpurchasenoticeNo 采购入库通知查询ID - * @return 采购入库通知查询 - */ - public WarehousingPurchaseNotice selectWarehousingPurchaseNoticeById(String warehousingpurchasenoticeNo); - - /** - * 查询采购入库通知查询列表 - * - * @param warehousingPurchaseNotice 采购入库通知查询 - * @return 采购入库通知查询集合 - */ - public List selectWarehousingPurchaseNoticeList(WarehousingPurchaseNotice warehousingPurchaseNotice); - - /** - * 新增采购入库通知查询 - * - * @param warehousingPurchaseNotice 采购入库通知查询 - * @return 结果 - */ - public int insertWarehousingPurchaseNotice(WarehousingPurchaseNotice warehousingPurchaseNotice); - - /** - * 修改采购入库通知查询 - * - * @param warehousingPurchaseNotice 采购入库通知查询 - * @return 结果 - */ - public int updateWarehousingPurchaseNotice(WarehousingPurchaseNotice warehousingPurchaseNotice); - - /** - * 删除采购入库通知查询 - * - * @param warehousingpurchasenoticeNo 采购入库通知查询ID - * @return 结果 - */ - public int deleteWarehousingPurchaseNoticeById(String warehousingpurchasenoticeNo); - - /** - * 批量删除采购入库通知查询 - * - * @param warehousingpurchasenoticeNos 需要删除的数据ID - * @return 结果 - */ - public int deleteWarehousingPurchaseNoticeByIds(String[] warehousingpurchasenoticeNos); -} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/stock/service/IWarehousingPurchaseNoticeService.java b/ruoyi-admin/src/main/java/com/ruoyi/stock/service/IWarehousingPurchaseNoticeService.java deleted file mode 100644 index 48c6cf40..00000000 --- a/ruoyi-admin/src/main/java/com/ruoyi/stock/service/IWarehousingPurchaseNoticeService.java +++ /dev/null @@ -1,61 +0,0 @@ -package com.ruoyi.stock.service; - -import java.util.List; -import com.ruoyi.stock.domain.WarehousingPurchaseNotice; - -/** - * 采购入库通知查询Service接口 - * - * @author ruoyi - * @date 2021-11-09 - */ -public interface IWarehousingPurchaseNoticeService -{ - /** - * 查询采购入库通知查询 - * - * @param warehousingpurchasenoticeNo 采购入库通知查询ID - * @return 采购入库通知查询 - */ - public WarehousingPurchaseNotice selectWarehousingPurchaseNoticeById(String warehousingpurchasenoticeNo); - - /** - * 查询采购入库通知查询列表 - * - * @param warehousingPurchaseNotice 采购入库通知查询 - * @return 采购入库通知查询集合 - */ - public List selectWarehousingPurchaseNoticeList(WarehousingPurchaseNotice warehousingPurchaseNotice); - - /** - * 新增采购入库通知查询 - * - * @param warehousingPurchaseNotice 采购入库通知查询 - * @return 结果 - */ - public int insertWarehousingPurchaseNotice(WarehousingPurchaseNotice warehousingPurchaseNotice); - - /** - * 修改采购入库通知查询 - * - * @param warehousingPurchaseNotice 采购入库通知查询 - * @return 结果 - */ - public int updateWarehousingPurchaseNotice(WarehousingPurchaseNotice warehousingPurchaseNotice); - - /** - * 批量删除采购入库通知查询 - * - * @param ids 需要删除的数据ID - * @return 结果 - */ - public int deleteWarehousingPurchaseNoticeByIds(String ids); - - /** - * 删除采购入库通知查询信息 - * - * @param warehousingpurchasenoticeNo 采购入库通知查询ID - * @return 结果 - */ - public int deleteWarehousingPurchaseNoticeById(String warehousingpurchasenoticeNo); -} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/stock/service/impl/WarehousingPurchaseNoticeServiceImpl.java b/ruoyi-admin/src/main/java/com/ruoyi/stock/service/impl/WarehousingPurchaseNoticeServiceImpl.java deleted file mode 100644 index 93b83242..00000000 --- a/ruoyi-admin/src/main/java/com/ruoyi/stock/service/impl/WarehousingPurchaseNoticeServiceImpl.java +++ /dev/null @@ -1,94 +0,0 @@ -package com.ruoyi.stock.service.impl; - -import java.util.List; -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.stereotype.Service; -import com.ruoyi.stock.mapper.WarehousingPurchaseNoticeMapper; -import com.ruoyi.stock.domain.WarehousingPurchaseNotice; -import com.ruoyi.stock.service.IWarehousingPurchaseNoticeService; -import com.ruoyi.common.core.text.Convert; - -/** - * 采购入库通知查询Service业务层处理 - * - * @author ruoyi - * @date 2021-11-09 - */ -@Service -public class WarehousingPurchaseNoticeServiceImpl implements IWarehousingPurchaseNoticeService -{ - @Autowired - private WarehousingPurchaseNoticeMapper warehousingPurchaseNoticeMapper; - - /** - * 查询采购入库通知查询 - * - * @param warehousingpurchasenoticeNo 采购入库通知查询ID - * @return 采购入库通知查询 - */ - @Override - public WarehousingPurchaseNotice selectWarehousingPurchaseNoticeById(String warehousingpurchasenoticeNo) - { - return warehousingPurchaseNoticeMapper.selectWarehousingPurchaseNoticeById(warehousingpurchasenoticeNo); - } - - /** - * 查询采购入库通知查询列表 - * - * @param warehousingPurchaseNotice 采购入库通知查询 - * @return 采购入库通知查询 - */ - @Override - public List selectWarehousingPurchaseNoticeList(WarehousingPurchaseNotice warehousingPurchaseNotice) - { - return warehousingPurchaseNoticeMapper.selectWarehousingPurchaseNoticeList(warehousingPurchaseNotice); - } - - /** - * 新增采购入库通知查询 - * - * @param warehousingPurchaseNotice 采购入库通知查询 - * @return 结果 - */ - @Override - public int insertWarehousingPurchaseNotice(WarehousingPurchaseNotice warehousingPurchaseNotice) - { - return warehousingPurchaseNoticeMapper.insertWarehousingPurchaseNotice(warehousingPurchaseNotice); - } - - /** - * 修改采购入库通知查询 - * - * @param warehousingPurchaseNotice 采购入库通知查询 - * @return 结果 - */ - @Override - public int updateWarehousingPurchaseNotice(WarehousingPurchaseNotice warehousingPurchaseNotice) - { - return warehousingPurchaseNoticeMapper.updateWarehousingPurchaseNotice(warehousingPurchaseNotice); - } - - /** - * 删除采购入库通知查询对象 - * - * @param ids 需要删除的数据ID - * @return 结果 - */ - @Override - public int deleteWarehousingPurchaseNoticeByIds(String ids) - { - return warehousingPurchaseNoticeMapper.deleteWarehousingPurchaseNoticeByIds(Convert.toStrArray(ids)); - } - - /** - * 删除采购入库通知查询信息 - * - * @param warehousingpurchasenoticeNo 采购入库通知查询ID - * @return 结果 - */ - @Override - public int deleteWarehousingPurchaseNoticeById(String warehousingpurchasenoticeNo) - { - return warehousingPurchaseNoticeMapper.deleteWarehousingPurchaseNoticeById(warehousingpurchasenoticeNo); - } -} diff --git a/ruoyi-admin/src/main/resources/mapper/stock/WarehousingPurchaseNoticeMapper.xml b/ruoyi-admin/src/main/resources/mapper/stock/WarehousingPurchaseNoticeMapper.xml deleted file mode 100644 index 7b83b219..00000000 --- a/ruoyi-admin/src/main/resources/mapper/stock/WarehousingPurchaseNoticeMapper.xml +++ /dev/null @@ -1,145 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - select warehousingPurchaseNotice_NO, customer_ID, customer_name, warehousing_type, warehousingNotice_date, purchaseOrder_NO, domesticOrExport, warehouse_NO, warehouse_name, itemTimes, item_NO, item_name, specificationModel, machine_type, unit, warehousing_amt, purchaseOrder_amt, spell_1, spell_2 from warehousing_purchase_notice - - - - - - - - insert into warehousing_purchase_notice - - warehousingPurchaseNotice_NO, - customer_ID, - customer_name, - warehousing_type, - warehousingNotice_date, - purchaseOrder_NO, - domesticOrExport, - warehouse_NO, - warehouse_name, - itemTimes, - item_NO, - item_name, - specificationModel, - machine_type, - unit, - warehousing_amt, - purchaseOrder_amt, - spell_1, - spell_2, - - - #{warehousingpurchasenoticeNo}, - #{customerId}, - #{customerName}, - #{warehousingType}, - #{warehousingnoticeDate}, - #{purchaseorderNo}, - #{domesticOrExport}, - #{warehouseNo}, - #{warehouseName}, - #{itemTimes}, - #{itemNo}, - #{itemName}, - #{specificationModel}, - #{machineType}, - #{unit}, - #{warehousingAmt}, - #{purchaseorderAmt}, - #{spell1}, - #{spell2}, - - - - - update warehousing_purchase_notice - - customer_ID = #{customerId}, - customer_name = #{customerName}, - warehousing_type = #{warehousingType}, - warehousingNotice_date = #{warehousingnoticeDate}, - purchaseOrder_NO = #{purchaseorderNo}, - domesticOrExport = #{domesticOrExport}, - warehouse_NO = #{warehouseNo}, - warehouse_name = #{warehouseName}, - itemTimes = #{itemTimes}, - item_NO = #{itemNo}, - item_name = #{itemName}, - specificationModel = #{specificationModel}, - machine_type = #{machineType}, - unit = #{unit}, - warehousing_amt = #{warehousingAmt}, - purchaseOrder_amt = #{purchaseorderAmt}, - spell_1 = #{spell1}, - spell_2 = #{spell2}, - - where warehousingPurchaseNotice_NO = #{warehousingpurchasenoticeNo} - - - - delete from warehousing_purchase_notice where warehousingPurchaseNotice_NO = #{warehousingpurchasenoticeNo} - - - - delete from warehousing_purchase_notice where warehousingPurchaseNotice_NO in - - #{warehousingpurchasenoticeNo} - - - - \ No newline at end of file diff --git a/ruoyi-admin/src/main/resources/templates/stock/warehousingPucharseNotice/add.html b/ruoyi-admin/src/main/resources/templates/stock/warehousingPucharseNotice/add.html deleted file mode 100644 index a8fb1032..00000000 --- a/ruoyi-admin/src/main/resources/templates/stock/warehousingPucharseNotice/add.html +++ /dev/null @@ -1,909 +0,0 @@ - - - - - - - -
-
-
-
-
-
    -
  • - - -
  • -
  • - - - - - -
  • -
  • -  搜索 -  重置 -
  • -
-
-
-
- -
- - 添加 - - - - - - - - - - - - - - - 详情信息 - -
-
-
-
-
-
- - - - - - \ No newline at end of file diff --git a/ruoyi-admin/src/main/resources/templates/stock/warehousingPucharseNotice/add_bak.html b/ruoyi-admin/src/main/resources/templates/stock/warehousingPucharseNotice/add_bak.html deleted file mode 100644 index 58fb3853..00000000 --- a/ruoyi-admin/src/main/resources/templates/stock/warehousingPucharseNotice/add_bak.html +++ /dev/null @@ -1,138 +0,0 @@ - - - - - - - -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- - 代码生成请选择字典属性 -
-
-
- -
-
- - -
-
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- - 代码生成请选择字典属性 -
-
-
- -
- -
-
-
- -
- -
-
-
-
- - - - - \ No newline at end of file diff --git a/ruoyi-admin/src/main/resources/templates/stock/warehousingPucharseNotice/adddetail.html b/ruoyi-admin/src/main/resources/templates/stock/warehousingPucharseNotice/adddetail.html deleted file mode 100644 index 7572f1f3..00000000 --- a/ruoyi-admin/src/main/resources/templates/stock/warehousingPucharseNotice/adddetail.html +++ /dev/null @@ -1,141 +0,0 @@ - - - - - - - -
-
- -
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- - 代码生成请选择字典属性 -
-
-
- -
-
- - -
-
-
-
- -
- -
-
- -
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
\ - 确定 - - 关闭 -
-
-
- - - - - \ No newline at end of file diff --git a/ruoyi-admin/src/main/resources/templates/stock/warehousingPucharseNotice/detail.html b/ruoyi-admin/src/main/resources/templates/stock/warehousingPucharseNotice/detail.html deleted file mode 100644 index b3ccd72d..00000000 --- a/ruoyi-admin/src/main/resources/templates/stock/warehousingPucharseNotice/detail.html +++ /dev/null @@ -1,155 +0,0 @@ - - - - - - - -
-
- -
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- - -
-
-
- -
- - -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- - -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
-
- - - - - \ No newline at end of file diff --git a/ruoyi-admin/src/main/resources/templates/stock/warehousingPucharseNotice/edit.html b/ruoyi-admin/src/main/resources/templates/stock/warehousingPucharseNotice/edit.html deleted file mode 100644 index ba400b62..00000000 --- a/ruoyi-admin/src/main/resources/templates/stock/warehousingPucharseNotice/edit.html +++ /dev/null @@ -1,160 +0,0 @@ - - - - - - - -
-
- -
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- - 代码生成请选择字典属性 -
-
-
- -
-
- - -
-
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- - 代码生成请选择字典属性 -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
-
- - - - - \ No newline at end of file diff --git a/ruoyi-admin/src/main/resources/templates/stock/warehousingPucharseNotice/warehousingPucharseNotice.html b/ruoyi-admin/src/main/resources/templates/stock/warehousingPucharseNotice/warehousingPucharseNotice.html deleted file mode 100644 index 19a2ca16..00000000 --- a/ruoyi-admin/src/main/resources/templates/stock/warehousingPucharseNotice/warehousingPucharseNotice.html +++ /dev/null @@ -1,232 +0,0 @@ - - - - - - -
-
-
-
-
-
    -
  • - - -
  • -
  • - - -
  • -
  • - - -
  • -
  • - - -
  • -
  • - - -
  • -
  • - - -
  • -
  • - - -
  • -
  • - - -
  • -
  • - - -
  • -
  • - - -
  • -
  • - - -
  • -
  • - - -
  • -
  • - - -
  • -
  • - - -
  • -
  • - - -
  • -
  • - - -
  • -
  • -  搜索 -  重置 -
  • -
-
-
-
- - -
-
-
-
-
- - - - \ No newline at end of file