From 8f3f03ba050af8701d78c8f47244aa07ca9ab58d Mon Sep 17 00:00:00 2001 From: liuxiaoxu <1793812695@qq.com> Date: Tue, 22 Oct 2024 09:34:23 +0800 Subject: [PATCH] =?UTF-8?q?[feat]=20=E5=B7=A5=E7=A8=8B=E7=AE=A1=E7=90=86?= =?UTF-8?q?=20=E5=88=A0=E9=99=A4=E6=97=A7=E7=89=88=E6=97=A0=E7=94=A8?= =?UTF-8?q?=E7=9A=84=E9=87=87=E8=B4=AD=E6=9D=90=E6=96=99=E4=BF=A1=E6=81=AF?= =?UTF-8?q?=E5=AF=B9=E8=B1=A1=20purchase=5Fmaterial=E5=92=8C=E7=B3=BB?= =?UTF-8?q?=E7=BB=9F=E4=B8=AD=E5=AF=B9=E5=BA=94=E7=9A=84=E5=89=8D=E7=AB=AF?= =?UTF-8?q?=E6=89=80=E6=9C=89=E4=BB=A3=E7=A0=81=E5=92=8C=E5=90=8E=E7=AB=AF?= =?UTF-8?q?=E6=89=80=E6=9C=89=E4=BB=A3=E7=A0=81=20=E5=92=8C=E5=AF=B9?= =?UTF-8?q?=E5=BA=94=E7=9A=84=E7=B3=BB=E7=BB=9F=E8=8F=9C=E5=8D=95=E6=95=B0?= =?UTF-8?q?=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../PurchaseMaterialController.java | 170 ------ .../controller/PurchaseOrderController.java | 124 +---- .../purchase/domain/PurchaseMaterial.java | 269 --------- .../mapper/PurchaseMaterialMapper.java | 61 -- .../service/IPurchaseMaterialService.java | 61 -- .../impl/PurchaseMaterialServiceImpl.java | 94 ---- .../purchase/PurchaseMaterialMapper.xml | 125 ----- .../purchase/purchaseMaterial/add.html | 116 ---- .../purchase/purchaseMaterial/edit.html | 99 ---- .../purchaseMaterial/purchaseMaterial.html | 153 ----- .../warehousingInFinishProduct/add.html | 521 ------------------ .../warehousingInFinishProduct/edit.html | 470 ---------------- .../warehousingInFinishProduct.html | 268 --------- 13 files changed, 1 insertion(+), 2530 deletions(-) delete mode 100644 ruoyi-admin/src/main/java/com/ruoyi/purchase/controller/PurchaseMaterialController.java delete mode 100644 ruoyi-admin/src/main/java/com/ruoyi/purchase/domain/PurchaseMaterial.java delete mode 100644 ruoyi-admin/src/main/java/com/ruoyi/purchase/mapper/PurchaseMaterialMapper.java delete mode 100644 ruoyi-admin/src/main/java/com/ruoyi/purchase/service/IPurchaseMaterialService.java delete mode 100644 ruoyi-admin/src/main/java/com/ruoyi/purchase/service/impl/PurchaseMaterialServiceImpl.java delete mode 100644 ruoyi-admin/src/main/resources/mapper/purchase/PurchaseMaterialMapper.xml delete mode 100644 ruoyi-admin/src/main/resources/templates/purchase/purchaseMaterial/add.html delete mode 100644 ruoyi-admin/src/main/resources/templates/purchase/purchaseMaterial/edit.html delete mode 100644 ruoyi-admin/src/main/resources/templates/purchase/purchaseMaterial/purchaseMaterial.html delete mode 100644 ruoyi-admin/src/main/resources/templates/storehouse/warehousingInFinishProduct/add.html delete mode 100644 ruoyi-admin/src/main/resources/templates/storehouse/warehousingInFinishProduct/edit.html delete mode 100644 ruoyi-admin/src/main/resources/templates/storehouse/warehousingInFinishProduct/warehousingInFinishProduct.html diff --git a/ruoyi-admin/src/main/java/com/ruoyi/purchase/controller/PurchaseMaterialController.java b/ruoyi-admin/src/main/java/com/ruoyi/purchase/controller/PurchaseMaterialController.java deleted file mode 100644 index 2b0ea677..00000000 --- a/ruoyi-admin/src/main/java/com/ruoyi/purchase/controller/PurchaseMaterialController.java +++ /dev/null @@ -1,170 +0,0 @@ -package com.ruoyi.purchase.controller; - -import com.alibaba.fastjson.JSONObject; -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.purchase.domain.PurchaseMaterial; -import com.ruoyi.purchase.service.IPurchaseMaterialService; -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.util.Arrays; -import java.util.List; -import java.util.Objects; - -import static com.ruoyi.common.core.domain.AjaxResult.Type.SUCCESS; - -/** - * 采购材料信息Controller - * - * @author ruoyi - * @date 2023-04-03 - */ -@Controller -@RequestMapping("/purchase/purchaseMaterial") -public class PurchaseMaterialController extends BaseController -{ - private String prefix = "purchase/purchaseMaterial"; - - @Autowired - private IPurchaseMaterialService purchaseMaterialService; - - @RequiresPermissions("purchase:purchaseMaterial:view") - @GetMapping() - public String purchaseMaterial() - { - return prefix + "/purchaseMaterial"; - } - - /** - * 查询采购材料信息列表 - */ - @RequiresPermissions("purchase:purchaseMaterial:list") - @PostMapping("/list") - @ResponseBody - public TableDataInfo list(PurchaseMaterial purchaseMaterial) - { - startPage(); - List list = purchaseMaterialService.selectPurchaseMaterialList(purchaseMaterial); - return getDataTable(list); - } - - /** - * 导出采购材料信息列表 - */ - @RequiresPermissions("purchase:purchaseMaterial:export") - @Log(title = "采购材料信息", businessType = BusinessType.EXPORT) - @PostMapping("/export") - @ResponseBody - public AjaxResult export(PurchaseMaterial purchaseMaterial) - { - List list = purchaseMaterialService.selectPurchaseMaterialList(purchaseMaterial); - ExcelUtil util = new ExcelUtil(PurchaseMaterial.class); - return util.exportExcel(list, "采购材料信息数据"); - } - - /** - * 新增采购材料信息 - */ - @GetMapping("/add") - public String add() - { - return prefix + "/add"; - } - - /** - * 新增保存采购材料信息 - */ - @RequiresPermissions("purchase:purchaseMaterial:add") - @Log(title = "采购材料信息", businessType = BusinessType.INSERT) - @PostMapping("/add") - @ResponseBody - public AjaxResult addSave(PurchaseMaterial purchaseMaterial) - { - return toAjax(purchaseMaterialService.insertPurchaseMaterial(purchaseMaterial)); - } - - /** - * 新增保存采购材料信息 - */ - @RequiresPermissions("purchase:purchaseMaterial:add") - @Log(title = "采购材料信息", businessType = BusinessType.INSERT) - @PostMapping("/addEditSave") - @ResponseBody - public AjaxResult addEditSave(@RequestParam(value = "data") String data) - { - - // 反序列化 - List purchaseMaterialList = JSONObject.parseArray(data, PurchaseMaterial.class); - - - for (int i=0;i idList = Arrays.asList(ids.split(",")); - for (int i=0;i list = purchaseMaterialService.selectPurchaseMaterialList(purchaseMaterial); - if (list.size()>0) { - for (int j=0;j purchaseMaterialList = purchaseMaterialService.selectPurchaseMaterialList(purchaseMaterial); -// List purchaseMaterialDtoList = new ArrayList<>(); -// double total = 0.00; -// int number = 0; -// try { -// Iterator values= purchaseMaterialList.iterator(); -// while(values.hasNext()) { -// Object source = values.next(); -// PurchaseMaterialDto target = PurchaseMaterialDto.class.newInstance(); -// BeanUtils.copyProperties(source, target); -//// mergePrevColUtils.add(number+8,1,1); -//// mergePrevColUtils.add(number+8,10,1); -// target.setNumber(++number); -// purchaseMaterialDtoList.add(target); -// total = total + Double.parseDouble(target.getAmountMoney()); -// } -// }catch (Exception e) { -// log.error(">>>>>>异常<<<<<<", e); -// } -// System.out.println(purchaseMaterialDtoList); -// -// Map colMap = new HashMap<>(); -// colMap.put(2, 3); -// colMap.put(11, 12); -//// response.setCharacterEncoding("utf-8"); -//// String fileName = URLEncoder.encode("采购订单", "UTF-8").replaceAll("\\+", "%20"); -//// response.setHeader("Content-disposition", "attachment;filename*=utf-8''" + fileName + ".xlsx"); -// String templateFileName = "C:\\exportTemplates\\exportPurchaseOrder.xlsx"; -// try (ExcelWriter excelWriter = EasyExcel -// .write(response.getOutputStream(), PurchaseMaterialDto.class) -// .withTemplate(templateFileName) -//// .registerWriteHandler(mergePrevColUtils) -// //样式注册 -//// .registerWriteHandler(horizontalCellStyleStrategyBuilder()) -//// .registerWriteHandler(new CustomRowWriteHandler(1)) -//// .registerWriteHandler(new CustomRowWriteHandler(10)) -// .registerWriteHandler(new CustomRowWriteCellHandler(colMap)) -// .build()) { -// WriteSheet writeSheet = EasyExcel.writerSheet().build(); -// FillConfig fillConfig = FillConfig.builder().forceNewRow(Boolean.TRUE).build(); -// excelWriter.fill(purchaseMaterialDtoList, fillConfig, writeSheet); -// Map map = MapUtils.newHashMap(); -//// map.put("date", DateTimeFormatter.ofPattern("yyyy/MM/dd").format(LocalDateTime.now())); -// map.put("supplierName", purchaseOrderDto.getSupplierName()); -// map.put("contactNumber", purchaseOrderDto.getContactNumber()); -// map.put("customerFax", purchaseOrderDto.getCustomerFax()); -// map.put("customerContact", purchaseOrderDto.getCustomerContact()); -// map.put("purchaseOrderNumber", purchaseOrderDto.getPurchaseOrderNumber()); -// map.put("paymentTerms", purchaseOrderDto.getPaymentTerms()); -// map.put("taxRate", purchaseOrderDto.getTaxRate()); -// map.put("approveName", purchaseOrderDto.getApproveName()); -// map.put("auditName", purchaseOrderDto.getAuditName()); -// map.put("purchaseCommander", purchaseOrderDto.getPurchaseCommander()); -// map.put("total", total); -// excelWriter.fill(map, writeSheet); -//// excelWriter.close(); -// } -// } public HorizontalCellStyleStrategy horizontalCellStyleStrategyBuilder() { WriteCellStyle headWriteCellStyle = new WriteCellStyle(); diff --git a/ruoyi-admin/src/main/java/com/ruoyi/purchase/domain/PurchaseMaterial.java b/ruoyi-admin/src/main/java/com/ruoyi/purchase/domain/PurchaseMaterial.java deleted file mode 100644 index 359f24ee..00000000 --- a/ruoyi-admin/src/main/java/com/ruoyi/purchase/domain/PurchaseMaterial.java +++ /dev/null @@ -1,269 +0,0 @@ -package com.ruoyi.purchase.domain; - -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; - -/** - * 采购材料信息对象 purchase_material - * - * @author ruoyi - * @date 2023-04-03 - */ -public class PurchaseMaterial extends BaseEntity -{ - private static final long serialVersionUID = 1L; - - /** 采购材料id */ - private Long purchaseMaterialId; - - - /** 订购单号 */ - @Excel(name = "订购单号") - private String purchaseOrderNumber; - - /** 供应商代码 */ - @Excel(name = "供应商代码") - private String supplierCode; - - /** 供应商名称 */ - @Excel(name = "供应商名称") - private String supplierName; - - /** 原辅料代码 */ - @Excel(name = "原辅料代码") - private String rawSubsidiaryCode; - - /** 原辅料名称 */ - @Excel(name = "原辅料名称") - private String rawSubsidiaryName; - - /** 规格型号 */ - @Excel(name = "规格型号") - private String specificationModel; - /** 物料类别 */ - @Excel(name = "物料类别") - private String materialType; - - /** 币别 */ - @Excel(name = "币别") - private String commonCurrency; - - /** 采购单位 */ - @Excel(name = "采购单位") - private String purchasingUnit; - - /** 采购单价 */ - @Excel(name = "采购单价") - private String purchasePrice; - - /** 数量 */ - @Excel(name = "数量") - private String materialQuantity; - - /** 金额 */ - @Excel(name = "金额") - private String amountMoney; - - /** 交期 */ - @Excel(name = "交期") - private String deliveryTime; - - /** 说明 */ - @Excel(name = "说明") - private String purchaseExplain; - /** 对账否 */ - @Excel(name = "对账否") - private String accountReconciliationFlag; - /** 对账人 */ - @Excel(name = "对账人") - private String accountReconciliationPerson; - /** 对账时间 */ - @Excel(name = "对账时间") - private String accountReconciliationTime; - - public void setPurchaseMaterialId(Long purchaseMaterialId) - { - this.purchaseMaterialId = purchaseMaterialId; - } - - public Long getPurchaseMaterialId() - { - return purchaseMaterialId; - } - public void setPurchaseOrderNumber(String purchaseOrderNumber) - { - this.purchaseOrderNumber = purchaseOrderNumber; - } - - public String getPurchaseOrderNumber() - { - return purchaseOrderNumber; - } - public void setSupplierCode(String supplierCode) - { - this.supplierCode = supplierCode; - } - - public String getSupplierCode() - { - return supplierCode; - } - public void setSupplierName(String supplierName) - { - this.supplierName = supplierName; - } - - public String getSupplierName() - { - return supplierName; - } - public void setRawSubsidiaryCode(String rawSubsidiaryCode) - { - this.rawSubsidiaryCode = rawSubsidiaryCode; - } - - public String getRawSubsidiaryCode() - { - return rawSubsidiaryCode; - } - public void setRawSubsidiaryName(String rawSubsidiaryName) - { - this.rawSubsidiaryName = rawSubsidiaryName; - } - - public String getRawSubsidiaryName() - { - return rawSubsidiaryName; - } - public void setSpecificationModel(String specificationModel) - { - this.specificationModel = specificationModel; - } - - public String getSpecificationModel() - { - return specificationModel; - } - - public String getMaterialType() { - return materialType; - } - - public void setMaterialType(String materialType) { - this.materialType = materialType; - } - - public void setCommonCurrency(String commonCurrency) - { - this.commonCurrency = commonCurrency; - } - - public String getCommonCurrency() - { - return commonCurrency; - } - public void setPurchasingUnit(String purchasingUnit) - { - this.purchasingUnit = purchasingUnit; - } - - public String getPurchasingUnit() - { - return purchasingUnit; - } - public void setPurchasePrice(String purchasePrice) - { - this.purchasePrice = purchasePrice; - } - - public String getPurchasePrice() - { - return purchasePrice; - } - public void setMaterialQuantity(String materialQuantity) - { - this.materialQuantity = materialQuantity; - } - - public String getMaterialQuantity() - { - return materialQuantity; - } - public void setAmountMoney(String amountMoney) - { - this.amountMoney = amountMoney; - } - - public String getAmountMoney() - { - return amountMoney; - } - public void setDeliveryTime(String deliveryTime) - { - this.deliveryTime = deliveryTime; - } - - public String getDeliveryTime() - { - return deliveryTime; - } - public void setPurchaseExplain(String purchaseExplain) - { - this.purchaseExplain = purchaseExplain; - } - - public String getPurchaseExplain() - { - return purchaseExplain; - } - - public String getAccountReconciliationFlag() { - return accountReconciliationFlag; - } - - public void setAccountReconciliationFlag(String accountReconciliationFlag) { - this.accountReconciliationFlag = accountReconciliationFlag; - } - - public String getAccountReconciliationPerson() { - return accountReconciliationPerson; - } - - public void setAccountReconciliationPerson(String accountReconciliationPerson) { - this.accountReconciliationPerson = accountReconciliationPerson; - } - - public String getAccountReconciliationTime() { - return accountReconciliationTime; - } - - public void setAccountReconciliationTime(String accountReconciliationTime) { - this.accountReconciliationTime = accountReconciliationTime; - } - - @Override - public String toString() { - return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) - .append("purchaseMaterialId", getPurchaseMaterialId()) - .append("purchaseOrderNumber", getPurchaseOrderNumber()) - .append("supplierCode", getSupplierCode()) - .append("supplierName", getSupplierName()) - .append("rawSubsidiaryCode", getRawSubsidiaryCode()) - .append("rawSubsidiaryName", getRawSubsidiaryName()) - .append("specificationModel", getSpecificationModel()) - .append("materialType", getMaterialType()) - .append("commonCurrency", getCommonCurrency()) - .append("purchasingUnit", getPurchasingUnit()) - .append("purchasePrice", getPurchasePrice()) - .append("materialQuantity", getMaterialQuantity()) - .append("amountMoney", getAmountMoney()) - .append("deliveryTime", getDeliveryTime()) - .append("purchaseExplain", getPurchaseExplain()) - .append("accountReconciliationFlag", getAccountReconciliationFlag()) - .append("accountReconciliationPerson", getAccountReconciliationPerson()) - .append("accountReconciliationTime", getAccountReconciliationTime()) - .toString(); - } -} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/purchase/mapper/PurchaseMaterialMapper.java b/ruoyi-admin/src/main/java/com/ruoyi/purchase/mapper/PurchaseMaterialMapper.java deleted file mode 100644 index 2c2efe56..00000000 --- a/ruoyi-admin/src/main/java/com/ruoyi/purchase/mapper/PurchaseMaterialMapper.java +++ /dev/null @@ -1,61 +0,0 @@ -package com.ruoyi.purchase.mapper; - -import java.util.List; -import com.ruoyi.purchase.domain.PurchaseMaterial; - -/** - * 采购材料信息Mapper接口 - * - * @author ruoyi - * @date 2023-04-03 - */ -public interface PurchaseMaterialMapper -{ - /** - * 查询采购材料信息 - * - * @param purchaseMaterialId 采购材料信息ID - * @return 采购材料信息 - */ - public PurchaseMaterial selectPurchaseMaterialById(Long purchaseMaterialId); - - /** - * 查询采购材料信息列表 - * - * @param purchaseMaterial 采购材料信息 - * @return 采购材料信息集合 - */ - public List selectPurchaseMaterialList(PurchaseMaterial purchaseMaterial); - - /** - * 新增采购材料信息 - * - * @param purchaseMaterial 采购材料信息 - * @return 结果 - */ - public int insertPurchaseMaterial(PurchaseMaterial purchaseMaterial); - - /** - * 修改采购材料信息 - * - * @param purchaseMaterial 采购材料信息 - * @return 结果 - */ - public int updatePurchaseMaterial(PurchaseMaterial purchaseMaterial); - - /** - * 删除采购材料信息 - * - * @param purchaseMaterialId 采购材料信息ID - * @return 结果 - */ - public int deletePurchaseMaterialById(Long purchaseMaterialId); - - /** - * 批量删除采购材料信息 - * - * @param purchaseMaterialIds 需要删除的数据ID - * @return 结果 - */ - public int deletePurchaseMaterialByIds(String[] purchaseMaterialIds); -} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/purchase/service/IPurchaseMaterialService.java b/ruoyi-admin/src/main/java/com/ruoyi/purchase/service/IPurchaseMaterialService.java deleted file mode 100644 index cc55e38f..00000000 --- a/ruoyi-admin/src/main/java/com/ruoyi/purchase/service/IPurchaseMaterialService.java +++ /dev/null @@ -1,61 +0,0 @@ -package com.ruoyi.purchase.service; - -import java.util.List; -import com.ruoyi.purchase.domain.PurchaseMaterial; - -/** - * 采购材料信息Service接口 - * - * @author ruoyi - * @date 2023-04-03 - */ -public interface IPurchaseMaterialService -{ - /** - * 查询采购材料信息 - * - * @param purchaseMaterialId 采购材料信息ID - * @return 采购材料信息 - */ - public PurchaseMaterial selectPurchaseMaterialById(Long purchaseMaterialId); - - /** - * 查询采购材料信息列表 - * - * @param purchaseMaterial 采购材料信息 - * @return 采购材料信息集合 - */ - public List selectPurchaseMaterialList(PurchaseMaterial purchaseMaterial); - - /** - * 新增采购材料信息 - * - * @param purchaseMaterial 采购材料信息 - * @return 结果 - */ - public int insertPurchaseMaterial(PurchaseMaterial purchaseMaterial); - - /** - * 修改采购材料信息 - * - * @param purchaseMaterial 采购材料信息 - * @return 结果 - */ - public int updatePurchaseMaterial(PurchaseMaterial purchaseMaterial); - - /** - * 批量删除采购材料信息 - * - * @param ids 需要删除的数据ID - * @return 结果 - */ - public int deletePurchaseMaterialByIds(String ids); - - /** - * 删除采购材料信息信息 - * - * @param purchaseMaterialId 采购材料信息ID - * @return 结果 - */ - public int deletePurchaseMaterialById(Long purchaseMaterialId); -} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/purchase/service/impl/PurchaseMaterialServiceImpl.java b/ruoyi-admin/src/main/java/com/ruoyi/purchase/service/impl/PurchaseMaterialServiceImpl.java deleted file mode 100644 index 64dce3fc..00000000 --- a/ruoyi-admin/src/main/java/com/ruoyi/purchase/service/impl/PurchaseMaterialServiceImpl.java +++ /dev/null @@ -1,94 +0,0 @@ -package com.ruoyi.purchase.service.impl; - -import java.util.List; -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.stereotype.Service; -import com.ruoyi.purchase.mapper.PurchaseMaterialMapper; -import com.ruoyi.purchase.domain.PurchaseMaterial; -import com.ruoyi.purchase.service.IPurchaseMaterialService; -import com.ruoyi.common.core.text.Convert; - -/** - * 采购材料信息Service业务层处理 - * - * @author ruoyi - * @date 2023-04-03 - */ -@Service -public class PurchaseMaterialServiceImpl implements IPurchaseMaterialService -{ - @Autowired - private PurchaseMaterialMapper purchaseMaterialMapper; - - /** - * 查询采购材料信息 - * - * @param purchaseMaterialId 采购材料信息ID - * @return 采购材料信息 - */ - @Override - public PurchaseMaterial selectPurchaseMaterialById(Long purchaseMaterialId) - { - return purchaseMaterialMapper.selectPurchaseMaterialById(purchaseMaterialId); - } - - /** - * 查询采购材料信息列表 - * - * @param purchaseMaterial 采购材料信息 - * @return 采购材料信息 - */ - @Override - public List selectPurchaseMaterialList(PurchaseMaterial purchaseMaterial) - { - return purchaseMaterialMapper.selectPurchaseMaterialList(purchaseMaterial); - } - - /** - * 新增采购材料信息 - * - * @param purchaseMaterial 采购材料信息 - * @return 结果 - */ - @Override - public int insertPurchaseMaterial(PurchaseMaterial purchaseMaterial) - { - return purchaseMaterialMapper.insertPurchaseMaterial(purchaseMaterial); - } - - /** - * 修改采购材料信息 - * - * @param purchaseMaterial 采购材料信息 - * @return 结果 - */ - @Override - public int updatePurchaseMaterial(PurchaseMaterial purchaseMaterial) - { - return purchaseMaterialMapper.updatePurchaseMaterial(purchaseMaterial); - } - - /** - * 删除采购材料信息对象 - * - * @param ids 需要删除的数据ID - * @return 结果 - */ - @Override - public int deletePurchaseMaterialByIds(String ids) - { - return purchaseMaterialMapper.deletePurchaseMaterialByIds(Convert.toStrArray(ids)); - } - - /** - * 删除采购材料信息信息 - * - * @param purchaseMaterialId 采购材料信息ID - * @return 结果 - */ - @Override - public int deletePurchaseMaterialById(Long purchaseMaterialId) - { - return purchaseMaterialMapper.deletePurchaseMaterialById(purchaseMaterialId); - } -} diff --git a/ruoyi-admin/src/main/resources/mapper/purchase/PurchaseMaterialMapper.xml b/ruoyi-admin/src/main/resources/mapper/purchase/PurchaseMaterialMapper.xml deleted file mode 100644 index e3ac15da..00000000 --- a/ruoyi-admin/src/main/resources/mapper/purchase/PurchaseMaterialMapper.xml +++ /dev/null @@ -1,125 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - select purchase_material_id, purchase_order_number, supplier_code, supplier_name, raw_subsidiary_code, raw_subsidiary_name, specification_model, material_type, common_currency, purchasing_unit, purchase_price, material_quantity, amount_money, delivery_time, purchase_explain, account_reconciliation_flag, account_reconciliation_person, account_reconciliation_time from purchase_material - - - - - - - - insert into purchase_material - - purchase_order_number, - supplier_code, - supplier_name, - raw_subsidiary_code, - raw_subsidiary_name, - specification_model, - material_type, - common_currency, - purchasing_unit, - purchase_price, - material_quantity, - amount_money, - delivery_time, - purchase_explain, - account_reconciliation_flag, - account_reconciliation_person, - account_reconciliation_time, - - - #{purchaseOrderNumber}, - #{supplierCode}, - #{supplierName}, - #{rawSubsidiaryCode}, - #{rawSubsidiaryName}, - #{specificationModel}, - #{materialType}, - #{commonCurrency}, - #{purchasingUnit}, - #{purchasePrice}, - #{materialQuantity}, - #{amountMoney}, - #{deliveryTime}, - #{purchaseExplain}, - #{accountReconciliationFlag}, - #{accountReconciliationPerson}, - #{accountReconciliationTime}, - - - - - update purchase_material - - purchase_order_number = #{purchaseOrderNumber}, - supplier_code = #{supplierCode}, - supplier_name = #{supplierName}, - raw_subsidiary_code = #{rawSubsidiaryCode}, - raw_subsidiary_name = #{rawSubsidiaryName}, - specification_model = #{specificationModel}, - material_type = #{materialType}, - common_currency = #{commonCurrency}, - purchasing_unit = #{purchasingUnit}, - purchase_price = #{purchasePrice}, - material_quantity = #{materialQuantity}, - amount_money = #{amountMoney}, - delivery_time = #{deliveryTime}, - purchase_explain = #{purchaseExplain}, - account_reconciliation_flag = #{accountReconciliationFlag}, - account_reconciliation_person = #{accountReconciliationPerson}, - account_reconciliation_time = #{accountReconciliationTime}, - - where purchase_material_id = #{purchaseMaterialId} - - - - delete from purchase_material where purchase_material_id = #{purchaseMaterialId} - - - - delete from purchase_material where purchase_material_id in - - #{purchaseMaterialId} - - - - \ No newline at end of file diff --git a/ruoyi-admin/src/main/resources/templates/purchase/purchaseMaterial/add.html b/ruoyi-admin/src/main/resources/templates/purchase/purchaseMaterial/add.html deleted file mode 100644 index d42fbc28..00000000 --- a/ruoyi-admin/src/main/resources/templates/purchase/purchaseMaterial/add.html +++ /dev/null @@ -1,116 +0,0 @@ - - - - - - - -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
-
- - -
-
-
-
- -
- -
-
-
-
- - - - - \ No newline at end of file diff --git a/ruoyi-admin/src/main/resources/templates/purchase/purchaseMaterial/edit.html b/ruoyi-admin/src/main/resources/templates/purchase/purchaseMaterial/edit.html deleted file mode 100644 index 4814c7b1..00000000 --- a/ruoyi-admin/src/main/resources/templates/purchase/purchaseMaterial/edit.html +++ /dev/null @@ -1,99 +0,0 @@ - - - - - - - -
-
- -
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
-
- - -
-
-
-
- -
- -
-
-
-
- - - - - \ No newline at end of file diff --git a/ruoyi-admin/src/main/resources/templates/purchase/purchaseMaterial/purchaseMaterial.html b/ruoyi-admin/src/main/resources/templates/purchase/purchaseMaterial/purchaseMaterial.html deleted file mode 100644 index eb97ae56..00000000 --- a/ruoyi-admin/src/main/resources/templates/purchase/purchaseMaterial/purchaseMaterial.html +++ /dev/null @@ -1,153 +0,0 @@ - - - - - - -
-
-
-
-
-
    -
  • - - -
  • -
  • - - -
  • -
  • - - -
  • -
  • - - -
  • -
  • - - -
  • -
  • -  搜索 -  重置 -
  • -
-
-
-
- - -
-
-
-
-
- - - - \ No newline at end of file diff --git a/ruoyi-admin/src/main/resources/templates/storehouse/warehousingInFinishProduct/add.html b/ruoyi-admin/src/main/resources/templates/storehouse/warehousingInFinishProduct/add.html deleted file mode 100644 index 10281cf3..00000000 --- a/ruoyi-admin/src/main/resources/templates/storehouse/warehousingInFinishProduct/add.html +++ /dev/null @@ -1,521 +0,0 @@ - - - - - - - - - - - -
-
-
- -
- -
-
-
- -
- - -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
-
- - -
-
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
-
-
-
-

-

材料信息

-
-
-
-
-
- - - - - - - \ No newline at end of file diff --git a/ruoyi-admin/src/main/resources/templates/storehouse/warehousingInFinishProduct/edit.html b/ruoyi-admin/src/main/resources/templates/storehouse/warehousingInFinishProduct/edit.html deleted file mode 100644 index 0055fcb5..00000000 --- a/ruoyi-admin/src/main/resources/templates/storehouse/warehousingInFinishProduct/edit.html +++ /dev/null @@ -1,470 +0,0 @@ - - - - - - - - - - - -
-
- -
- -
- -
-
-
- -
- - -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
-
- - -
-
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
-
-
-
-

-

材料信息

-
-
-
-
-
- - - - - - - \ No newline at end of file diff --git a/ruoyi-admin/src/main/resources/templates/storehouse/warehousingInFinishProduct/warehousingInFinishProduct.html b/ruoyi-admin/src/main/resources/templates/storehouse/warehousingInFinishProduct/warehousingInFinishProduct.html deleted file mode 100644 index 64c7b82b..00000000 --- a/ruoyi-admin/src/main/resources/templates/storehouse/warehousingInFinishProduct/warehousingInFinishProduct.html +++ /dev/null @@ -1,268 +0,0 @@ - - - - - - -
-
-
-
-
-
    -
  • - - -
  • -
  • - - -
  • -
  • - - -
  • -
  • - - -
  • -
  • - - - - - -
  • -
  • - - -
  • -
  • - - -
  • -
  • - - -
  • -
  • -  搜索 -  重置 -
  • -
-
-
-
- - -
-
-
-
-
- - - - \ No newline at end of file