diff --git a/ruoyi-admin/src/main/java/com/ruoyi/system/controller/SysFinishProductController.java b/ruoyi-admin/src/main/java/com/ruoyi/system/controller/SysFinishProductController.java deleted file mode 100644 index e18ea2d9..00000000 --- a/ruoyi-admin/src/main/java/com/ruoyi/system/controller/SysFinishProductController.java +++ /dev/null @@ -1,181 +0,0 @@ -package com.ruoyi.system.controller; - -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.system.domain.SysFinishProduct; -import com.ruoyi.system.service.ISysFinishProductService; -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.ArrayList; -import java.util.List; - -import static com.ruoyi.common.core.domain.AjaxResult.Type.ERROR; - -/** - * 成品资料Controller - * - * @author ruoyi - * @date 2022-11-03 - */ -@Controller -@RequestMapping("/system/finishproduct") -public class SysFinishProductController extends BaseController -{ - private String prefix = "system/finishproduct"; - - @Autowired - private ISysFinishProductService sysFinishProductService; - - @RequiresPermissions("system:finishproduct:view") - @GetMapping() - public String finishproduct() - { - return prefix + "/finishproduct"; - } - - /** - * 查询成品资料列表 - */ - @RequiresPermissions("system:finishproduct:list") - @PostMapping("/list") - @ResponseBody - public TableDataInfo list(SysFinishProduct sysFinishProduct) - { - startPage(); - List list = sysFinishProductService.selectSysFinishProductList(sysFinishProduct); - return getDataTable(list); - } - - /** - * 导出成品资料列表 - */ - @RequiresPermissions("system:finishproduct:export") - @Log(title = "成品资料", businessType = BusinessType.EXPORT) - @PostMapping("/export") - @ResponseBody - public AjaxResult export(SysFinishProduct sysFinishProduct) - { - List list = sysFinishProductService.selectSysFinishProductList(sysFinishProduct); - ExcelUtil util = new ExcelUtil(SysFinishProduct.class); - return util.exportExcel(list, "成品资料数据"); - } - - /** - * 新增成品资料 - */ - @GetMapping("/add") - public String add() - { - return prefix + "/add"; - } - - /** - * 新增保存成品资料 - */ - @RequiresPermissions("system:finishproduct:add") - @Log(title = "成品资料", businessType = BusinessType.INSERT) - @PostMapping("/add") - @ResponseBody - public AjaxResult addSave(SysFinishProduct sysFinishProduct) - { - String FinishLength= String.valueOf(sysFinishProductService.selectFinishProductByCode(sysFinishProduct.getFinishProductCode())); - if(FinishLength.length()>4){ - return new AjaxResult(ERROR, "此成品代码已存在,不可重复添加"); - }else { - return toAjax(sysFinishProductService.insertSysFinishProduct(sysFinishProduct)); - } -// return toAjax(sysFinishProductService.insertSysFinishProduct(sysFinishProduct)); - } - -// @RequiresPermissions("system:finishproduct:add") -// @Log(title = "成品资料", businessType = BusinessType.INSERT) -// @PostMapping("/add") -// @ResponseBody -// public AjaxResult addSave(SysFinishProduct sysFinishProduct) -// { -// String FinishLength= String.valueOf(sysFinishProductService.selectFinishProductByCode(sysFinishProduct.getFinishProductCode())); -// if(FinishLength.length()>4){ -// return new AjaxResult(ERROR, "此成品代码已存在,不可重复添加"); -// }else { -// return toAjax(sysFinishProductService.insertSysFinishProduct(sysFinishProduct)); -// } -// -// } - /** - * 修改成品资料 - */ - @GetMapping("/edit/{finishProductId}") - public String edit(@PathVariable("finishProductId") Long finishProductId, ModelMap mmap) - { - SysFinishProduct sysFinishProduct = sysFinishProductService.selectSysFinishProductById(finishProductId); - mmap.put("sysFinishProduct", sysFinishProduct); - return prefix + "/edit"; - } - - /** - * 修改保存成品资料 - */ - @RequiresPermissions("system:finishproduct:edit") - @Log(title = "成品资料", businessType = BusinessType.UPDATE) - @PostMapping("/edit") - @ResponseBody - public AjaxResult editSave(SysFinishProduct sysFinishProduct) - { - return toAjax(sysFinishProductService.updateSysFinishProduct(sysFinishProduct)); - } - - /** - * 删除成品资料 - */ - @RequiresPermissions("system:finishproduct:remove") - @Log(title = "成品资料", businessType = BusinessType.DELETE) - @PostMapping( "/remove") - @ResponseBody - public AjaxResult remove(String ids) - { - return toAjax(sysFinishProductService.deleteSysFinishProductByIds(ids)); - } - - // 查询所有数据 - - @PostMapping( "/finishList") - @ResponseBody - public List finishList(){ - - List List= sysFinishProductService.selectAllSysFinishProductList(); - - return List; - } - - //通过id查询 - @RequestMapping( "/selectFinishList/{id}") - @ResponseBody - public List selectFinishList(@PathVariable Long id){ - - List list = new ArrayList<>(); - SysFinishProduct sysFinishProduct = sysFinishProductService.selectSysFinishProductById(id); - list.add(sysFinishProduct); - System.out.println(list); - return list; - } - - @RequestMapping( "getFinishCode") - - @ResponseBody - public SysFinishProduct getSubsidiaryCode(@RequestParam(value = "finishProductCode") String finishProductCode){ - - return sysFinishProductService.selectFinishProductByCode(finishProductCode); - - } - - - -} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/system/domain/SysFinishProduct.java b/ruoyi-admin/src/main/java/com/ruoyi/system/domain/SysFinishProduct.java deleted file mode 100644 index ba1cb6ea..00000000 --- a/ruoyi-admin/src/main/java/com/ruoyi/system/domain/SysFinishProduct.java +++ /dev/null @@ -1,518 +0,0 @@ -package com.ruoyi.system.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; - -/** - * 成品资料对象 sys_finish_product - * - * @author ruoyi - * @date 2022-11-03 - */ -public class SysFinishProduct extends BaseEntity -{ - private static final long serialVersionUID = 1L; - - /** 成品id */ - private Long finishProductId; - - /** 客户料号 */ - @Excel(name = "客户料号") - private String customerNumber; - - /** 机种 */ - @Excel(name = "机种") - private String typeMachine; - - /** 成品名称 */ - @Excel(name = "成品名称") - private String finishProductName; - - /** 客户代码 */ - @Excel(name = "客户代码") - private String enterpriseCode; - - /** 客户名称 */ - @Excel(name = "客户名称") - private String enterpriseName; - - /** 库存单位 */ - @Excel(name = "库存单位") - private String inventoryUnit; - - /** 版本号 */ - @Excel(name = "版本号") - private String versionNumber; - - /** 成品代码 */ - @Excel(name = "成品代码") - private String finishProductCode; - - /** 安全库存 */ - @Excel(name = "安全库存") - private String safetyStock; - - /** 单位重量 */ - @Excel(name = "单位重量") - private String stockUnitWeight; - - /** GP项选择 */ - @Excel(name = "GP项选择") - private String gpItemSelection; - - /** 厂内编码 */ - @Excel(name = "厂内编码") - private String inPlantCode; - - /** 料号是否停用 */ - @Excel(name = "料号是否停用") - private String whetherStop; - - /** 创建人 */ - @Excel(name = "创建人") - private String createrName; - - /** 半成品对应完工工序名 */ - @Excel(name = "半成品对应完工工序名") - private String ordinalName; - - /** 原成品料号 */ - @Excel(name = "原成品料号") - private String originalNumber; - - /** 海关名称 */ - @Excel(name = "海关名称") - private String customsName; - - /** 默认仓库 */ - @Excel(name = "默认仓库") - private String defaultWarehouse; - - /** 类别 */ - @Excel(name = "类别") - private String materialCategory; - - /** 生产类别 */ - @Excel(name = "生产类别") - private String productionCategory; - - /** 所属类别 */ - @Excel(name = "所属类别") - private String finishProductCategory; - - /** 规格型号 */ - @Excel(name = "规格型号") - private String specificationModel; - - /** 客户工程师 */ - @Excel(name = "客户工程师") - private String customerEngineer; - - /** 产品描述 */ - @Excel(name = "产品描述") - private String productDescription; - - /** 最高库存 */ - @Excel(name = "最高库存") - private String maximumInventory; - - /** 产品售价 */ - @Excel(name = "产品售价") - private String productPrice; - - /** 组件名称 */ - @Excel(name = "组件名称") - private String componentName; - - /** 创建日期 */ - @Excel(name = "创建日期") - private String createrTime; - - /** 半成品对应完工工序号 */ - @Excel(name = "半成品对应完工工序号") - private String ordinalNumber; - - /** 默认位置 */ - @Excel(name = "默认位置") - private String defaultLocation; - - /** HS号 */ - @Excel(name = "HS号") - private String hsNumber; - - /** 科恩仕料号 */ - @Excel(name = "科恩仕料号") - private String kesNumber; - - /** 录入时间 */ - @Excel(name = "录入时间") - private String firstAddTime; - - /** 修改时间 */ - @Excel(name = "修改时间") - private String updateInfoTime; - - public SysFinishProduct() { - } - - public SysFinishProduct(String finishProductCode) { - this.finishProductCode = finishProductCode; - } - - public void setFinishProductId(Long finishProductId) - { - this.finishProductId = finishProductId; - } - - public Long getFinishProductId() - { - return finishProductId; - } - public void setCustomerNumber(String customerNumber) - { - this.customerNumber = customerNumber; - } - - public String getCustomerNumber() - { - return customerNumber; - } - public void setTypeMachine(String typeMachine) - { - this.typeMachine = typeMachine; - } - - public String getTypeMachine() - { - return typeMachine; - } - public void setFinishProductName(String finishProductName) - { - this.finishProductName = finishProductName; - } - - public String getFinishProductName() - { - return finishProductName; - } - public void setEnterpriseCode(String enterpriseCode) - { - this.enterpriseCode = enterpriseCode; - } - - public String getEnterpriseCode() - { - return enterpriseCode; - } - public void setEnterpriseName(String enterpriseName) - { - this.enterpriseName = enterpriseName; - } - - public String getEnterpriseName() - { - return enterpriseName; - } - public void setInventoryUnit(String inventoryUnit) - { - this.inventoryUnit = inventoryUnit; - } - - public String getInventoryUnit() - { - return inventoryUnit; - } - public void setVersionNumber(String versionNumber) - { - this.versionNumber = versionNumber; - } - - public String getVersionNumber() - { - return versionNumber; - } - public void setFinishProductCode(String finishProductCode) - { - this.finishProductCode = finishProductCode; - } - - public String getFinishProductCode() - { - return finishProductCode; - } - public void setSafetyStock(String safetyStock) - { - this.safetyStock = safetyStock; - } - - public String getSafetyStock() - { - return safetyStock; - } - public void setStockUnitWeight(String stockUnitWeight) - { - this.stockUnitWeight = stockUnitWeight; - } - - public String getStockUnitWeight() - { - return stockUnitWeight; - } - public void setGpItemSelection(String gpItemSelection) - { - this.gpItemSelection = gpItemSelection; - } - - public String getGpItemSelection() - { - return gpItemSelection; - } - public void setInPlantCode(String inPlantCode) - { - this.inPlantCode = inPlantCode; - } - - public String getInPlantCode() - { - return inPlantCode; - } - public void setWhetherStop(String whetherStop) - { - this.whetherStop = whetherStop; - } - - public String getWhetherStop() - { - return whetherStop; - } - public void setCreaterName(String createrName) - { - this.createrName = createrName; - } - - public String getCreaterName() - { - return createrName; - } - public void setOrdinalName(String ordinalName) - { - this.ordinalName = ordinalName; - } - - public String getOrdinalName() - { - return ordinalName; - } - public void setOriginalNumber(String originalNumber) - { - this.originalNumber = originalNumber; - } - - public String getOriginalNumber() - { - return originalNumber; - } - public void setCustomsName(String customsName) - { - this.customsName = customsName; - } - - public String getCustomsName() - { - return customsName; - } - public void setDefaultWarehouse(String defaultWarehouse) - { - this.defaultWarehouse = defaultWarehouse; - } - - public String getDefaultWarehouse() - { - return defaultWarehouse; - } - public void setMaterialCategory(String materialCategory) - { - this.materialCategory = materialCategory; - } - - public String getMaterialCategory() - { - return materialCategory; - } - public void setProductionCategory(String productionCategory) - { - this.productionCategory = productionCategory; - } - - public String getProductionCategory() - { - return productionCategory; - } - public void setFinishProductCategory(String finishProductCategory) - { - this.finishProductCategory = finishProductCategory; - } - - public String getFinishProductCategory() - { - return finishProductCategory; - } - public void setSpecificationModel(String specificationModel) - { - this.specificationModel = specificationModel; - } - - public String getSpecificationModel() - { - return specificationModel; - } - public void setCustomerEngineer(String customerEngineer) - { - this.customerEngineer = customerEngineer; - } - - public String getCustomerEngineer() - { - return customerEngineer; - } - public void setProductDescription(String productDescription) - { - this.productDescription = productDescription; - } - - public String getProductDescription() - { - return productDescription; - } - public void setMaximumInventory(String maximumInventory) - { - this.maximumInventory = maximumInventory; - } - - public String getMaximumInventory() - { - return maximumInventory; - } - public void setProductPrice(String productPrice) - { - this.productPrice = productPrice; - } - - public String getProductPrice() - { - return productPrice; - } - public void setComponentName(String componentName) - { - this.componentName = componentName; - } - - public String getComponentName() - { - return componentName; - } - public void setCreaterTime(String createrTime) - { - this.createrTime = createrTime; - } - - public String getCreaterTime() - { - return createrTime; - } - public void setOrdinalNumber(String ordinalNumber) - { - this.ordinalNumber = ordinalNumber; - } - - public String getOrdinalNumber() - { - return ordinalNumber; - } - public void setDefaultLocation(String defaultLocation) - { - this.defaultLocation = defaultLocation; - } - - public String getDefaultLocation() - { - return defaultLocation; - } - public void setHsNumber(String hsNumber) - { - this.hsNumber = hsNumber; - } - - public String getHsNumber() - { - return hsNumber; - } - public void setKesNumber(String kesNumber) - { - this.kesNumber = kesNumber; - } - - public String getKesNumber() - { - return kesNumber; - } - - public String getFirstAddTime() { - return firstAddTime; - } - - public void setFirstAddTime(String firstAddTime) { - this.firstAddTime = firstAddTime; - } - - public String getUpdateInfoTime() { - return updateInfoTime; - } - - public void setUpdateInfoTime(String updateInfoTime) { - this.updateInfoTime = updateInfoTime; - } - - @Override - public String toString() { - return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) - .append("finishProductId", getFinishProductId()) - .append("customerNumber", getCustomerNumber()) - .append("typeMachine", getTypeMachine()) - .append("finishProductName", getFinishProductName()) - .append("enterpriseCode", getEnterpriseCode()) - .append("enterpriseName", getEnterpriseName()) - .append("inventoryUnit", getInventoryUnit()) - .append("versionNumber", getVersionNumber()) - .append("finishProductCode", getFinishProductCode()) - .append("safetyStock", getSafetyStock()) - .append("stockUnitWeight", getStockUnitWeight()) - .append("gpItemSelection", getGpItemSelection()) - .append("inPlantCode", getInPlantCode()) - .append("whetherStop", getWhetherStop()) - .append("createrName", getCreaterName()) - .append("ordinalName", getOrdinalName()) - .append("originalNumber", getOriginalNumber()) - .append("customsName", getCustomsName()) - .append("defaultWarehouse", getDefaultWarehouse()) - .append("materialCategory", getMaterialCategory()) - .append("productionCategory", getProductionCategory()) - .append("finishProductCategory", getFinishProductCategory()) - .append("specificationModel", getSpecificationModel()) - .append("customerEngineer", getCustomerEngineer()) - .append("productDescription", getProductDescription()) - .append("maximumInventory", getMaximumInventory()) - .append("productPrice", getProductPrice()) - .append("componentName", getComponentName()) - .append("createrTime", getCreaterTime()) - .append("ordinalNumber", getOrdinalNumber()) - .append("defaultLocation", getDefaultLocation()) - .append("hsNumber", getHsNumber()) - .append("kesNumber", getKesNumber()) - .append("firstAddTime", getFirstAddTime()) - .append("updateInfoTime", getUpdateInfoTime()) - .toString(); - } -} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/system/mapper/SysFinishProductMapper.java b/ruoyi-admin/src/main/java/com/ruoyi/system/mapper/SysFinishProductMapper.java deleted file mode 100644 index 03b224c9..00000000 --- a/ruoyi-admin/src/main/java/com/ruoyi/system/mapper/SysFinishProductMapper.java +++ /dev/null @@ -1,68 +0,0 @@ -package com.ruoyi.system.mapper; - -import com.ruoyi.system.domain.SysFinishProduct; - -import java.util.List; - -/** - * 成品资料Mapper接口 - * - * @author ruoyi - * @date 2022-11-03 - */ -public interface SysFinishProductMapper -{ - /** - * 查询成品资料 - * - * @param finishProductId 成品资料ID - * @return 成品资料 - */ - public SysFinishProduct selectSysFinishProductById(Long finishProductId); - - /** - * 查询成品资料列表 - * - * @param sysFinishProduct 成品资料 - * @return 成品资料集合 - */ - public List selectSysFinishProductList(SysFinishProduct sysFinishProduct); - - /** - * 新增成品资料 - * - * @param sysFinishProduct 成品资料 - * @return 结果 - */ - public int insertSysFinishProduct(SysFinishProduct sysFinishProduct); - - /** - * 修改成品资料 - * - * @param sysFinishProduct 成品资料 - * @return 结果 - */ - public int updateSysFinishProduct(SysFinishProduct sysFinishProduct); - - /** - * 删除成品资料 - * - * @param finishProductId 成品资料ID - * @return 结果 - */ - public int deleteSysFinishProductById(Long finishProductId); - - /** - * 批量删除成品资料 - * - * @param finishProductIds 需要删除的数据ID - * @return 结果 - */ - public int deleteSysFinishProductByIds(String[] finishProductIds); - - public List selectAllSysFinishProductList(); - - public SysFinishProduct selectFinishProductByCode(String finishProductCode); - - -} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/system/service/ISysFinishProductService.java b/ruoyi-admin/src/main/java/com/ruoyi/system/service/ISysFinishProductService.java deleted file mode 100644 index 588ffb7f..00000000 --- a/ruoyi-admin/src/main/java/com/ruoyi/system/service/ISysFinishProductService.java +++ /dev/null @@ -1,67 +0,0 @@ -package com.ruoyi.system.service; - -import com.ruoyi.system.domain.SysFinishProduct; - -import java.util.List; - -/** - * 成品资料Service接口 - * - * @author ruoyi - * @date 2022-11-03 - */ -public interface ISysFinishProductService -{ - /** - * 查询成品资料 - * - * @param finishProductId 成品资料ID - * @return 成品资料 - */ - public SysFinishProduct selectSysFinishProductById(Long finishProductId); - - /** - * 查询成品资料列表 - * - * @param sysFinishProduct 成品资料 - * @return 成品资料集合 - */ - public List selectSysFinishProductList(SysFinishProduct sysFinishProduct); - - /** - * 新增成品资料 - * - * @param sysFinishProduct 成品资料 - * @return 结果 - */ - public int insertSysFinishProduct(SysFinishProduct sysFinishProduct); - - /** - * 修改成品资料 - * - * @param sysFinishProduct 成品资料 - * @return 结果 - */ - public int updateSysFinishProduct(SysFinishProduct sysFinishProduct); - - /** - * 批量删除成品资料 - * - * @param ids 需要删除的数据ID - * @return 结果 - */ - public int deleteSysFinishProductByIds(String ids); - - /** - * 删除成品资料信息 - * - * @param finishProductId 成品资料ID - * @return 结果 - */ - public int deleteSysFinishProductById(Long finishProductId); - - public List selectAllSysFinishProductList(); - - public SysFinishProduct selectFinishProductByCode(String finishProductCode); - -} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/system/service/impl/SysFinishProductServiceImpl.java b/ruoyi-admin/src/main/java/com/ruoyi/system/service/impl/SysFinishProductServiceImpl.java deleted file mode 100644 index d059c437..00000000 --- a/ruoyi-admin/src/main/java/com/ruoyi/system/service/impl/SysFinishProductServiceImpl.java +++ /dev/null @@ -1,105 +0,0 @@ -package com.ruoyi.system.service.impl; - -import com.ruoyi.common.core.text.Convert; -import com.ruoyi.system.domain.SysFinishProduct; -import com.ruoyi.system.mapper.SysFinishProductMapper; -import com.ruoyi.system.service.ISysFinishProductService; -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.stereotype.Service; - -import java.util.List; - -/** - * 成品资料Service业务层处理 - * - * @author ruoyi - * @date 2022-11-03 - */ -@Service -public class SysFinishProductServiceImpl implements ISysFinishProductService -{ - @Autowired - private SysFinishProductMapper sysFinishProductMapper; - - /** - * 查询成品资料 - * - * @param finishProductId 成品资料ID - * @return 成品资料 - */ - @Override - public SysFinishProduct selectSysFinishProductById(Long finishProductId) - { - return sysFinishProductMapper.selectSysFinishProductById(finishProductId); - } - - /** - * 查询成品资料列表 - * - * @param sysFinishProduct 成品资料 - * @return 成品资料 - */ - @Override - public List selectSysFinishProductList(SysFinishProduct sysFinishProduct) - { - return sysFinishProductMapper.selectSysFinishProductList(sysFinishProduct); - } - - /** - * 新增成品资料 - * - * @param sysFinishProduct 成品资料 - * @return 结果 - */ - @Override - public int insertSysFinishProduct(SysFinishProduct sysFinishProduct) - { - return sysFinishProductMapper.insertSysFinishProduct(sysFinishProduct); - } - - /** - * 修改成品资料 - * - * @param sysFinishProduct 成品资料 - * @return 结果 - */ - @Override - public int updateSysFinishProduct(SysFinishProduct sysFinishProduct) - { - return sysFinishProductMapper.updateSysFinishProduct(sysFinishProduct); - } - - /** - * 删除成品资料对象 - * - * @param ids 需要删除的数据ID - * @return 结果 - */ - @Override - public int deleteSysFinishProductByIds(String ids) - { - return sysFinishProductMapper.deleteSysFinishProductByIds(Convert.toStrArray(ids)); - } - - /** - * 删除成品资料信息 - * - * @param finishProductId 成品资料ID - * @return 结果 - */ - @Override - public int deleteSysFinishProductById(Long finishProductId) - { - return sysFinishProductMapper.deleteSysFinishProductById(finishProductId); - } -//获取成品信息 - @Override - public List selectAllSysFinishProductList() { - return sysFinishProductMapper.selectAllSysFinishProductList(); - } - - @Override - public SysFinishProduct selectFinishProductByCode(String finishProductCode) { - return sysFinishProductMapper.selectFinishProductByCode(finishProductCode); - } -} diff --git a/ruoyi-admin/src/main/resources/mapper/system/SysFinishProductMapper.xml b/ruoyi-admin/src/main/resources/mapper/system/SysFinishProductMapper.xml deleted file mode 100644 index e8b1aafe..00000000 --- a/ruoyi-admin/src/main/resources/mapper/system/SysFinishProductMapper.xml +++ /dev/null @@ -1,206 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - select finish_product_id, customer_number, type_machine, finish_product_name, enterprise_code, enterprise_name, inventory_unit, version_number, finish_product_code, safety_stock, stock_unit_weight, gp_Item_selection, In_plant_code, whether_stop, creater_name, ordinal_name, original_number, customs_name, default_warehouse, material_category, production_category, finish_product_category, specification_model, customer_engineer, product_description, maximum_inventory, product_price, component_name, creater_time, ordinal_number, default_location, hs_number, kes_number, first_add_time, update_info_time from sys_finish_product - - - - - - - - - - - - insert into sys_finish_product - - customer_number, - type_machine, - finish_product_name, - enterprise_code, - enterprise_name, - inventory_unit, - version_number, - finish_product_code, - safety_stock, - stock_unit_weight, - gp_Item_selection, - In_plant_code, - whether_stop, - creater_name, - ordinal_name, - original_number, - customs_name, - default_warehouse, - material_category, - production_category, - finish_product_category, - specification_model, - customer_engineer, - product_description, - maximum_inventory, - product_price, - component_name, - creater_time, - ordinal_number, - default_location, - hs_number, - kes_number, - first_add_time, - - - #{customerNumber}, - #{typeMachine}, - #{finishProductName}, - #{enterpriseCode}, - #{enterpriseName}, - #{inventoryUnit}, - #{versionNumber}, - #{finishProductCode}, - #{safetyStock}, - #{stockUnitWeight}, - #{gpItemSelection}, - #{inPlantCode}, - #{whetherStop}, - #{createrName}, - #{ordinalName}, - #{originalNumber}, - #{customsName}, - #{defaultWarehouse}, - #{materialCategory}, - #{productionCategory}, - #{finishProductCategory}, - #{specificationModel}, - #{customerEngineer}, - #{productDescription}, - #{maximumInventory}, - #{productPrice}, - #{componentName}, - #{createrTime}, - #{ordinalNumber}, - #{defaultLocation}, - #{hsNumber}, - #{kesNumber}, - now(), - - - - - update sys_finish_product - - customer_number = #{customerNumber}, - type_machine = #{typeMachine}, - finish_product_name = #{finishProductName}, - enterprise_code = #{enterpriseCode}, - enterprise_name = #{enterpriseName}, - inventory_unit = #{inventoryUnit}, - version_number = #{versionNumber}, - finish_product_code = #{finishProductCode}, - safety_stock = #{safetyStock}, - stock_unit_weight = #{stockUnitWeight}, - gp_Item_selection = #{gpItemSelection}, - In_plant_code = #{inPlantCode}, - whether_stop = #{whetherStop}, - creater_name = #{createrName}, - ordinal_name = #{ordinalName}, - original_number = #{originalNumber}, - customs_name = #{customsName}, - default_warehouse = #{defaultWarehouse}, - material_category = #{materialCategory}, - production_category = #{productionCategory}, - finish_product_category = #{finishProductCategory}, - specification_model = #{specificationModel}, - customer_engineer = #{customerEngineer}, - product_description = #{productDescription}, - maximum_inventory = #{maximumInventory}, - product_price = #{productPrice}, - component_name = #{componentName}, - creater_time = #{createrTime}, - ordinal_number = #{ordinalNumber}, - default_location = #{defaultLocation}, - hs_number = #{hsNumber}, - kes_number = #{kesNumber}, - update_info_time = CONCAT_WS(',',NOW(),update_info_time), - - where finish_product_id = #{finishProductId} - - - - delete from sys_finish_product where finish_product_id = #{finishProductId} - - - - delete from sys_finish_product where finish_product_id in - - #{finishProductId} - - - - \ No newline at end of file diff --git a/ruoyi-admin/src/main/resources/templates/system/finishproduct/add.html b/ruoyi-admin/src/main/resources/templates/system/finishproduct/add.html deleted file mode 100644 index ab6b4fc2..00000000 --- a/ruoyi-admin/src/main/resources/templates/system/finishproduct/add.html +++ /dev/null @@ -1,341 +0,0 @@ - - - - - - - - - -
-
-
- -
- -
-
-
- -
- -
-
- -
- -
-
- - -
- -
- - -
-
- -
- -
- - - - - -
-
-
- -
- -
-
- -
- -
- -
-
-
- -
- -
-
-
- -
- -
-
- -
- -
- -
-
-
- -
- -
-
- -
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
-
- - -
-
-
-
- -
- -
-
- - -
- -
- -
-
-
- -
- -
-
-
- -
- -
-
- - - -
- -
-
- - -
-
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- - -
-
-
- -
- -
-
- - - - - - - - - - - - -
-
- - - - - - \ No newline at end of file diff --git a/ruoyi-admin/src/main/resources/templates/system/finishproduct/edit.html b/ruoyi-admin/src/main/resources/templates/system/finishproduct/edit.html deleted file mode 100644 index 20ad2e6c..00000000 --- a/ruoyi-admin/src/main/resources/templates/system/finishproduct/edit.html +++ /dev/null @@ -1,355 +0,0 @@ - - - - - - - - - -
-
- -
- -
- -
-
-
- -
- -
-
-
- -
- -
-
- -
- -
- -
-
-
- -
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
- -
- -
-
- -
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
-
- - -
-
-
-
- -
- -
-
-
- -
- -
-
- -
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
-
- - -
-
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
- - - - - - - - - - - - -
-
- - - - - - - \ No newline at end of file diff --git a/ruoyi-admin/src/main/resources/templates/system/finishproduct/finishproduct.html b/ruoyi-admin/src/main/resources/templates/system/finishproduct/finishproduct.html deleted file mode 100644 index 4b492c64..00000000 --- a/ruoyi-admin/src/main/resources/templates/system/finishproduct/finishproduct.html +++ /dev/null @@ -1,366 +0,0 @@ - - - - - - -
-
-
-
-
-
    -
  • - - -
  • -
  • - - -
  • -
  • - - - - - - - -
  • -
  • - - - - - - - -
  • -
  • - - -
  • -
  • - - -
  • -
  • - - -
  • -
  • - - -
  • -
  • - - -
  • -
  • - - -
  • -
  • - - -
  • -
  • - - -
  • -
  • -  搜索 -  重置 -
  • -
-
-
-
- - -
-
-
-
-
- - - - \ No newline at end of file