diff --git a/ruoyi-admin/src/main/java/com/ruoyi/system/controller/SysDrawingController.java b/ruoyi-admin/src/main/java/com/ruoyi/system/controller/SysDrawingController.java deleted file mode 100644 index 116652bf..00000000 --- a/ruoyi-admin/src/main/java/com/ruoyi/system/controller/SysDrawingController.java +++ /dev/null @@ -1,178 +0,0 @@ -package com.ruoyi.system.controller; - -import com.ruoyi.common.annotation.Log; -import com.ruoyi.common.config.RuoYiConfig; -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.file.FileUploadUtils; -import com.ruoyi.common.utils.file.FileUtils; -import com.ruoyi.common.utils.poi.ExcelUtil; -import com.ruoyi.system.domain.SysDrawing; -import com.ruoyi.system.service.ISysDrawingService; -import org.apache.shiro.authz.annotation.RequiresPermissions; -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.http.MediaType; -import org.springframework.stereotype.Controller; -import org.springframework.ui.ModelMap; -import org.springframework.web.bind.annotation.*; -import org.springframework.web.multipart.MultipartFile; - -import javax.servlet.http.HttpServletRequest; -import javax.servlet.http.HttpServletResponse; -import java.util.List; - -/** - * 图纸资料Controller - * - * @author ruoyi - * @date 2022-10-26 - */ -@Controller -@RequestMapping("/system/drawing") -public class SysDrawingController extends BaseController -{ - private String prefix = "system/drawing"; - - @Autowired - private ISysDrawingService sysDrawingService; - - @RequiresPermissions("system:drawing:view") - @GetMapping() - public String drawing() - { - return prefix + "/drawing"; - } - - /** - * 查询图纸资料列表 - */ - @RequiresPermissions("system:drawing:list") - @PostMapping("/list") - @ResponseBody - public TableDataInfo list(SysDrawing sysDrawing) - { - startPage(); - List list = sysDrawingService.selectSysDrawingList(sysDrawing); - return getDataTable(list); - } - - /** - * 导出图纸资料列表 - */ - @RequiresPermissions("system:drawing:export") - @Log(title = "图纸资料", businessType = BusinessType.EXPORT) - @PostMapping("/export") - @ResponseBody - public AjaxResult export(SysDrawing sysDrawing) - { - List list = sysDrawingService.selectSysDrawingList(sysDrawing); - ExcelUtil util = new ExcelUtil(SysDrawing.class); - return util.exportExcel(list, "图纸资料数据"); - } - - /** - * 新增图纸资料 - */ - @GetMapping("/add") - public String add() - { - return prefix + "/add"; - } - - /** - * 新增保存图纸资料 - */ - @RequiresPermissions("system:drawing:add") - @Log(title = "图纸资料", businessType = BusinessType.INSERT) - @PostMapping("/add") - @ResponseBody - public AjaxResult addSave(SysDrawing sysDrawing) - { - return toAjax(sysDrawingService.insertSysDrawing(sysDrawing)); - } - - /** - * 修改图纸资料 - */ - @GetMapping("/edit/{drawingId}") - public String edit(@PathVariable("drawingId") Long drawingId, ModelMap mmap) - { - SysDrawing sysDrawing = sysDrawingService.selectSysDrawingById(drawingId); - mmap.put("sysDrawing", sysDrawing); - return prefix + "/edit"; - } - - /** - * 修改保存图纸资料 - */ - @RequiresPermissions("system:drawing:edit") - @Log(title = "图纸资料", businessType = BusinessType.UPDATE) - @PostMapping("/edit") - @ResponseBody - public AjaxResult editSave(SysDrawing sysDrawing) - { - return toAjax(sysDrawingService.updateSysDrawing(sysDrawing)); - } - - /** - * 删除图纸资料 - */ - @RequiresPermissions("system:drawing:remove") - @Log(title = "图纸资料", businessType = BusinessType.DELETE) - @PostMapping( "/remove") - @ResponseBody - public AjaxResult remove(String ids) - { - return toAjax(sysDrawingService.deleteSysDrawingByIds(ids)); - } - - @PostMapping("/upload") - @ResponseBody - public AjaxResult uploadFile(MultipartFile file) throws Exception - { - try - { - // 上传文件路径 - String filePath = RuoYiConfig.getUploadPath(); - String modalName = prefix.substring(prefix.lastIndexOf("/")+1); - String filePathNow = filePath + "/" + modalName; - // 上传并返回新文件名称 - String fileName = FileUploadUtils.upload(filePathNow, file); - String url = filePathNow + fileName; - AjaxResult ajax = AjaxResult.success(); - ajax.put("fileName", fileName); - ajax.put("url", url); - return ajax; - } - catch (Exception e) - { - return AjaxResult.error(e.getMessage()); - } - } - - - @RequestMapping ("/downloadFile") - public void downloadFile(String filepath, HttpServletResponse response, - HttpServletRequest request) throws Exception - { - String fileNameNow = filepath.substring(filepath.lastIndexOf("/")+1); - - try - { -// System.out.println(fileName); - String filePath = filepath; - - response.setContentType(MediaType.APPLICATION_OCTET_STREAM_VALUE); - FileUtils.setAttachmentResponseHeader(response, fileNameNow); - FileUtils.writeBytes(filePath, response.getOutputStream()); - - } - catch (Exception e) - { - System.out.println("fail"); - } - } - -} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/system/controller/SysProductQuotationController.java b/ruoyi-admin/src/main/java/com/ruoyi/system/controller/SysProductQuotationController.java deleted file mode 100644 index 77086ff2..00000000 --- a/ruoyi-admin/src/main/java/com/ruoyi/system/controller/SysProductQuotationController.java +++ /dev/null @@ -1,285 +0,0 @@ -package com.ruoyi.system.controller; - -import com.alibaba.excel.EasyExcel; -import com.alibaba.excel.ExcelWriter; -import com.alibaba.excel.util.MapUtils; -import com.alibaba.excel.write.metadata.WriteSheet; -import com.alibaba.excel.write.metadata.fill.FillConfig; -import com.alibaba.fastjson.JSONArray; -import com.alibaba.fastjson.JSONObject; -import com.ruoyi.ck.utils.Result; -import com.ruoyi.common.annotation.Log; -import com.ruoyi.common.config.RuoYiConfig; -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.file.FileUploadUtils; -import com.ruoyi.common.utils.file.FileUtils; -import com.ruoyi.common.utils.poi.ExcelUtil; -import com.ruoyi.system.domain.SysCustomer; -import com.ruoyi.system.domain.SysProductQuotation; -import com.ruoyi.system.domain.exportDto.SysCustomerDto; -import com.ruoyi.system.domain.exportDto.SysProductQuotationDto; -import com.ruoyi.system.service.ISysCustomerService; -import com.ruoyi.system.service.ISysProductQuotationService; -import org.apache.shiro.authz.annotation.RequiresPermissions; -import org.springframework.beans.BeanUtils; -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.http.MediaType; -import org.springframework.stereotype.Controller; -import org.springframework.ui.ModelMap; -import org.springframework.web.bind.annotation.*; -import org.springframework.web.multipart.MultipartFile; - -import javax.servlet.http.HttpServletRequest; -import javax.servlet.http.HttpServletResponse; -import java.io.IOException; -import java.net.URLEncoder; -import java.util.ArrayList; -import java.util.Iterator; -import java.util.List; -import java.util.Map; - -import static com.ruoyi.common.config.datasource.DynamicDataSourceContextHolder.log; - -/** - * 产品报价Controller - * - * @author ruoyi - * @date 2022-11-15 - */ -@Controller -@RequestMapping("/system/productquotation") -public class SysProductQuotationController extends BaseController -{ - private String prefix = "system/productquotation"; - - @Autowired - private ISysProductQuotationService sysProductQuotationService; - @Autowired - private ISysCustomerService sysCustomerService; - - @RequiresPermissions("system:productquotation:view") - @GetMapping() - public String productquotation() - { - return prefix + "/productquotation"; - } - - /** - * 查询产品报价列表 - */ - @RequiresPermissions("system:productquotation:list") - @PostMapping("/list") - @ResponseBody - public TableDataInfo list(SysProductQuotation sysProductQuotation) - { - startPage(); - List list = sysProductQuotationService.selectSysProductQuotationList(sysProductQuotation); - return getDataTable(list); - } - - /** - * 导出产品报价列表 - */ - @RequiresPermissions("system:productquotation:export") - @Log(title = "产品报价", businessType = BusinessType.EXPORT) - @PostMapping("/export") - @ResponseBody - public AjaxResult export(SysProductQuotation sysProductQuotation) - { - List list = sysProductQuotationService.selectSysProductQuotationList(sysProductQuotation); - ExcelUtil util = new ExcelUtil(SysProductQuotation.class); - return util.exportExcel(list, "产品报价数据"); - } - - /** - * 新增产品报价 - */ - @GetMapping("/add") - public String add() - { - return prefix + "/add"; - } - - /** - * 新增保存产品报价 - */ - @RequiresPermissions("system:productquotation:add") - @Log(title = "产品报价", businessType = BusinessType.INSERT) - @PostMapping("/add") - @ResponseBody - public AjaxResult addSave(SysProductQuotation sysProductQuotation) - { - return toAjax(sysProductQuotationService.insertSysProductQuotation(sysProductQuotation)); - } - - /** - * 修改产品报价 - */ - @GetMapping("/edit/{productQuotationId}") - public String edit(@PathVariable("productQuotationId") Long productQuotationId, ModelMap mmap) - { - SysProductQuotation sysProductQuotation = sysProductQuotationService.selectSysProductQuotationById(productQuotationId); - mmap.put("sysProductQuotation", sysProductQuotation); - return prefix + "/edit"; - } - - /** - * 修改保存产品报价 - */ - @RequiresPermissions("system:productquotation:edit") - @Log(title = "产品报价", businessType = BusinessType.UPDATE) - @PostMapping("/edit") - @ResponseBody - public AjaxResult editSave(SysProductQuotation sysProductQuotation) - { - return toAjax(sysProductQuotationService.updateSysProductQuotation(sysProductQuotation)); - } - - /** - * 删除产品报价 - */ - @RequiresPermissions("system:productquotation:remove") - @Log(title = "产品报价", businessType = BusinessType.DELETE) - @PostMapping( "/remove") - @ResponseBody - public AjaxResult remove(String ids) - { - return toAjax(sysProductQuotationService.deleteSysProductQuotationByIds(ids)); - } - - - @RequiresPermissions("system:productquotation:export") - @Log(title = "产品报价", businessType = BusinessType.EXPORT) - @RequestMapping("/exportProductQuotation") - @ResponseBody - public void exportProductQuotation(@RequestBody String scData, HttpServletResponse response) throws IOException { - - //数据处理 -// System.out.println(scData); - - JSONObject jsonObject = JSONObject.parseObject(scData); -// System.out.println(jsonObject); - - JSONObject scDataJSON = jsonObject.getJSONObject("scData"); -// System.out.println(scDataJSON); - -// JSONArray jsonArray1 = scDataJSON.getJSONArray("selectData"); -// List selectDataList = JSONObject.parseArray(String.valueOf(jsonArray1), SysProductQuotationDto.class); - JSONArray jsonArray2 = scDataJSON.getJSONArray("customerData"); - List customerDataList = JSONObject.parseArray(String.valueOf(jsonArray2), SysCustomer.class); - String pricingDate = scDataJSON.getString("pricingDate").replace("\"",""); -// System.out.println(selectDataList); -// System.out.println(customerDataList); - - //获取基础信息 - SysCustomer sysCustomer = sysCustomerService.selectSysCustomerById(customerDataList.get(0).getId()); - SysCustomerDto sysCustomerDto = new SysCustomerDto(); - BeanUtils.copyProperties(sysCustomer,sysCustomerDto); - - //产品信息 - SysProductQuotation sysProductQuotation = new SysProductQuotation(); - sysProductQuotation.setEnterpriseCode(customerDataList.get(0).getEnterpriseCode()); - sysProductQuotation.setEnterpriseName(customerDataList.get(0).getEnterpriseName()); - sysProductQuotation.setPricingDate(pricingDate); - List sysProductQuotationList = sysProductQuotationService.selectSysProductQuotationList(sysProductQuotation); - List sysProductQuotationDtoList = new ArrayList<>(); - try { - Iterator values= sysProductQuotationList.iterator(); - while(values.hasNext()) { - Object source = values.next(); - SysProductQuotationDto target = SysProductQuotationDto.class.newInstance(); - BeanUtils.copyProperties(source, target); - sysProductQuotationDtoList.add(target); - } - }catch (Exception e) { - log.error(">>>>>>异常<<<<<<", e); - } - int num = 0; - for (int i = 0; i < sysProductQuotationDtoList.size(); i++) { - num = num + 1; - sysProductQuotationDtoList.get(i).setNumber(num); - } -// System.out.println(sysProductQuotationDtoList); - - - //填充表格 - 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\\exportProductQuotation.xlsx"; - try (ExcelWriter excelWriter = EasyExcel.write(response.getOutputStream(), SysProductQuotationDto.class).withTemplate(templateFileName).build()) { - WriteSheet writeSheet = EasyExcel.writerSheet().build(); - FillConfig fillConfig = FillConfig.builder().forceNewRow(Boolean.TRUE).build(); - excelWriter.fill(sysProductQuotationDtoList, fillConfig, writeSheet); - Map map = MapUtils.newHashMap(); - map.put("enterpriseName", sysCustomerDto.getEnterpriseName()); - map.put("contactNumber", sysCustomerDto.getContactNumber()); - map.put("customerFax", sysCustomerDto.getCustomerFax()); - map.put("customerContact", sysCustomerDto.getCustomerContact()); - map.put("commonCurrency", sysCustomerDto.getCommonCurrency()); - map.put("taxRate", sysCustomerDto.getTaxRate()); - map.put("pricingDate", pricingDate); - excelWriter.fill(map, writeSheet); - } - } - - - @PostMapping("/upload") - @ResponseBody - public AjaxResult uploadFile(MultipartFile file) throws Exception - { - try - { - // 上传文件路径 - String filePath = RuoYiConfig.getUploadPath(); - String modalName = prefix.substring(prefix.lastIndexOf("/")+1); - String filePathNow = filePath + "/" + modalName; - // 上传并返回新文件名称 - String fileName = FileUploadUtils.upload(filePathNow, file); - String url = filePathNow + fileName; - AjaxResult ajax = AjaxResult.success(); - ajax.put("fileName", fileName); - ajax.put("url", url); - return ajax; - } - catch (Exception e) - { - return AjaxResult.error(e.getMessage()); - } - } - - - @RequestMapping ("/downloadFile") - public void downloadFile(String filepath, HttpServletResponse response, - HttpServletRequest request) throws Exception - { - String fileNameNow = filepath.substring(filepath.lastIndexOf("/")+1); - - try - { -// System.out.println(fileName); - String filePath = filepath; - - response.setContentType(MediaType.APPLICATION_OCTET_STREAM_VALUE); - FileUtils.setAttachmentResponseHeader(response, fileNameNow); - FileUtils.writeBytes(filePath, response.getOutputStream()); - - } - catch (Exception e) - { - System.out.println("fail"); - } - } - - /** - * 获取报价编号 - */ - @PostMapping("/getId") - @ResponseBody - public Result getId() throws Exception { - return Result.getSuccessResult(sysProductQuotationService.getId()); - } -} 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/SysDrawing.java b/ruoyi-admin/src/main/java/com/ruoyi/system/domain/SysDrawing.java deleted file mode 100644 index 556cfe0c..00000000 --- a/ruoyi-admin/src/main/java/com/ruoyi/system/domain/SysDrawing.java +++ /dev/null @@ -1,132 +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_drawing - * - * @author ruoyi - * @date 2022-10-26 - */ -public class SysDrawing extends BaseEntity -{ - private static final long serialVersionUID = 1L; - - /** 图纸id */ - private Long drawingId; - - /** 图纸编码 */ - @Excel(name = "图纸编码") - private String drawingCode; - - /** 图纸类别 */ - @Excel(name = "图纸类别") - private String drawingMaterialCategory; - - /** 备注 */ - @Excel(name = "备注") - private String drawingRemarks; - - /** 图纸上传 */ - @Excel(name = "图纸上传") - private String drawingUpload; - - /** 上传人 */ - @Excel(name = "图纸上传") - private String uploadPerson; - - /** 录入时间 */ - @Excel(name = "录入时间") - private String firstAddTime; - - /** 修改时间 */ - @Excel(name = "修改时间") - private String updateInfoTime; - - public void setDrawingId(Long drawingId) - { - this.drawingId = drawingId; - } - - public Long getDrawingId() - { - return drawingId; - } - public void setDrawingCode(String drawingCode) - { - this.drawingCode = drawingCode; - } - - public String getDrawingCode() - { - return drawingCode; - } - public void setDrawingMaterialCategory(String drawingMaterialCategory) - { - this.drawingMaterialCategory = drawingMaterialCategory; - } - - public String getDrawingMaterialCategory() - { - return drawingMaterialCategory; - } - public void setDrawingRemarks(String drawingRemarks) - { - this.drawingRemarks = drawingRemarks; - } - - public String getDrawingRemarks() - { - return drawingRemarks; - } - public void setDrawingUpload(String drawingUpload) - { - this.drawingUpload = drawingUpload; - } - - public String getDrawingUpload() - { - return drawingUpload; - } - - public String getUploadPerson() { - return uploadPerson; - } - - public void setUploadPerson(String uploadPerson) { - this.uploadPerson = uploadPerson; - } - - 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("drawingId", getDrawingId()) - .append("drawingCode", getDrawingCode()) - .append("drawingMaterialCategory", getDrawingMaterialCategory()) - .append("drawingRemarks", getDrawingRemarks()) - .append("drawingUpload", getDrawingUpload()) - .append("uploadPerson", getUploadPerson()) - .append("firstAddTime", getFirstAddTime()) - .append("updateInfoTime", getUpdateInfoTime()) - .toString(); - } -} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/system/domain/SysProductQuotation.java b/ruoyi-admin/src/main/java/com/ruoyi/system/domain/SysProductQuotation.java deleted file mode 100644 index 7a470112..00000000 --- a/ruoyi-admin/src/main/java/com/ruoyi/system/domain/SysProductQuotation.java +++ /dev/null @@ -1,568 +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_product_quotation - * - * @author ruoyi - * @date 2022-11-15 - */ -public class SysProductQuotation extends BaseEntity -{ - private static final long serialVersionUID = 1L; - - /** 产品报价id */ - private Long productQuotationId; - - /** 报价编码 */ - @Excel(name = "报价编码") - private String quotationCode; - - /** 成品代码 */ - @Excel(name = "成品代码") - private String finishProductCode; - - /** 成品名称 */ - @Excel(name = "成品名称") - private String finishProductName; - - /** 规格型号 */ - @Excel(name = "规格型号") - private String specificationModel; - - /** 机种 */ - @Excel(name = "机种") - private String typeMachine; - - /** 单位 */ - @Excel(name = "单位") - private String inventoryUnit; - - /** 币别 */ - @Excel(name = "币别") - private String commonCurrency; - - /** 单价 */ - @Excel(name = "单价") - private String processPrice; - - - /** 客户料号 */ - @Excel(name = "客户料号") - private String customerNumber; - - - /** 客户编号 */ - @Excel(name = "客户编号") - private String enterpriseCode; - - /** 客户名称 */ - @Excel(name = "客户名称") - private String enterpriseName; - - /** 登记人 */ - @Excel(name = "登记人") - private String registrant; - - /** 订价日期 */ - @Excel(name = "订价日期") - private String pricingDate; - - /** 税率 */ - @Excel(name = "税率") - private String taxRate; - - /** 不含税价 */ - @Excel(name = "不含税价") - private String priceExcludingTax; - - /** 含税价 */ - @Excel(name = "含税价") - private String priceIncludingTax; - - /** 上次价格 */ - @Excel(name = "上次价格") - private String lastPrice; - - /** 上次价格2 */ - @Excel(name = "上次价格2") - private String lastPriceEnd; - - /** 当前材料成本RMB */ - @Excel(name = "当前材料成本RMB") - private String costRmb; - - /** 当前汇率 */ - @Excel(name = "当前汇率") - private String currentExchangeRate; - - /** 材料占比 */ - @Excel(name = "材料占比") - private String proportionMaterials; - - /** 备注说明 */ - @Excel(name = "备注说明") - private String quotationExplain; - - /** 是否为当前报价 */ - @Excel(name = "是否为当前报价") - private String currentQuote; - - /** 是否含税 */ - @Excel(name = "是否含税") - private String confirmTax; - - /** 文件存储 */ - @Excel(name = "文件存储") - private String fileUpload; - - /** 确认否 */ - @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 setProductQuotationId(Long productQuotationId) - { - this.productQuotationId = productQuotationId; - } - - public Long getProductQuotationId() - { - return productQuotationId; - } - public void setQuotationCode(String quotationCode) - { - this.quotationCode = quotationCode; - } - - public String getQuotationCode() - { - return quotationCode; - } - public void setFinishProductCode(String finishProductCode) - { - this.finishProductCode = finishProductCode; - } - - public String getFinishProductCode() - { - return finishProductCode; - } - public void setFinishProductName(String finishProductName) - { - this.finishProductName = finishProductName; - } - - public String getFinishProductName() - { - return finishProductName; - } - 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 setInventoryUnit(String inventoryUnit) - { - this.inventoryUnit = inventoryUnit; - } - - public String getInventoryUnit() - { - return inventoryUnit; - } - 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 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 setRegistrant(String registrant) - { - this.registrant = registrant; - } - - public String getRegistrant() - { - return registrant; - } - public void setPricingDate(String pricingDate) - { - this.pricingDate = pricingDate; - } - - public String getPricingDate() - { - return pricingDate; - } - public void setTaxRate(String taxRate) - { - this.taxRate = taxRate; - } - - public String getTaxRate() - { - return taxRate; - } - public void setPriceExcludingTax(String priceExcludingTax) - { - this.priceExcludingTax = priceExcludingTax; - } - - public String getPriceExcludingTax() - { - return priceExcludingTax; - } - public void setPriceIncludingTax(String priceIncludingTax) - { - this.priceIncludingTax = priceIncludingTax; - } - - public String getPriceIncludingTax() - { - return priceIncludingTax; - } - public void setLastPrice(String lastPrice) - { - this.lastPrice = lastPrice; - } - - public String getLastPrice() - { - return lastPrice; - } - public void setLastPriceEnd(String lastPriceEnd) - { - this.lastPriceEnd = lastPriceEnd; - } - - public String getLastPriceEnd() - { - return lastPriceEnd; - } - public void setCostRmb(String costRmb) - { - this.costRmb = costRmb; - } - - public String getCostRmb() - { - return costRmb; - } - public void setCurrentExchangeRate(String currentExchangeRate) - { - this.currentExchangeRate = currentExchangeRate; - } - - public String getCurrentExchangeRate() - { - return currentExchangeRate; - } - public void setProportionMaterials(String proportionMaterials) - { - this.proportionMaterials = proportionMaterials; - } - - public String getProportionMaterials() - { - return proportionMaterials; - } - 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 setConfirmTax(String confirmTax) - { - this.confirmTax = confirmTax; - } - - public String getConfirmTax() - { - return confirmTax; - } - - public String getFileUpload() { - return fileUpload; - } - - public void setFileUpload(String fileUpload) { - this.fileUpload = fileUpload; - } - - 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; - } - - public String getCustomerNumber() { - return customerNumber; - } - - public void setCustomerNumber(String customerNumber) { - this.customerNumber = customerNumber; - } - - @Override - public String toString() { - return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) - .append("productQuotationId", getProductQuotationId()) - .append("quotationCode", getQuotationCode()) - .append("finishProductCode", getFinishProductCode()) - .append("finishProductName", getFinishProductName()) - .append("specificationModel", getSpecificationModel()) - .append("typeMachine", getTypeMachine()) - .append("inventoryUnit", getInventoryUnit()) - .append("commonCurrency", getCommonCurrency()) - .append("processPrice", getProcessPrice()) - .append("customerNumber", getCustomerNumber()) - .append("enterpriseCode", getEnterpriseCode()) - .append("enterpriseName", getEnterpriseName()) - .append("registrant", getRegistrant()) - .append("pricingDate", getPricingDate()) - .append("taxRate", getTaxRate()) - .append("priceExcludingTax", getPriceExcludingTax()) - .append("priceIncludingTax", getPriceIncludingTax()) - .append("lastPrice", getLastPrice()) - .append("lastPriceEnd", getLastPriceEnd()) - .append("costRmb", getCostRmb()) - .append("currentExchangeRate", getCurrentExchangeRate()) - .append("proportionMaterials", getProportionMaterials()) - .append("quotationExplain", getQuotationExplain()) - .append("currentQuote", getCurrentQuote()) - .append("confirmTax", getConfirmTax()) - .append("fileUpload", getFileUpload()) - .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/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/SysDrawingMapper.java b/ruoyi-admin/src/main/java/com/ruoyi/system/mapper/SysDrawingMapper.java deleted file mode 100644 index d8080902..00000000 --- a/ruoyi-admin/src/main/java/com/ruoyi/system/mapper/SysDrawingMapper.java +++ /dev/null @@ -1,61 +0,0 @@ -package com.ruoyi.system.mapper; - -import java.util.List; -import com.ruoyi.system.domain.SysDrawing; - -/** - * 图纸资料Mapper接口 - * - * @author ruoyi - * @date 2022-10-26 - */ -public interface SysDrawingMapper -{ - /** - * 查询图纸资料 - * - * @param drawingId 图纸资料ID - * @return 图纸资料 - */ - public SysDrawing selectSysDrawingById(Long drawingId); - - /** - * 查询图纸资料列表 - * - * @param sysDrawing 图纸资料 - * @return 图纸资料集合 - */ - public List selectSysDrawingList(SysDrawing sysDrawing); - - /** - * 新增图纸资料 - * - * @param sysDrawing 图纸资料 - * @return 结果 - */ - public int insertSysDrawing(SysDrawing sysDrawing); - - /** - * 修改图纸资料 - * - * @param sysDrawing 图纸资料 - * @return 结果 - */ - public int updateSysDrawing(SysDrawing sysDrawing); - - /** - * 删除图纸资料 - * - * @param drawingId 图纸资料ID - * @return 结果 - */ - public int deleteSysDrawingById(Long drawingId); - - /** - * 批量删除图纸资料 - * - * @param drawingIds 需要删除的数据ID - * @return 结果 - */ - public int deleteSysDrawingByIds(String[] drawingIds); -} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/system/mapper/SysProductQuotationMapper.java b/ruoyi-admin/src/main/java/com/ruoyi/system/mapper/SysProductQuotationMapper.java deleted file mode 100644 index 0a5223b7..00000000 --- a/ruoyi-admin/src/main/java/com/ruoyi/system/mapper/SysProductQuotationMapper.java +++ /dev/null @@ -1,61 +0,0 @@ -package com.ruoyi.system.mapper; - -import java.util.List; -import com.ruoyi.system.domain.SysProductQuotation; - -/** - * 产品报价Mapper接口 - * - * @author ruoyi - * @date 2022-11-15 - */ -public interface SysProductQuotationMapper -{ - /** - * 查询产品报价 - * - * @param productQuotationId 产品报价ID - * @return 产品报价 - */ - public SysProductQuotation selectSysProductQuotationById(Long productQuotationId); - - /** - * 查询产品报价列表 - * - * @param sysProductQuotation 产品报价 - * @return 产品报价集合 - */ - public List selectSysProductQuotationList(SysProductQuotation sysProductQuotation); - - /** - * 新增产品报价 - * - * @param sysProductQuotation 产品报价 - * @return 结果 - */ - public int insertSysProductQuotation(SysProductQuotation sysProductQuotation); - - /** - * 修改产品报价 - * - * @param sysProductQuotation 产品报价 - * @return 结果 - */ - public int updateSysProductQuotation(SysProductQuotation sysProductQuotation); - - /** - * 删除产品报价 - * - * @param productQuotationId 产品报价ID - * @return 结果 - */ - public int deleteSysProductQuotationById(Long productQuotationId); - - /** - * 批量删除产品报价 - * - * @param productQuotationIds 需要删除的数据ID - * @return 结果 - */ - public int deleteSysProductQuotationByIds(String[] productQuotationIds); -} 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/ISysDrawingService.java b/ruoyi-admin/src/main/java/com/ruoyi/system/service/ISysDrawingService.java deleted file mode 100644 index 8f56a2e1..00000000 --- a/ruoyi-admin/src/main/java/com/ruoyi/system/service/ISysDrawingService.java +++ /dev/null @@ -1,61 +0,0 @@ -package com.ruoyi.system.service; - -import java.util.List; -import com.ruoyi.system.domain.SysDrawing; - -/** - * 图纸资料Service接口 - * - * @author ruoyi - * @date 2022-10-26 - */ -public interface ISysDrawingService -{ - /** - * 查询图纸资料 - * - * @param drawingId 图纸资料ID - * @return 图纸资料 - */ - public SysDrawing selectSysDrawingById(Long drawingId); - - /** - * 查询图纸资料列表 - * - * @param sysDrawing 图纸资料 - * @return 图纸资料集合 - */ - public List selectSysDrawingList(SysDrawing sysDrawing); - - /** - * 新增图纸资料 - * - * @param sysDrawing 图纸资料 - * @return 结果 - */ - public int insertSysDrawing(SysDrawing sysDrawing); - - /** - * 修改图纸资料 - * - * @param sysDrawing 图纸资料 - * @return 结果 - */ - public int updateSysDrawing(SysDrawing sysDrawing); - - /** - * 批量删除图纸资料 - * - * @param ids 需要删除的数据ID - * @return 结果 - */ - public int deleteSysDrawingByIds(String ids); - - /** - * 删除图纸资料信息 - * - * @param drawingId 图纸资料ID - * @return 结果 - */ - public int deleteSysDrawingById(Long drawingId); -} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/system/service/ISysProductQuotationService.java b/ruoyi-admin/src/main/java/com/ruoyi/system/service/ISysProductQuotationService.java deleted file mode 100644 index 6ebf806a..00000000 --- a/ruoyi-admin/src/main/java/com/ruoyi/system/service/ISysProductQuotationService.java +++ /dev/null @@ -1,64 +0,0 @@ -package com.ruoyi.system.service; - -import com.ruoyi.system.domain.SysProductQuotation; - -import java.util.List; - -/** - * 产品报价Service接口 - * - * @author ruoyi - * @date 2022-11-15 - */ -public interface ISysProductQuotationService -{ - /** - * 查询产品报价 - * - * @param productQuotationId 产品报价ID - * @return 产品报价 - */ - public SysProductQuotation selectSysProductQuotationById(Long productQuotationId); - - /** - * 查询产品报价列表 - * - * @param sysProductQuotation 产品报价 - * @return 产品报价集合 - */ - public List selectSysProductQuotationList(SysProductQuotation sysProductQuotation); - - /** - * 新增产品报价 - * - * @param sysProductQuotation 产品报价 - * @return 结果 - */ - public int insertSysProductQuotation(SysProductQuotation sysProductQuotation); - - /** - * 修改产品报价 - * - * @param sysProductQuotation 产品报价 - * @return 结果 - */ - public int updateSysProductQuotation(SysProductQuotation sysProductQuotation); - - /** - * 批量删除产品报价 - * - * @param ids 需要删除的数据ID - * @return 结果 - */ - public int deleteSysProductQuotationByIds(String ids); - - /** - * 删除产品报价信息 - * - * @param productQuotationId 产品报价ID - * @return 结果 - */ - public int deleteSysProductQuotationById(Long productQuotationId); - - public String getId(); -} 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/SysDrawingServiceImpl.java b/ruoyi-admin/src/main/java/com/ruoyi/system/service/impl/SysDrawingServiceImpl.java deleted file mode 100644 index 38fa6753..00000000 --- a/ruoyi-admin/src/main/java/com/ruoyi/system/service/impl/SysDrawingServiceImpl.java +++ /dev/null @@ -1,95 +0,0 @@ -package com.ruoyi.system.service.impl; - -import com.ruoyi.common.core.text.Convert; -import com.ruoyi.system.domain.SysDrawing; -import com.ruoyi.system.mapper.SysDrawingMapper; -import com.ruoyi.system.service.ISysDrawingService; -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.stereotype.Service; - -import java.util.List; - -/** - * 图纸资料Service业务层处理 - * - * @author ruoyi - * @date 2022-10-26 - */ -@Service -public class SysDrawingServiceImpl implements ISysDrawingService -{ - @Autowired - private SysDrawingMapper sysDrawingMapper; - - /** - * 查询图纸资料 - * - * @param drawingId 图纸资料ID - * @return 图纸资料 - */ - @Override - public SysDrawing selectSysDrawingById(Long drawingId) - { - return sysDrawingMapper.selectSysDrawingById(drawingId); - } - - /** - * 查询图纸资料列表 - * - * @param sysDrawing 图纸资料 - * @return 图纸资料 - */ - @Override - public List selectSysDrawingList(SysDrawing sysDrawing) - { - return sysDrawingMapper.selectSysDrawingList(sysDrawing); - } - - /** - * 新增图纸资料 - * - * @param sysDrawing 图纸资料 - * @return 结果 - */ - @Override - public int insertSysDrawing(SysDrawing sysDrawing) - { - return sysDrawingMapper.insertSysDrawing(sysDrawing); - } - - /** - * 修改图纸资料 - * - * @param sysDrawing 图纸资料 - * @return 结果 - */ - @Override - public int updateSysDrawing(SysDrawing sysDrawing) - { - return sysDrawingMapper.updateSysDrawing(sysDrawing); - } - - /** - * 删除图纸资料对象 - * - * @param ids 需要删除的数据ID - * @return 结果 - */ - @Override - public int deleteSysDrawingByIds(String ids) - { - return sysDrawingMapper.deleteSysDrawingByIds(Convert.toStrArray(ids)); - } - - /** - * 删除图纸资料信息 - * - * @param drawingId 图纸资料ID - * @return 结果 - */ - @Override - public int deleteSysDrawingById(Long drawingId) - { - return sysDrawingMapper.deleteSysDrawingById(drawingId); - } -} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/system/service/impl/SysProductQuotationServiceImpl.java b/ruoyi-admin/src/main/java/com/ruoyi/system/service/impl/SysProductQuotationServiceImpl.java deleted file mode 100644 index fd3c651f..00000000 --- a/ruoyi-admin/src/main/java/com/ruoyi/system/service/impl/SysProductQuotationServiceImpl.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.SysProductQuotation; -import com.ruoyi.system.mapper.SysProductQuotationMapper; -import com.ruoyi.system.service.ISysProductQuotationService; -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-15 - */ -@Service -public class SysProductQuotationServiceImpl implements ISysProductQuotationService -{ - @Autowired - private SysProductQuotationMapper sysProductQuotationMapper; - - /** - * 查询产品报价 - * - * @param productQuotationId 产品报价ID - * @return 产品报价 - */ - @Override - public SysProductQuotation selectSysProductQuotationById(Long productQuotationId) - { - return sysProductQuotationMapper.selectSysProductQuotationById(productQuotationId); - } - - /** - * 查询产品报价列表 - * - * @param sysProductQuotation 产品报价 - * @return 产品报价 - */ - @Override - public List selectSysProductQuotationList(SysProductQuotation sysProductQuotation) - { - return sysProductQuotationMapper.selectSysProductQuotationList(sysProductQuotation); - } - - /** - * 新增产品报价 - * - * @param sysProductQuotation 产品报价 - * @return 结果 - */ - @Override - public int insertSysProductQuotation(SysProductQuotation sysProductQuotation) - { - return sysProductQuotationMapper.insertSysProductQuotation(sysProductQuotation); - } - - /** - * 修改产品报价 - * - * @param sysProductQuotation 产品报价 - * @return 结果 - */ - @Override - public int updateSysProductQuotation(SysProductQuotation sysProductQuotation) - { - return sysProductQuotationMapper.updateSysProductQuotation(sysProductQuotation); - } - - /** - * 删除产品报价对象 - * - * @param ids 需要删除的数据ID - * @return 结果 - */ - @Override - public int deleteSysProductQuotationByIds(String ids) - { - return sysProductQuotationMapper.deleteSysProductQuotationByIds(Convert.toStrArray(ids)); - } - - /** - * 删除产品报价信息 - * - * @param productQuotationId 产品报价ID - * @return 结果 - */ - @Override - public int deleteSysProductQuotationById(Long productQuotationId) - { - return sysProductQuotationMapper.deleteSysProductQuotationById(productQuotationId); - } - - @Override - public String getId() { - String time = new SimpleDateFormat("yyyyMMddHHmmssSSS").format(System.currentTimeMillis()); - return "BJ" + time.substring(2); - } -} 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/SysDrawingMapper.xml b/ruoyi-admin/src/main/resources/mapper/system/SysDrawingMapper.xml deleted file mode 100644 index 566dccc8..00000000 --- a/ruoyi-admin/src/main/resources/mapper/system/SysDrawingMapper.xml +++ /dev/null @@ -1,78 +0,0 @@ - - - - - - - - - - - - - - - - - select drawing_id, drawing_code, drawing_material_category, drawing_remarks, drawing_upload, upload_person, first_add_time, update_info_time from sys_drawing - - - - - - - - insert into sys_drawing - - drawing_code, - drawing_material_category, - drawing_remarks, - drawing_upload, - upload_person, - first_add_time, - - - #{drawingCode}, - #{drawingMaterialCategory}, - #{drawingRemarks}, - #{drawingUpload}, - #{uploadPerson}, - now(), - - - - - update sys_drawing - - drawing_code = #{drawingCode}, - drawing_material_category = #{drawingMaterialCategory}, - drawing_remarks = #{drawingRemarks}, - drawing_upload = #{drawingUpload}, - upload_person = #{uploadPerson}, - update_info_time = CONCAT_WS(',',NOW(),update_info_time), - - where drawing_id = #{drawingId} - - - - delete from sys_drawing where drawing_id = #{drawingId} - - - - delete from sys_drawing where drawing_id in - - #{drawingId} - - - - \ No newline at end of file diff --git a/ruoyi-admin/src/main/resources/mapper/system/SysProductQuotationMapper.xml b/ruoyi-admin/src/main/resources/mapper/system/SysProductQuotationMapper.xml deleted file mode 100644 index 3287533c..00000000 --- a/ruoyi-admin/src/main/resources/mapper/system/SysProductQuotationMapper.xml +++ /dev/null @@ -1,210 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - select product_quotation_id, quotation_code, finish_product_code, finish_product_name, specification_model, type_machine, inventory_unit, common_currency, process_price, customer_number, enterprise_code, enterprise_name, registrant, pricing_date, tax_rate, price_excluding_tax, price_including_tax, last_price, last_price_end, cost_rmb, current_exchange_rate, proportion_materials, quotation_explain, current_quote, confirm_tax, file_upload, 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_product_quotation - - - - - - - - insert into sys_product_quotation - - quotation_code, - finish_product_code, - finish_product_name, - specification_model, - type_machine, - inventory_unit, - common_currency, - process_price, - customer_number, - enterprise_code, - enterprise_name, - registrant, - pricing_date, - tax_rate, - price_excluding_tax, - price_including_tax, - last_price, - last_price_end, - cost_rmb, - current_exchange_rate, - proportion_materials, - quotation_explain, - current_quote, - confirm_tax, - file_upload, - 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}, - #{finishProductCode}, - #{finishProductName}, - #{specificationModel}, - #{typeMachine}, - #{inventoryUnit}, - #{commonCurrency}, - #{processPrice}, - #{customerNumber}, - #{enterpriseCode}, - #{enterpriseName}, - #{registrant}, - #{pricingDate}, - #{taxRate}, - #{priceExcludingTax}, - #{priceIncludingTax}, - #{lastPrice}, - #{lastPriceEnd}, - #{costRmb}, - #{currentExchangeRate}, - #{proportionMaterials}, - #{quotationExplain}, - #{currentQuote}, - #{confirmTax}, - #{fileUpload}, - #{confirmNo}, - #{confirmName}, - #{confirmTime}, - #{auditNo}, - #{auditName}, - #{auditTime}, - #{approveNo}, - #{approveName}, - #{approveTime}, - #{standbyOne}, - #{standbyTwo}, - now(), - - - - - update sys_product_quotation - - quotation_code = #{quotationCode}, - finish_product_code = #{finishProductCode}, - finish_product_name = #{finishProductName}, - specification_model = #{specificationModel}, - type_machine = #{typeMachine}, - inventory_unit = #{inventoryUnit}, - common_currency = #{commonCurrency}, - process_price = #{processPrice}, - customer_number = #{customerNumber}, - enterprise_code = #{enterpriseCode}, - enterprise_name = #{enterpriseName}, - registrant = #{registrant}, - pricing_date = #{pricingDate}, - tax_rate = #{taxRate}, - price_excluding_tax = #{priceExcludingTax}, - price_including_tax = #{priceIncludingTax}, - last_price = #{lastPrice}, - last_price_end = #{lastPriceEnd}, - cost_rmb = #{costRmb}, - current_exchange_rate = #{currentExchangeRate}, - proportion_materials = #{proportionMaterials}, - quotation_explain = #{quotationExplain}, - current_quote = #{currentQuote}, - confirm_tax = #{confirmTax}, - file_upload = #{fileUpload}, - 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 product_quotation_id = #{productQuotationId} - - - - delete from sys_product_quotation where product_quotation_id = #{productQuotationId} - - - - delete from sys_product_quotation where product_quotation_id in - - #{productQuotationId} - - - - \ No newline at end of file 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/quality/returnGoodsOrder/edit.html b/ruoyi-admin/src/main/resources/templates/quality/returnGoodsOrder/edit.html index 93e20f94..0ad6740d 100644 --- a/ruoyi-admin/src/main/resources/templates/quality/returnGoodsOrder/edit.html +++ b/ruoyi-admin/src/main/resources/templates/quality/returnGoodsOrder/edit.html @@ -282,7 +282,6 @@ var getData = [[${returnGoodsOrder}]]; console.log(getData) var prefix = ctx + "quality/returnGoodsOrder"; - var prefixProductquotation = ctx + "system/productquotation"; var prefixReturnGoodsProduct = ctx + "quality/returnGoodsProduct"; var prefixFinishProduct = ctx + "system/finishproduct"; var prefixSalesOrder = ctx + "system/salesOrder"; diff --git a/ruoyi-admin/src/main/resources/templates/system/drawing/add.html b/ruoyi-admin/src/main/resources/templates/system/drawing/add.html deleted file mode 100644 index 402c1c0d..00000000 --- a/ruoyi-admin/src/main/resources/templates/system/drawing/add.html +++ /dev/null @@ -1,90 +0,0 @@ - - - - - - - - -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
- -
-
-
-
-
- - - - - - \ No newline at end of file diff --git a/ruoyi-admin/src/main/resources/templates/system/drawing/drawing.html b/ruoyi-admin/src/main/resources/templates/system/drawing/drawing.html deleted file mode 100644 index deb12cb7..00000000 --- a/ruoyi-admin/src/main/resources/templates/system/drawing/drawing.html +++ /dev/null @@ -1,128 +0,0 @@ - - - - - - -
-
-
-
-
- -
-
-
- - -
-
-
-
-
- - - - \ No newline at end of file diff --git a/ruoyi-admin/src/main/resources/templates/system/drawing/edit.html b/ruoyi-admin/src/main/resources/templates/system/drawing/edit.html deleted file mode 100644 index afd14f00..00000000 --- a/ruoyi-admin/src/main/resources/templates/system/drawing/edit.html +++ /dev/null @@ -1,89 +0,0 @@ - - - - - - - - -
-
- -
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
- -
-
-
-
-
- - - - - \ No newline at end of file diff --git a/ruoyi-admin/src/main/resources/templates/system/productquotation/add.html b/ruoyi-admin/src/main/resources/templates/system/productquotation/add.html deleted file mode 100644 index 871a93ca..00000000 --- a/ruoyi-admin/src/main/resources/templates/system/productquotation/add.html +++ /dev/null @@ -1,451 +0,0 @@ - - - - - - - - - - - -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- - - - - -
-
-
- -
- - - - - -
-
-
- -
- -
-
-
- -
-
- - -
-
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
- -
-
-
- - - - - - - - - - - - - -
-
- - - - - - - \ No newline at end of file diff --git a/ruoyi-admin/src/main/resources/templates/system/productquotation/edit.html b/ruoyi-admin/src/main/resources/templates/system/productquotation/edit.html deleted file mode 100644 index 02fdb38e..00000000 --- a/ruoyi-admin/src/main/resources/templates/system/productquotation/edit.html +++ /dev/null @@ -1,439 +0,0 @@ - - - - - - - - - - - -
-
- -
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- - -
-
-
- -
- - - - - -
-
-
- -
- - - - - - -
-
-
- -
- -
-
-
- -
-
- - -
-
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
- -
-
-
- - - - - - - - - - - - - -
-
- - - - - - - - \ No newline at end of file diff --git a/ruoyi-admin/src/main/resources/templates/system/productquotation/productquotation.html b/ruoyi-admin/src/main/resources/templates/system/productquotation/productquotation.html deleted file mode 100644 index 4e2c8cd4..00000000 --- a/ruoyi-admin/src/main/resources/templates/system/productquotation/productquotation.html +++ /dev/null @@ -1,761 +0,0 @@ - - - - - - - - -
-
-
-
-
-
    -
  • - - -
  • -
  • - - - - - - -
  • -
  • - - -
  • -
  • - - -
  • -
  • - - - - - - - -
  • -
  • - - - - - - - -
  • -
  • - - - - - -
  • -
  • - - -
  • -
  • -  搜索 -  重置 -
  • -
-
-
-
- - -
-
-
-
-
- - - -
审核成功
- - - - -
产品报价已核准
- - - -
产品报价已确认
- - - - - - - - \ 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