From d3bd5affb2204af5ebcb3dda185c909bf9b48409 Mon Sep 17 00:00:00 2001 From: liuxiaoxu <1793812695@qq.com> Date: Tue, 22 Oct 2024 10:28:00 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4=E6=97=A7=E7=89=88=E6=97=A0?= =?UTF-8?q?=E7=94=A8=E7=9A=84=E5=A7=94=E5=A4=96=E6=8A=A5=E4=BB=B7=E5=AF=B9?= =?UTF-8?q?=E8=B1=A1=20sys=5Fqutsourcing=5Fquotation=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 --- .../SysQutsourcingQuotationController.java | 137 ---- .../domain/SysQutsourcingQuotation.java | 483 ------------- .../mapper/SysQutsourcingQuotationMapper.java | 61 -- .../ISysQutsourcingQuotationService.java | 64 -- .../SysQutsourcingQuotationServiceImpl.java | 102 --- .../system/SysQutsourcingQuotationMapper.xml | 184 ----- .../system/qutsourcingquotation/add.html | 533 -------------- .../system/qutsourcingquotation/edit.html | 441 ------------ .../qutsourcingquotation.html | 650 ------------------ 9 files changed, 2655 deletions(-) delete mode 100644 ruoyi-admin/src/main/java/com/ruoyi/system/controller/SysQutsourcingQuotationController.java delete mode 100644 ruoyi-admin/src/main/java/com/ruoyi/system/domain/SysQutsourcingQuotation.java delete mode 100644 ruoyi-admin/src/main/java/com/ruoyi/system/mapper/SysQutsourcingQuotationMapper.java delete mode 100644 ruoyi-admin/src/main/java/com/ruoyi/system/service/ISysQutsourcingQuotationService.java delete mode 100644 ruoyi-admin/src/main/java/com/ruoyi/system/service/impl/SysQutsourcingQuotationServiceImpl.java delete mode 100644 ruoyi-admin/src/main/resources/mapper/system/SysQutsourcingQuotationMapper.xml delete mode 100644 ruoyi-admin/src/main/resources/templates/system/qutsourcingquotation/add.html delete mode 100644 ruoyi-admin/src/main/resources/templates/system/qutsourcingquotation/edit.html delete mode 100644 ruoyi-admin/src/main/resources/templates/system/qutsourcingquotation/qutsourcingquotation.html diff --git a/ruoyi-admin/src/main/java/com/ruoyi/system/controller/SysQutsourcingQuotationController.java b/ruoyi-admin/src/main/java/com/ruoyi/system/controller/SysQutsourcingQuotationController.java deleted file mode 100644 index b7a198ac..00000000 --- a/ruoyi-admin/src/main/java/com/ruoyi/system/controller/SysQutsourcingQuotationController.java +++ /dev/null @@ -1,137 +0,0 @@ -package com.ruoyi.system.controller; - -import java.util.List; - -import com.ruoyi.ck.utils.Result; -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.GetMapping; -import org.springframework.web.bind.annotation.PathVariable; -import org.springframework.web.bind.annotation.PostMapping; -import org.springframework.web.bind.annotation.RequestMapping; -import org.springframework.web.bind.annotation.ResponseBody; -import com.ruoyi.common.annotation.Log; -import com.ruoyi.common.enums.BusinessType; -import com.ruoyi.system.domain.SysQutsourcingQuotation; -import com.ruoyi.system.service.ISysQutsourcingQuotationService; -import com.ruoyi.common.core.controller.BaseController; -import com.ruoyi.common.core.domain.AjaxResult; -import com.ruoyi.common.utils.poi.ExcelUtil; -import com.ruoyi.common.core.page.TableDataInfo; - -/** - * 委外报价Controller - * - * @author ruoyi - * @date 2022-11-10 - */ -@Controller -@RequestMapping("/system/qutsourcingquotation") -public class SysQutsourcingQuotationController extends BaseController -{ - private String prefix = "system/qutsourcingquotation"; - - @Autowired - private ISysQutsourcingQuotationService sysQutsourcingQuotationService; - - @RequiresPermissions("system:qutsourcingquotation:view") - @GetMapping() - public String qutsourcingquotation() - { - return prefix + "/qutsourcingquotation"; - } - - /** - * 查询委外报价列表 - */ - @RequiresPermissions("system:qutsourcingquotation:list") - @PostMapping("/list") - @ResponseBody - public TableDataInfo list(SysQutsourcingQuotation sysQutsourcingQuotation) - { - startPage(); - List list = sysQutsourcingQuotationService.selectSysQutsourcingQuotationList(sysQutsourcingQuotation); - return getDataTable(list); - } - - /** - * 导出委外报价列表 - */ - @RequiresPermissions("system:qutsourcingquotation:export") - @Log(title = "委外报价", businessType = BusinessType.EXPORT) - @PostMapping("/export") - @ResponseBody - public AjaxResult export(SysQutsourcingQuotation sysQutsourcingQuotation) - { - List list = sysQutsourcingQuotationService.selectSysQutsourcingQuotationList(sysQutsourcingQuotation); - ExcelUtil util = new ExcelUtil(SysQutsourcingQuotation.class); - return util.exportExcel(list, "委外报价数据"); - } - - /** - * 新增委外报价 - */ - @GetMapping("/add") - public String add() - { - return prefix + "/add"; - } - - /** - * 新增保存委外报价 - */ - @RequiresPermissions("system:qutsourcingquotation:add") - @Log(title = "委外报价", businessType = BusinessType.INSERT) - @PostMapping("/add") - @ResponseBody - public AjaxResult addSave(SysQutsourcingQuotation sysQutsourcingQuotation) - { - return toAjax(sysQutsourcingQuotationService.insertSysQutsourcingQuotation(sysQutsourcingQuotation)); - } - - /** - * 修改委外报价 - */ - @GetMapping("/edit/{qutsourcingQuotationId}") - public String edit(@PathVariable("qutsourcingQuotationId") Long qutsourcingQuotationId, ModelMap mmap) - { - SysQutsourcingQuotation sysQutsourcingQuotation = sysQutsourcingQuotationService.selectSysQutsourcingQuotationById(qutsourcingQuotationId); - mmap.put("sysQutsourcingQuotation", sysQutsourcingQuotation); - return prefix + "/edit"; - } - - /** - * 修改保存委外报价 - */ - @RequiresPermissions("system:qutsourcingquotation:edit") - @Log(title = "委外报价", businessType = BusinessType.UPDATE) - @PostMapping("/edit") - @ResponseBody - public AjaxResult editSave(SysQutsourcingQuotation sysQutsourcingQuotation) - { - return toAjax(sysQutsourcingQuotationService.updateSysQutsourcingQuotation(sysQutsourcingQuotation)); - } - - /** - * 删除委外报价 - */ - @RequiresPermissions("system:qutsourcingquotation:remove") - @Log(title = "委外报价", businessType = BusinessType.DELETE) - @PostMapping( "/remove") - @ResponseBody - public AjaxResult remove(String ids) - { - return toAjax(sysQutsourcingQuotationService.deleteSysQutsourcingQuotationByIds(ids)); - } - - /** - * 获取报价编号 - */ - @PostMapping("/getId") - @ResponseBody - public Result getId() throws Exception { - return Result.getSuccessResult(sysQutsourcingQuotationService.getId()); - } -} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/system/domain/SysQutsourcingQuotation.java b/ruoyi-admin/src/main/java/com/ruoyi/system/domain/SysQutsourcingQuotation.java deleted file mode 100644 index 451a88a0..00000000 --- a/ruoyi-admin/src/main/java/com/ruoyi/system/domain/SysQutsourcingQuotation.java +++ /dev/null @@ -1,483 +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_qutsourcing_quotation - * - * @author ruoyi - * @date 2022-11-10 - */ -public class SysQutsourcingQuotation extends BaseEntity -{ - private static final long serialVersionUID = 1L; - - /** 委外报价id */ - private Long qutsourcingQuotationId; - - /** 报价编码 */ - @Excel(name = "报价编码") - private String quotationCode; - - /** 物料代码 */ - @Excel(name = "物料代码") - private String materialCode; - - /** 物料名称 */ - @Excel(name = "物料名称") - private String materialName; - - /** 规格型号 */ - @Excel(name = "规格型号") - private String specificationModel; - - /** 成品机种 */ - @Excel(name = "成品机种") - private String typeMachine; - - /** 计量单位 */ - @Excel(name = "计量单位") - private String measurementUnit; - - /** 报价币别 */ - @Excel(name = "报价币别") - private String commonCurrency; - - /** 加工单价 */ - @Excel(name = "加工单价") - private String processPrice; - - /** 加工工序名称 */ - @Excel(name = "加工工序名称") - private String processingProcedureName; - - /** 加工工序编号 */ - @Excel(name = "加工工序编号") - private String processingProcedureCode; - - /** 加工商编号 */ - @Excel(name = "加工商编号") - private String converterCode; - - /** 加工商名称 */ - @Excel(name = "加工商名称") - private String converterName; - - /** 报价日期 */ - @Excel(name = "报价日期") - private String pricingDate; - - /** 库存单位 */ - @Excel(name = "库存单位") - private String inventoryUnit; - - /** 交税税率 */ - @Excel(name = "交税税率") - private String taxRate; - - /** 每采购单位对应多少库存单位 */ - @Excel(name = "每采购单位对应多少库存单位") - private String relationalFormula; - - /** 备注 */ - @Excel(name = "备注") - private String quotationExplain; - - /** 是否为当前报价 */ - @Excel(name = "是否为当前报价") - private String currentQuote; - - /** 登记人 */ - @Excel(name = "登记人") - private String registrant; - - /** 确认否 */ - @Excel(name = "确认否") - private String confirmNo; - - /** 确认人 */ - @Excel(name = "确认人") - private String confirmName; - - /** 确认时间 */ - @Excel(name = "确认时间") - private String confirmTime; - - /** 审核否 */ - @Excel(name = "审核否") - private String auditNo; - - /** 审核人 */ - @Excel(name = "审核人") - private String auditName; - - /** 审核时间 */ - @Excel(name = "审核时间") - private String auditTime; - - /** 核准否 */ - @Excel(name = "核准否") - private String approveNo; - - /** 核准人 */ - @Excel(name = "核准人") - private String approveName; - - /** 核准时间 */ - @Excel(name = "核准时间") - private String approveTime; - - /** 备用一 */ - @Excel(name = "备用一") - private String standbyOne; - - /** 备用二 */ - @Excel(name = "备用二") - private String standbyTwo; - - /** 录入时间 */ - @Excel(name = "录入时间") - private String firstAddTime; - - /** 修改时间 */ - @Excel(name = "修改时间") - private String updateInfoTime; - - public void setQutsourcingQuotationId(Long qutsourcingQuotationId) - { - this.qutsourcingQuotationId = qutsourcingQuotationId; - } - - public Long getQutsourcingQuotationId() - { - return qutsourcingQuotationId; - } - public void setQuotationCode(String quotationCode) - { - this.quotationCode = quotationCode; - } - - public String getQuotationCode() - { - return quotationCode; - } - public void setMaterialCode(String materialCode) - { - this.materialCode = materialCode; - } - - public String getMaterialCode() - { - return materialCode; - } - public void setMaterialName(String materialName) - { - this.materialName = materialName; - } - - public String getMaterialName() - { - return materialName; - } - public void setSpecificationModel(String specificationModel) - { - this.specificationModel = specificationModel; - } - - public String getSpecificationModel() - { - return specificationModel; - } - public void setTypeMachine(String typeMachine) - { - this.typeMachine = typeMachine; - } - - public String getTypeMachine() - { - return typeMachine; - } - public void setMeasurementUnit(String measurementUnit) - { - this.measurementUnit = measurementUnit; - } - - public String getMeasurementUnit() - { - return measurementUnit; - } - public void setCommonCurrency(String commonCurrency) - { - this.commonCurrency = commonCurrency; - } - - public String getCommonCurrency() - { - return commonCurrency; - } - public void setProcessPrice(String processPrice) - { - this.processPrice = processPrice; - } - - public String getProcessPrice() - { - return processPrice; - } - public void setProcessingProcedureName(String processingProcedureName) - { - this.processingProcedureName = processingProcedureName; - } - - public String getProcessingProcedureName() - { - return processingProcedureName; - } - public void setProcessingProcedureCode(String processingProcedureCode) - { - this.processingProcedureCode = processingProcedureCode; - } - - public String getProcessingProcedureCode() - { - return processingProcedureCode; - } - public void setConverterCode(String converterCode) - { - this.converterCode = converterCode; - } - - public String getConverterCode() - { - return converterCode; - } - public void setConverterName(String converterName) - { - this.converterName = converterName; - } - - public String getConverterName() - { - return converterName; - } - public void setPricingDate(String pricingDate) - { - this.pricingDate = pricingDate; - } - - public String getPricingDate() - { - return pricingDate; - } - public void setInventoryUnit(String inventoryUnit) - { - this.inventoryUnit = inventoryUnit; - } - - public String getInventoryUnit() - { - return inventoryUnit; - } - public void setTaxRate(String taxRate) - { - this.taxRate = taxRate; - } - - public String getTaxRate() - { - return taxRate; - } - public void setRelationalFormula(String relationalFormula) - { - this.relationalFormula = relationalFormula; - } - - public String getRelationalFormula() - { - return relationalFormula; - } - public void setQuotationExplain(String quotationExplain) - { - this.quotationExplain = quotationExplain; - } - - public String getQuotationExplain() - { - return quotationExplain; - } - public void setCurrentQuote(String currentQuote) - { - this.currentQuote = currentQuote; - } - - public String getCurrentQuote() - { - return currentQuote; - } - public void setRegistrant(String registrant) - { - this.registrant = registrant; - } - - public String getRegistrant() - { - return registrant; - } - public void setConfirmNo(String confirmNo) - { - this.confirmNo = confirmNo; - } - - public String getConfirmNo() - { - return confirmNo; - } - public void setConfirmName(String confirmName) - { - this.confirmName = confirmName; - } - - public String getConfirmName() - { - return confirmName; - } - public void setConfirmTime(String confirmTime) - { - this.confirmTime = confirmTime; - } - - public String getConfirmTime() - { - return confirmTime; - } - public void setAuditNo(String auditNo) - { - this.auditNo = auditNo; - } - - public String getAuditNo() - { - return auditNo; - } - public void setAuditName(String auditName) - { - this.auditName = auditName; - } - - public String getAuditName() - { - return auditName; - } - public void setAuditTime(String auditTime) - { - this.auditTime = auditTime; - } - - public String getAuditTime() - { - return auditTime; - } - public void setApproveNo(String approveNo) - { - this.approveNo = approveNo; - } - - public String getApproveNo() - { - return approveNo; - } - public void setApproveName(String approveName) - { - this.approveName = approveName; - } - - public String getApproveName() - { - return approveName; - } - public void setApproveTime(String approveTime) - { - this.approveTime = approveTime; - } - - public String getApproveTime() - { - return approveTime; - } - public void setStandbyOne(String standbyOne) - { - this.standbyOne = standbyOne; - } - - public String getStandbyOne() - { - return standbyOne; - } - public void setStandbyTwo(String standbyTwo) - { - this.standbyTwo = standbyTwo; - } - - public String getStandbyTwo() - { - return standbyTwo; - } - - 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("qutsourcingQuotationId", getQutsourcingQuotationId()) - .append("quotationCode", getQuotationCode()) - .append("materialCode", getMaterialCode()) - .append("materialName", getMaterialName()) - .append("specificationModel", getSpecificationModel()) - .append("typeMachine", getTypeMachine()) - .append("measurementUnit", getMeasurementUnit()) - .append("commonCurrency", getCommonCurrency()) - .append("processPrice", getProcessPrice()) - .append("processingProcedureName", getProcessingProcedureName()) - .append("processingProcedureCode", getProcessingProcedureCode()) - .append("converterCode", getConverterCode()) - .append("converterName", getConverterName()) - .append("pricingDate", getPricingDate()) - .append("inventoryUnit", getInventoryUnit()) - .append("taxRate", getTaxRate()) - .append("relationalFormula", getRelationalFormula()) - .append("quotationExplain", getQuotationExplain()) - .append("currentQuote", getCurrentQuote()) - .append("registrant", getRegistrant()) - .append("confirmNo", getConfirmNo()) - .append("confirmName", getConfirmName()) - .append("confirmTime", getConfirmTime()) - .append("auditNo", getAuditNo()) - .append("auditName", getAuditName()) - .append("auditTime", getAuditTime()) - .append("approveNo", getApproveNo()) - .append("approveName", getApproveName()) - .append("approveTime", getApproveTime()) - .append("standbyOne", getStandbyOne()) - .append("standbyTwo", getStandbyTwo()) - .append("firstAddTime", getFirstAddTime()) - .append("updateInfoTime", getUpdateInfoTime()) - .toString(); - } -} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/system/mapper/SysQutsourcingQuotationMapper.java b/ruoyi-admin/src/main/java/com/ruoyi/system/mapper/SysQutsourcingQuotationMapper.java deleted file mode 100644 index ba4a2c45..00000000 --- a/ruoyi-admin/src/main/java/com/ruoyi/system/mapper/SysQutsourcingQuotationMapper.java +++ /dev/null @@ -1,61 +0,0 @@ -package com.ruoyi.system.mapper; - -import java.util.List; -import com.ruoyi.system.domain.SysQutsourcingQuotation; - -/** - * 委外报价Mapper接口 - * - * @author ruoyi - * @date 2022-11-10 - */ -public interface SysQutsourcingQuotationMapper -{ - /** - * 查询委外报价 - * - * @param qutsourcingQuotationId 委外报价ID - * @return 委外报价 - */ - public SysQutsourcingQuotation selectSysQutsourcingQuotationById(Long qutsourcingQuotationId); - - /** - * 查询委外报价列表 - * - * @param sysQutsourcingQuotation 委外报价 - * @return 委外报价集合 - */ - public List selectSysQutsourcingQuotationList(SysQutsourcingQuotation sysQutsourcingQuotation); - - /** - * 新增委外报价 - * - * @param sysQutsourcingQuotation 委外报价 - * @return 结果 - */ - public int insertSysQutsourcingQuotation(SysQutsourcingQuotation sysQutsourcingQuotation); - - /** - * 修改委外报价 - * - * @param sysQutsourcingQuotation 委外报价 - * @return 结果 - */ - public int updateSysQutsourcingQuotation(SysQutsourcingQuotation sysQutsourcingQuotation); - - /** - * 删除委外报价 - * - * @param qutsourcingQuotationId 委外报价ID - * @return 结果 - */ - public int deleteSysQutsourcingQuotationById(Long qutsourcingQuotationId); - - /** - * 批量删除委外报价 - * - * @param qutsourcingQuotationIds 需要删除的数据ID - * @return 结果 - */ - public int deleteSysQutsourcingQuotationByIds(String[] qutsourcingQuotationIds); -} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/system/service/ISysQutsourcingQuotationService.java b/ruoyi-admin/src/main/java/com/ruoyi/system/service/ISysQutsourcingQuotationService.java deleted file mode 100644 index c3a1258b..00000000 --- a/ruoyi-admin/src/main/java/com/ruoyi/system/service/ISysQutsourcingQuotationService.java +++ /dev/null @@ -1,64 +0,0 @@ -package com.ruoyi.system.service; - -import com.ruoyi.system.domain.SysQutsourcingQuotation; - -import java.util.List; - -/** - * 委外报价Service接口 - * - * @author ruoyi - * @date 2022-11-10 - */ -public interface ISysQutsourcingQuotationService -{ - /** - * 查询委外报价 - * - * @param qutsourcingQuotationId 委外报价ID - * @return 委外报价 - */ - public SysQutsourcingQuotation selectSysQutsourcingQuotationById(Long qutsourcingQuotationId); - - /** - * 查询委外报价列表 - * - * @param sysQutsourcingQuotation 委外报价 - * @return 委外报价集合 - */ - public List selectSysQutsourcingQuotationList(SysQutsourcingQuotation sysQutsourcingQuotation); - - /** - * 新增委外报价 - * - * @param sysQutsourcingQuotation 委外报价 - * @return 结果 - */ - public int insertSysQutsourcingQuotation(SysQutsourcingQuotation sysQutsourcingQuotation); - - /** - * 修改委外报价 - * - * @param sysQutsourcingQuotation 委外报价 - * @return 结果 - */ - public int updateSysQutsourcingQuotation(SysQutsourcingQuotation sysQutsourcingQuotation); - - /** - * 批量删除委外报价 - * - * @param ids 需要删除的数据ID - * @return 结果 - */ - public int deleteSysQutsourcingQuotationByIds(String ids); - - /** - * 删除委外报价信息 - * - * @param qutsourcingQuotationId 委外报价ID - * @return 结果 - */ - public int deleteSysQutsourcingQuotationById(Long qutsourcingQuotationId); - - public String getId(); -} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/system/service/impl/SysQutsourcingQuotationServiceImpl.java b/ruoyi-admin/src/main/java/com/ruoyi/system/service/impl/SysQutsourcingQuotationServiceImpl.java deleted file mode 100644 index e2da30e2..00000000 --- a/ruoyi-admin/src/main/java/com/ruoyi/system/service/impl/SysQutsourcingQuotationServiceImpl.java +++ /dev/null @@ -1,102 +0,0 @@ -package com.ruoyi.system.service.impl; - -import com.ruoyi.common.core.text.Convert; -import com.ruoyi.system.domain.SysQutsourcingQuotation; -import com.ruoyi.system.mapper.SysQutsourcingQuotationMapper; -import com.ruoyi.system.service.ISysQutsourcingQuotationService; -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.stereotype.Service; - -import java.text.SimpleDateFormat; -import java.util.List; - -/** - * 委外报价Service业务层处理 - * - * @author ruoyi - * @date 2022-11-10 - */ -@Service -public class SysQutsourcingQuotationServiceImpl implements ISysQutsourcingQuotationService -{ - @Autowired - private SysQutsourcingQuotationMapper sysQutsourcingQuotationMapper; - - /** - * 查询委外报价 - * - * @param qutsourcingQuotationId 委外报价ID - * @return 委外报价 - */ - @Override - public SysQutsourcingQuotation selectSysQutsourcingQuotationById(Long qutsourcingQuotationId) - { - return sysQutsourcingQuotationMapper.selectSysQutsourcingQuotationById(qutsourcingQuotationId); - } - - /** - * 查询委外报价列表 - * - * @param sysQutsourcingQuotation 委外报价 - * @return 委外报价 - */ - @Override - public List selectSysQutsourcingQuotationList(SysQutsourcingQuotation sysQutsourcingQuotation) - { - return sysQutsourcingQuotationMapper.selectSysQutsourcingQuotationList(sysQutsourcingQuotation); - } - - /** - * 新增委外报价 - * - * @param sysQutsourcingQuotation 委外报价 - * @return 结果 - */ - @Override - public int insertSysQutsourcingQuotation(SysQutsourcingQuotation sysQutsourcingQuotation) - { - return sysQutsourcingQuotationMapper.insertSysQutsourcingQuotation(sysQutsourcingQuotation); - } - - /** - * 修改委外报价 - * - * @param sysQutsourcingQuotation 委外报价 - * @return 结果 - */ - @Override - public int updateSysQutsourcingQuotation(SysQutsourcingQuotation sysQutsourcingQuotation) - { - return sysQutsourcingQuotationMapper.updateSysQutsourcingQuotation(sysQutsourcingQuotation); - } - - /** - * 删除委外报价对象 - * - * @param ids 需要删除的数据ID - * @return 结果 - */ - @Override - public int deleteSysQutsourcingQuotationByIds(String ids) - { - return sysQutsourcingQuotationMapper.deleteSysQutsourcingQuotationByIds(Convert.toStrArray(ids)); - } - - /** - * 删除委外报价信息 - * - * @param qutsourcingQuotationId 委外报价ID - * @return 结果 - */ - @Override - public int deleteSysQutsourcingQuotationById(Long qutsourcingQuotationId) - { - return sysQutsourcingQuotationMapper.deleteSysQutsourcingQuotationById(qutsourcingQuotationId); - } - - @Override - public String getId() { - String time = new SimpleDateFormat("yyyyMMddHHmmssSSS").format(System.currentTimeMillis()); - return "BJ" + time.substring(2); - } -} diff --git a/ruoyi-admin/src/main/resources/mapper/system/SysQutsourcingQuotationMapper.xml b/ruoyi-admin/src/main/resources/mapper/system/SysQutsourcingQuotationMapper.xml deleted file mode 100644 index b759f16e..00000000 --- a/ruoyi-admin/src/main/resources/mapper/system/SysQutsourcingQuotationMapper.xml +++ /dev/null @@ -1,184 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - select qutsourcing_quotation_id, quotation_code, material_code, material_name, specification_model, type_machine, measurement_unit, common_currency, process_price, processing_procedure_name, processing_procedure_code, converter_code, converter_name, pricing_date, inventory_unit, tax_rate, relational_formula, quotation_explain, current_quote, registrant, confirm_no, confirm_name, confirm_time, audit_no, audit_name, audit_time, approve_no, approve_name, approve_time, standby_one, standby_two , first_add_time, update_info_time from sys_qutsourcing_quotation - - - - - - - - insert into sys_qutsourcing_quotation - - quotation_code, - material_code, - material_name, - specification_model, - type_machine, - measurement_unit, - common_currency, - process_price, - processing_procedure_name, - processing_procedure_code, - converter_code, - converter_name, - pricing_date, - inventory_unit, - tax_rate, - relational_formula, - quotation_explain, - current_quote, - registrant, - confirm_no, - confirm_name, - confirm_time, - audit_no, - audit_name, - audit_time, - approve_no, - approve_name, - approve_time, - standby_one, - standby_two, - first_add_time, - - - #{quotationCode}, - #{materialCode}, - #{materialName}, - #{specificationModel}, - #{typeMachine}, - #{measurementUnit}, - #{commonCurrency}, - #{processPrice}, - #{processingProcedureName}, - #{processingProcedureCode}, - #{converterCode}, - #{converterName}, - #{pricingDate}, - #{inventoryUnit}, - #{taxRate}, - #{relationalFormula}, - #{quotationExplain}, - #{currentQuote}, - #{registrant}, - #{confirmNo}, - #{confirmName}, - #{confirmTime}, - #{auditNo}, - #{auditName}, - #{auditTime}, - #{approveNo}, - #{approveName}, - #{approveTime}, - #{standbyOne}, - #{standbyTwo}, - now(), - - - - - update sys_qutsourcing_quotation - - quotation_code = #{quotationCode}, - material_code = #{materialCode}, - material_name = #{materialName}, - specification_model = #{specificationModel}, - type_machine = #{typeMachine}, - measurement_unit = #{measurementUnit}, - common_currency = #{commonCurrency}, - process_price = #{processPrice}, - processing_procedure_name = #{processingProcedureName}, - processing_procedure_code = #{processingProcedureCode}, - converter_code = #{converterCode}, - converter_name = #{converterName}, - pricing_date = #{pricingDate}, - inventory_unit = #{inventoryUnit}, - tax_rate = #{taxRate}, - relational_formula = #{relationalFormula}, - quotation_explain = #{quotationExplain}, - current_quote = #{currentQuote}, - registrant = #{registrant}, - confirm_no = #{confirmNo}, - confirm_name = #{confirmName}, - confirm_time = #{confirmTime}, - audit_no = #{auditNo}, - audit_name = #{auditName}, - audit_time = #{auditTime}, - approve_no = #{approveNo}, - approve_name = #{approveName}, - approve_time = #{approveTime}, - standby_one = #{standbyOne}, - standby_two = #{standbyTwo}, - update_info_time = CONCAT_WS(',',NOW(),update_info_time), - - where qutsourcing_quotation_id = #{qutsourcingQuotationId} - - - - delete from sys_qutsourcing_quotation where qutsourcing_quotation_id = #{qutsourcingQuotationId} - - - - delete from sys_qutsourcing_quotation where qutsourcing_quotation_id in - - #{qutsourcingQuotationId} - - - - \ No newline at end of file diff --git a/ruoyi-admin/src/main/resources/templates/system/qutsourcingquotation/add.html b/ruoyi-admin/src/main/resources/templates/system/qutsourcingquotation/add.html deleted file mode 100644 index 81cff236..00000000 --- a/ruoyi-admin/src/main/resources/templates/system/qutsourcingquotation/add.html +++ /dev/null @@ -1,533 +0,0 @@ - - - - - - - - - - - -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
-
- - -
-
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
-
- - -
-
-
-
- -
- - -
-
- - - - - - - - - - - - - -
-
- - - - - - - - \ No newline at end of file diff --git a/ruoyi-admin/src/main/resources/templates/system/qutsourcingquotation/edit.html b/ruoyi-admin/src/main/resources/templates/system/qutsourcingquotation/edit.html deleted file mode 100644 index b6adaa10..00000000 --- a/ruoyi-admin/src/main/resources/templates/system/qutsourcingquotation/edit.html +++ /dev/null @@ -1,441 +0,0 @@ - - - - - - - - - - -
-
- -
- -
- -
-
-
- -
- - - - - -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
-
- - -
-
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
-
- - -
-
-
-
- -
- - -
-
- - - - - - - - - - - - - -
-
- - - - - - \ No newline at end of file diff --git a/ruoyi-admin/src/main/resources/templates/system/qutsourcingquotation/qutsourcingquotation.html b/ruoyi-admin/src/main/resources/templates/system/qutsourcingquotation/qutsourcingquotation.html deleted file mode 100644 index 15adfcf9..00000000 --- a/ruoyi-admin/src/main/resources/templates/system/qutsourcingquotation/qutsourcingquotation.html +++ /dev/null @@ -1,650 +0,0 @@ - - - - - - -
-
-
-
-
-
    -
  • - - -
  • -
  • - - - - - - - -
  • -
  • - - -
  • -
  • - - - - - - - -
  • -
  • - - -
  • -
  • - - -
  • -
  • - - -
  • -
  • -  搜索 -  重置 -
  • -
-
-
-
- - -
-
-
-
-
- - - -
审核成功
- - - - -
委外报价已核准
- - - - - -
委外报价已确认
- - - - - - - \ No newline at end of file