diff --git a/ruoyi-admin/src/main/java/com/ruoyi/taxInvoice/controller/TaxInvoicePurchaseInfoController.java b/ruoyi-admin/src/main/java/com/ruoyi/taxInvoice/controller/TaxInvoicePurchaseInfoController.java deleted file mode 100644 index 14f345e3..00000000 --- a/ruoyi-admin/src/main/java/com/ruoyi/taxInvoice/controller/TaxInvoicePurchaseInfoController.java +++ /dev/null @@ -1,126 +0,0 @@ -package com.ruoyi.taxInvoice.controller; - -import java.util.List; -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.taxInvoice.domain.TaxInvoicePurchaseInfo; -import com.ruoyi.taxInvoice.service.ITaxInvoicePurchaseInfoService; -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 2023-07-06 - */ -@Controller -@RequestMapping("/taxInvoice/taxInvoicePurchaseInfo") -public class TaxInvoicePurchaseInfoController extends BaseController -{ - private String prefix = "taxInvoice/taxInvoicePurchaseInfo"; - - @Autowired - private ITaxInvoicePurchaseInfoService taxInvoicePurchaseInfoService; - - @RequiresPermissions("taxInvoice:taxInvoicePurchaseInfo:view") - @GetMapping() - public String taxInvoicePurchaseInfo() - { - return prefix + "/taxInvoicePurchaseInfo"; - } - - /** - * 查询国税发票明细(采购)列表 - */ - @RequiresPermissions("taxInvoice:taxInvoicePurchaseInfo:list") - @PostMapping("/list") - @ResponseBody - public TableDataInfo list(TaxInvoicePurchaseInfo taxInvoicePurchaseInfo) - { - startPage(); - List list = taxInvoicePurchaseInfoService.selectTaxInvoicePurchaseInfoList(taxInvoicePurchaseInfo); - return getDataTable(list); - } - - /** - * 导出国税发票明细(采购)列表 - */ - @RequiresPermissions("taxInvoice:taxInvoicePurchaseInfo:export") - @Log(title = "国税发票明细(采购)", businessType = BusinessType.EXPORT) - @PostMapping("/export") - @ResponseBody - public AjaxResult export(TaxInvoicePurchaseInfo taxInvoicePurchaseInfo) - { - List list = taxInvoicePurchaseInfoService.selectTaxInvoicePurchaseInfoList(taxInvoicePurchaseInfo); - ExcelUtil util = new ExcelUtil(TaxInvoicePurchaseInfo.class); - return util.exportExcel(list, "国税发票明细(采购)数据"); - } - - /** - * 新增国税发票明细(采购) - */ - @GetMapping("/add") - public String add() - { - return prefix + "/add"; - } - - /** - * 新增保存国税发票明细(采购) - */ - @RequiresPermissions("taxInvoice:taxInvoicePurchaseInfo:add") - @Log(title = "国税发票明细(采购)", businessType = BusinessType.INSERT) - @PostMapping("/add") - @ResponseBody - public AjaxResult addSave(TaxInvoicePurchaseInfo taxInvoicePurchaseInfo) - { - return toAjax(taxInvoicePurchaseInfoService.insertTaxInvoicePurchaseInfo(taxInvoicePurchaseInfo)); - } - - /** - * 修改国税发票明细(采购) - */ - @GetMapping("/edit/{taxPurchaseInfoId}") - public String edit(@PathVariable("taxPurchaseInfoId") Long taxPurchaseInfoId, ModelMap mmap) - { - TaxInvoicePurchaseInfo taxInvoicePurchaseInfo = taxInvoicePurchaseInfoService.selectTaxInvoicePurchaseInfoById(taxPurchaseInfoId); - mmap.put("taxInvoicePurchaseInfo", taxInvoicePurchaseInfo); - return prefix + "/edit"; - } - - /** - * 修改保存国税发票明细(采购) - */ - @RequiresPermissions("taxInvoice:taxInvoicePurchaseInfo:edit") - @Log(title = "国税发票明细(采购)", businessType = BusinessType.UPDATE) - @PostMapping("/edit") - @ResponseBody - public AjaxResult editSave(TaxInvoicePurchaseInfo taxInvoicePurchaseInfo) - { - return toAjax(taxInvoicePurchaseInfoService.updateTaxInvoicePurchaseInfo(taxInvoicePurchaseInfo)); - } - - /** - * 删除国税发票明细(采购) - */ - @RequiresPermissions("taxInvoice:taxInvoicePurchaseInfo:remove") - @Log(title = "国税发票明细(采购)", businessType = BusinessType.DELETE) - @PostMapping( "/remove") - @ResponseBody - public AjaxResult remove(String ids) - { - return toAjax(taxInvoicePurchaseInfoService.deleteTaxInvoicePurchaseInfoByIds(ids)); - } -} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/taxInvoice/domain/TaxInvoicePurchaseInfo.java b/ruoyi-admin/src/main/java/com/ruoyi/taxInvoice/domain/TaxInvoicePurchaseInfo.java deleted file mode 100644 index 9486d3c8..00000000 --- a/ruoyi-admin/src/main/java/com/ruoyi/taxInvoice/domain/TaxInvoicePurchaseInfo.java +++ /dev/null @@ -1,289 +0,0 @@ -package com.ruoyi.taxInvoice.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; - -/** - * 国税发票明细(采购)对象 tax_invoice_purchase_info - * - * @author ruoyi - * @date 2023-07-06 - */ -public class TaxInvoicePurchaseInfo extends BaseEntity -{ - private static final long serialVersionUID = 1L; - - /** */ - private Long taxPurchaseInfoId; - - /** 厂商名称 */ - @Excel(name = "厂商名称") - private String supplierName; - - /** 厂商代码 */ - @Excel(name = "厂商代码") - private String supplierCode; - - /** 发票号码 */ - @Excel(name = "发票号码") - private String taxPurchaseCode; - - /** 合同号码 */ - @Excel(name = "合同号码") - private String contractCode; - - /** 付款方式 */ - @Excel(name = "付款方式") - private String paymentMethod; - - /** 到票日期 */ - @Excel(name = "到票日期") - private String arrivalDate; - - /** 离境日期 */ - @Excel(name = "离境日期") - private String departureDate; - - /** 运输方式 */ - @Excel(name = "运输方式") - private String modeOfTransport; - - /** 出口海关 */ - @Excel(name = "出口海关") - private String exportCustoms; - - /** 运输工具名称 */ - @Excel(name = "运输工具名称") - private String conveyance; - - /** 币种 */ - @Excel(name = "币种") - private String currency; - - /** 件数(箱数) */ - @Excel(name = "件数", readConverterExp = "箱=数") - private Long packageNumber; - - /** 抵运国(地区) */ - @Excel(name = "抵运国", readConverterExp = "地=区") - private String arrivalOuntry; - - /** 指运港 */ - @Excel(name = "指运港") - private String destinationPort; - - /** 提运单号 */ - @Excel(name = "提运单号") - private String deliveryNumber; - - /** 国税发票编号 */ - @Excel(name = "国税发票编号") - private String nationalTaxInvoiceNumber; - - /** 发票印字版号 */ - @Excel(name = "发票印字版号") - private String invoicePrintingVersionNumber; - - /** 备注 */ - @Excel(name = "备注") - private String notes; - - public void setTaxPurchaseInfoId(Long taxPurchaseInfoId) - { - this.taxPurchaseInfoId = taxPurchaseInfoId; - } - - public Long getTaxPurchaseInfoId() - { - return taxPurchaseInfoId; - } - public void setSupplierName(String supplierName) - { - this.supplierName = supplierName; - } - - public String getSupplierName() - { - return supplierName; - } - public void setSupplierCode(String supplierCode) - { - this.supplierCode = supplierCode; - } - - public String getSupplierCode() - { - return supplierCode; - } - public void setTaxPurchaseCode(String taxPurchaseCode) - { - this.taxPurchaseCode = taxPurchaseCode; - } - - public String getTaxPurchaseCode() - { - return taxPurchaseCode; - } - public void setContractCode(String contractCode) - { - this.contractCode = contractCode; - } - - public String getContractCode() - { - return contractCode; - } - public void setPaymentMethod(String paymentMethod) - { - this.paymentMethod = paymentMethod; - } - - public String getPaymentMethod() - { - return paymentMethod; - } - public void setArrivalDate(String arrivalDate) - { - this.arrivalDate = arrivalDate; - } - - public String getArrivalDate() - { - return arrivalDate; - } - public void setDepartureDate(String departureDate) - { - this.departureDate = departureDate; - } - - public String getDepartureDate() - { - return departureDate; - } - public void setModeOfTransport(String modeOfTransport) - { - this.modeOfTransport = modeOfTransport; - } - - public String getModeOfTransport() - { - return modeOfTransport; - } - public void setExportCustoms(String exportCustoms) - { - this.exportCustoms = exportCustoms; - } - - public String getExportCustoms() - { - return exportCustoms; - } - public void setConveyance(String conveyance) - { - this.conveyance = conveyance; - } - - public String getConveyance() - { - return conveyance; - } - public void setCurrency(String currency) - { - this.currency = currency; - } - - public String getCurrency() - { - return currency; - } - public void setPackageNumber(Long packageNumber) - { - this.packageNumber = packageNumber; - } - - public Long getPackageNumber() - { - return packageNumber; - } - public void setArrivalOuntry(String arrivalOuntry) - { - this.arrivalOuntry = arrivalOuntry; - } - - public String getArrivalOuntry() - { - return arrivalOuntry; - } - public void setDestinationPort(String destinationPort) - { - this.destinationPort = destinationPort; - } - - public String getDestinationPort() - { - return destinationPort; - } - public void setDeliveryNumber(String deliveryNumber) - { - this.deliveryNumber = deliveryNumber; - } - - public String getDeliveryNumber() - { - return deliveryNumber; - } - public void setNationalTaxInvoiceNumber(String nationalTaxInvoiceNumber) - { - this.nationalTaxInvoiceNumber = nationalTaxInvoiceNumber; - } - - public String getNationalTaxInvoiceNumber() - { - return nationalTaxInvoiceNumber; - } - public void setInvoicePrintingVersionNumber(String invoicePrintingVersionNumber) - { - this.invoicePrintingVersionNumber = invoicePrintingVersionNumber; - } - - public String getInvoicePrintingVersionNumber() - { - return invoicePrintingVersionNumber; - } - public void setNotes(String notes) - { - this.notes = notes; - } - - public String getNotes() - { - return notes; - } - - @Override - public String toString() { - return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) - .append("taxPurchaseInfoId", getTaxPurchaseInfoId()) - .append("supplierName", getSupplierName()) - .append("supplierCode", getSupplierCode()) - .append("taxPurchaseCode", getTaxPurchaseCode()) - .append("contractCode", getContractCode()) - .append("paymentMethod", getPaymentMethod()) - .append("arrivalDate", getArrivalDate()) - .append("departureDate", getDepartureDate()) - .append("modeOfTransport", getModeOfTransport()) - .append("exportCustoms", getExportCustoms()) - .append("conveyance", getConveyance()) - .append("currency", getCurrency()) - .append("packageNumber", getPackageNumber()) - .append("arrivalOuntry", getArrivalOuntry()) - .append("destinationPort", getDestinationPort()) - .append("deliveryNumber", getDeliveryNumber()) - .append("nationalTaxInvoiceNumber", getNationalTaxInvoiceNumber()) - .append("invoicePrintingVersionNumber", getInvoicePrintingVersionNumber()) - .append("notes", getNotes()) - .toString(); - } -} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/taxInvoice/domain/exportDto/TaxInvoicePurchaseInfoDto.java b/ruoyi-admin/src/main/java/com/ruoyi/taxInvoice/domain/exportDto/TaxInvoicePurchaseInfoDto.java deleted file mode 100644 index c596c5ec..00000000 --- a/ruoyi-admin/src/main/java/com/ruoyi/taxInvoice/domain/exportDto/TaxInvoicePurchaseInfoDto.java +++ /dev/null @@ -1,290 +0,0 @@ -package com.ruoyi.taxInvoice.domain.exportDto; - -import com.alibaba.excel.annotation.ExcelProperty; -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; - -/** - * 国税发票明细(采购)对象 tax_invoice_purchase_info - * - * @author ruoyi - * @date 2023-07-06 - */ -public class TaxInvoicePurchaseInfoDto extends BaseEntity -{ - private static final long serialVersionUID = 1L; - - /** */ - private Long taxPurchaseInfoId; - - /** 厂商名称 */ - @ExcelProperty("厂商名称") - private String supplierName; - - /** 厂商代码 */ - @ExcelProperty("厂商代码") - private String supplierCode; - - /** 发票号码 */ - @ExcelProperty("发票号码") - private String taxPurchaseCode; - - /** 合同号码 */ - @ExcelProperty("合同号码") - private String contractCode; - - /** 付款方式 */ - @ExcelProperty("付款方式") - private String paymentMethod; - - /** 到票日期 */ - @ExcelProperty("到票日期") - private String arrivalDate; - - /** 离境日期 */ - @ExcelProperty("离境日期") - private String departureDate; - - /** 运输方式 */ - @ExcelProperty("运输方式") - private String modeOfTransport; - - /** 出口海关 */ - @ExcelProperty("出口海关") - private String exportCustoms; - - /** 运输工具名称 */ - @ExcelProperty("运输工具名称") - private String conveyance; - - /** 币种 */ - @ExcelProperty("币种") - private String currency; - - /** 件数(箱数) */ - @ExcelProperty("件数") - private Long packageNumber; - - /** 抵运国(地区) */ - @ExcelProperty("抵运国") - private String arrivalOuntry; - - /** 指运港 */ - @ExcelProperty("指运港") - private String destinationPort; - - /** 提运单号 */ - @ExcelProperty("提运单号") - private String deliveryNumber; - - /** 国税发票编号 */ - @ExcelProperty("国税发票编号") - private String nationalTaxInvoiceNumber; - - /** 发票印字版号 */ - @ExcelProperty("发票印字版号") - private String invoicePrintingVersionNumber; - - /** 备注 */ - @ExcelProperty("备注") - private String notes; - - public void setTaxPurchaseInfoId(Long taxPurchaseInfoId) - { - this.taxPurchaseInfoId = taxPurchaseInfoId; - } - - public Long getTaxPurchaseInfoId() - { - return taxPurchaseInfoId; - } - public void setSupplierName(String supplierName) - { - this.supplierName = supplierName; - } - - public String getSupplierName() - { - return supplierName; - } - public void setSupplierCode(String supplierCode) - { - this.supplierCode = supplierCode; - } - - public String getSupplierCode() - { - return supplierCode; - } - public void setTaxPurchaseCode(String taxPurchaseCode) - { - this.taxPurchaseCode = taxPurchaseCode; - } - - public String getTaxPurchaseCode() - { - return taxPurchaseCode; - } - public void setContractCode(String contractCode) - { - this.contractCode = contractCode; - } - - public String getContractCode() - { - return contractCode; - } - public void setPaymentMethod(String paymentMethod) - { - this.paymentMethod = paymentMethod; - } - - public String getPaymentMethod() - { - return paymentMethod; - } - public void setArrivalDate(String arrivalDate) - { - this.arrivalDate = arrivalDate; - } - - public String getArrivalDate() - { - return arrivalDate; - } - public void setDepartureDate(String departureDate) - { - this.departureDate = departureDate; - } - - public String getDepartureDate() - { - return departureDate; - } - public void setModeOfTransport(String modeOfTransport) - { - this.modeOfTransport = modeOfTransport; - } - - public String getModeOfTransport() - { - return modeOfTransport; - } - public void setExportCustoms(String exportCustoms) - { - this.exportCustoms = exportCustoms; - } - - public String getExportCustoms() - { - return exportCustoms; - } - public void setConveyance(String conveyance) - { - this.conveyance = conveyance; - } - - public String getConveyance() - { - return conveyance; - } - public void setCurrency(String currency) - { - this.currency = currency; - } - - public String getCurrency() - { - return currency; - } - public void setPackageNumber(Long packageNumber) - { - this.packageNumber = packageNumber; - } - - public Long getPackageNumber() - { - return packageNumber; - } - public void setArrivalOuntry(String arrivalOuntry) - { - this.arrivalOuntry = arrivalOuntry; - } - - public String getArrivalOuntry() - { - return arrivalOuntry; - } - public void setDestinationPort(String destinationPort) - { - this.destinationPort = destinationPort; - } - - public String getDestinationPort() - { - return destinationPort; - } - public void setDeliveryNumber(String deliveryNumber) - { - this.deliveryNumber = deliveryNumber; - } - - public String getDeliveryNumber() - { - return deliveryNumber; - } - public void setNationalTaxInvoiceNumber(String nationalTaxInvoiceNumber) - { - this.nationalTaxInvoiceNumber = nationalTaxInvoiceNumber; - } - - public String getNationalTaxInvoiceNumber() - { - return nationalTaxInvoiceNumber; - } - public void setInvoicePrintingVersionNumber(String invoicePrintingVersionNumber) - { - this.invoicePrintingVersionNumber = invoicePrintingVersionNumber; - } - - public String getInvoicePrintingVersionNumber() - { - return invoicePrintingVersionNumber; - } - public void setNotes(String notes) - { - this.notes = notes; - } - - public String getNotes() - { - return notes; - } - - @Override - public String toString() { - return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) - .append("taxPurchaseInfoId", getTaxPurchaseInfoId()) - .append("supplierName", getSupplierName()) - .append("supplierCode", getSupplierCode()) - .append("taxPurchaseCode", getTaxPurchaseCode()) - .append("contractCode", getContractCode()) - .append("paymentMethod", getPaymentMethod()) - .append("arrivalDate", getArrivalDate()) - .append("departureDate", getDepartureDate()) - .append("modeOfTransport", getModeOfTransport()) - .append("exportCustoms", getExportCustoms()) - .append("conveyance", getConveyance()) - .append("currency", getCurrency()) - .append("packageNumber", getPackageNumber()) - .append("arrivalOuntry", getArrivalOuntry()) - .append("destinationPort", getDestinationPort()) - .append("deliveryNumber", getDeliveryNumber()) - .append("nationalTaxInvoiceNumber", getNationalTaxInvoiceNumber()) - .append("invoicePrintingVersionNumber", getInvoicePrintingVersionNumber()) - .append("notes", getNotes()) - .toString(); - } -} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/taxInvoice/mapper/TaxInvoicePurchaseInfoMapper.java b/ruoyi-admin/src/main/java/com/ruoyi/taxInvoice/mapper/TaxInvoicePurchaseInfoMapper.java deleted file mode 100644 index 7b62a6ce..00000000 --- a/ruoyi-admin/src/main/java/com/ruoyi/taxInvoice/mapper/TaxInvoicePurchaseInfoMapper.java +++ /dev/null @@ -1,61 +0,0 @@ -package com.ruoyi.taxInvoice.mapper; - -import java.util.List; -import com.ruoyi.taxInvoice.domain.TaxInvoicePurchaseInfo; - -/** - * 国税发票明细(采购)Mapper接口 - * - * @author ruoyi - * @date 2023-07-06 - */ -public interface TaxInvoicePurchaseInfoMapper -{ - /** - * 查询国税发票明细(采购) - * - * @param taxPurchaseInfoId 国税发票明细(采购)ID - * @return 国税发票明细(采购) - */ - public TaxInvoicePurchaseInfo selectTaxInvoicePurchaseInfoById(Long taxPurchaseInfoId); - - /** - * 查询国税发票明细(采购)列表 - * - * @param taxInvoicePurchaseInfo 国税发票明细(采购) - * @return 国税发票明细(采购)集合 - */ - public List selectTaxInvoicePurchaseInfoList(TaxInvoicePurchaseInfo taxInvoicePurchaseInfo); - - /** - * 新增国税发票明细(采购) - * - * @param taxInvoicePurchaseInfo 国税发票明细(采购) - * @return 结果 - */ - public int insertTaxInvoicePurchaseInfo(TaxInvoicePurchaseInfo taxInvoicePurchaseInfo); - - /** - * 修改国税发票明细(采购) - * - * @param taxInvoicePurchaseInfo 国税发票明细(采购) - * @return 结果 - */ - public int updateTaxInvoicePurchaseInfo(TaxInvoicePurchaseInfo taxInvoicePurchaseInfo); - - /** - * 删除国税发票明细(采购) - * - * @param taxPurchaseInfoId 国税发票明细(采购)ID - * @return 结果 - */ - public int deleteTaxInvoicePurchaseInfoById(Long taxPurchaseInfoId); - - /** - * 批量删除国税发票明细(采购) - * - * @param taxPurchaseInfoIds 需要删除的数据ID - * @return 结果 - */ - public int deleteTaxInvoicePurchaseInfoByIds(String[] taxPurchaseInfoIds); -} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/taxInvoice/service/ITaxInvoicePurchaseInfoService.java b/ruoyi-admin/src/main/java/com/ruoyi/taxInvoice/service/ITaxInvoicePurchaseInfoService.java deleted file mode 100644 index 0ffb17ae..00000000 --- a/ruoyi-admin/src/main/java/com/ruoyi/taxInvoice/service/ITaxInvoicePurchaseInfoService.java +++ /dev/null @@ -1,61 +0,0 @@ -package com.ruoyi.taxInvoice.service; - -import java.util.List; -import com.ruoyi.taxInvoice.domain.TaxInvoicePurchaseInfo; - -/** - * 国税发票明细(采购)Service接口 - * - * @author ruoyi - * @date 2023-07-06 - */ -public interface ITaxInvoicePurchaseInfoService -{ - /** - * 查询国税发票明细(采购) - * - * @param taxPurchaseInfoId 国税发票明细(采购)ID - * @return 国税发票明细(采购) - */ - public TaxInvoicePurchaseInfo selectTaxInvoicePurchaseInfoById(Long taxPurchaseInfoId); - - /** - * 查询国税发票明细(采购)列表 - * - * @param taxInvoicePurchaseInfo 国税发票明细(采购) - * @return 国税发票明细(采购)集合 - */ - public List selectTaxInvoicePurchaseInfoList(TaxInvoicePurchaseInfo taxInvoicePurchaseInfo); - - /** - * 新增国税发票明细(采购) - * - * @param taxInvoicePurchaseInfo 国税发票明细(采购) - * @return 结果 - */ - public int insertTaxInvoicePurchaseInfo(TaxInvoicePurchaseInfo taxInvoicePurchaseInfo); - - /** - * 修改国税发票明细(采购) - * - * @param taxInvoicePurchaseInfo 国税发票明细(采购) - * @return 结果 - */ - public int updateTaxInvoicePurchaseInfo(TaxInvoicePurchaseInfo taxInvoicePurchaseInfo); - - /** - * 批量删除国税发票明细(采购) - * - * @param ids 需要删除的数据ID - * @return 结果 - */ - public int deleteTaxInvoicePurchaseInfoByIds(String ids); - - /** - * 删除国税发票明细(采购)信息 - * - * @param taxPurchaseInfoId 国税发票明细(采购)ID - * @return 结果 - */ - public int deleteTaxInvoicePurchaseInfoById(Long taxPurchaseInfoId); -} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/taxInvoice/service/impl/TaxInvoicePurchaseInfoServiceImpl.java b/ruoyi-admin/src/main/java/com/ruoyi/taxInvoice/service/impl/TaxInvoicePurchaseInfoServiceImpl.java deleted file mode 100644 index cd345bfa..00000000 --- a/ruoyi-admin/src/main/java/com/ruoyi/taxInvoice/service/impl/TaxInvoicePurchaseInfoServiceImpl.java +++ /dev/null @@ -1,94 +0,0 @@ -package com.ruoyi.taxInvoice.service.impl; - -import java.util.List; -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.stereotype.Service; -import com.ruoyi.taxInvoice.mapper.TaxInvoicePurchaseInfoMapper; -import com.ruoyi.taxInvoice.domain.TaxInvoicePurchaseInfo; -import com.ruoyi.taxInvoice.service.ITaxInvoicePurchaseInfoService; -import com.ruoyi.common.core.text.Convert; - -/** - * 国税发票明细(采购)Service业务层处理 - * - * @author ruoyi - * @date 2023-07-06 - */ -@Service -public class TaxInvoicePurchaseInfoServiceImpl implements ITaxInvoicePurchaseInfoService -{ - @Autowired - private TaxInvoicePurchaseInfoMapper taxInvoicePurchaseInfoMapper; - - /** - * 查询国税发票明细(采购) - * - * @param taxPurchaseInfoId 国税发票明细(采购)ID - * @return 国税发票明细(采购) - */ - @Override - public TaxInvoicePurchaseInfo selectTaxInvoicePurchaseInfoById(Long taxPurchaseInfoId) - { - return taxInvoicePurchaseInfoMapper.selectTaxInvoicePurchaseInfoById(taxPurchaseInfoId); - } - - /** - * 查询国税发票明细(采购)列表 - * - * @param taxInvoicePurchaseInfo 国税发票明细(采购) - * @return 国税发票明细(采购) - */ - @Override - public List selectTaxInvoicePurchaseInfoList(TaxInvoicePurchaseInfo taxInvoicePurchaseInfo) - { - return taxInvoicePurchaseInfoMapper.selectTaxInvoicePurchaseInfoList(taxInvoicePurchaseInfo); - } - - /** - * 新增国税发票明细(采购) - * - * @param taxInvoicePurchaseInfo 国税发票明细(采购) - * @return 结果 - */ - @Override - public int insertTaxInvoicePurchaseInfo(TaxInvoicePurchaseInfo taxInvoicePurchaseInfo) - { - return taxInvoicePurchaseInfoMapper.insertTaxInvoicePurchaseInfo(taxInvoicePurchaseInfo); - } - - /** - * 修改国税发票明细(采购) - * - * @param taxInvoicePurchaseInfo 国税发票明细(采购) - * @return 结果 - */ - @Override - public int updateTaxInvoicePurchaseInfo(TaxInvoicePurchaseInfo taxInvoicePurchaseInfo) - { - return taxInvoicePurchaseInfoMapper.updateTaxInvoicePurchaseInfo(taxInvoicePurchaseInfo); - } - - /** - * 删除国税发票明细(采购)对象 - * - * @param ids 需要删除的数据ID - * @return 结果 - */ - @Override - public int deleteTaxInvoicePurchaseInfoByIds(String ids) - { - return taxInvoicePurchaseInfoMapper.deleteTaxInvoicePurchaseInfoByIds(Convert.toStrArray(ids)); - } - - /** - * 删除国税发票明细(采购)信息 - * - * @param taxPurchaseInfoId 国税发票明细(采购)ID - * @return 结果 - */ - @Override - public int deleteTaxInvoicePurchaseInfoById(Long taxPurchaseInfoId) - { - return taxInvoicePurchaseInfoMapper.deleteTaxInvoicePurchaseInfoById(taxPurchaseInfoId); - } -} diff --git a/ruoyi-admin/src/main/resources/mapper/taxInvoice/TaxInvoicePurchaseInfoMapper.xml b/ruoyi-admin/src/main/resources/mapper/taxInvoice/TaxInvoicePurchaseInfoMapper.xml deleted file mode 100644 index 484c3607..00000000 --- a/ruoyi-admin/src/main/resources/mapper/taxInvoice/TaxInvoicePurchaseInfoMapper.xml +++ /dev/null @@ -1,147 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - select tax_purchase_info_id, supplier_name, supplier_code, tax_purchase_code, contract_code, payment_method, arrival_date, departure_date, mode_of_transport, export_customs, conveyance, currency, package_number, arrival_ountry, destination_port, delivery_number, -national_tax_invoice_number, invoice_printing_version_number, notes from tax_invoice_purchase_info - - - - - - - - insert into tax_invoice_purchase_info - - supplier_name, - supplier_code, - tax_purchase_code, - contract_code, - payment_method, - arrival_date, - departure_date, - mode_of_transport, - export_customs, - conveyance, - currency, - package_number, - arrival_ountry, - destination_port, - delivery_number, - -national_tax_invoice_number, - invoice_printing_version_number, - notes, - - - #{supplierName}, - #{supplierCode}, - #{taxPurchaseCode}, - #{contractCode}, - #{paymentMethod}, - #{arrivalDate}, - #{departureDate}, - #{modeOfTransport}, - #{exportCustoms}, - #{conveyance}, - #{currency}, - #{packageNumber}, - #{arrivalOuntry}, - #{destinationPort}, - #{deliveryNumber}, - #{nationalTaxInvoiceNumber}, - #{invoicePrintingVersionNumber}, - #{notes}, - - - - - update tax_invoice_purchase_info - - supplier_name = #{supplierName}, - supplier_code = #{supplierCode}, - tax_purchase_code = #{taxPurchaseCode}, - contract_code = #{contractCode}, - payment_method = #{paymentMethod}, - arrival_date = #{arrivalDate}, - departure_date = #{departureDate}, - mode_of_transport = #{modeOfTransport}, - export_customs = #{exportCustoms}, - conveyance = #{conveyance}, - currency = #{currency}, - package_number = #{packageNumber}, - arrival_ountry = #{arrivalOuntry}, - destination_port = #{destinationPort}, - delivery_number = #{deliveryNumber}, - -national_tax_invoice_number = #{nationalTaxInvoiceNumber}, - invoice_printing_version_number = #{invoicePrintingVersionNumber}, - notes = #{notes}, - - where tax_purchase_info_id = #{taxPurchaseInfoId} - - - - delete from tax_invoice_purchase_info where tax_purchase_info_id = #{taxPurchaseInfoId} - - - - delete from tax_invoice_purchase_info where tax_purchase_info_id in - - #{taxPurchaseInfoId} - - - - \ No newline at end of file diff --git a/ruoyi-admin/src/main/resources/templates/taxInvoice/taxInvoicePurchaseInfo/add.html b/ruoyi-admin/src/main/resources/templates/taxInvoice/taxInvoicePurchaseInfo/add.html deleted file mode 100644 index cd3da1eb..00000000 --- a/ruoyi-admin/src/main/resources/templates/taxInvoice/taxInvoicePurchaseInfo/add.html +++ /dev/null @@ -1,567 +0,0 @@ - - - - - - - - - - - -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
-
- - -
-
-
-
- -
-
- - -
-
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
-
-
-
-

选择产品信息

-  选择产品 -
-
-
-
- -
- - - - - - - \ No newline at end of file diff --git a/ruoyi-admin/src/main/resources/templates/taxInvoice/taxInvoicePurchaseInfo/edit.html b/ruoyi-admin/src/main/resources/templates/taxInvoice/taxInvoicePurchaseInfo/edit.html deleted file mode 100644 index d6ab13ed..00000000 --- a/ruoyi-admin/src/main/resources/templates/taxInvoice/taxInvoicePurchaseInfo/edit.html +++ /dev/null @@ -1,555 +0,0 @@ - - - - - - - - - - - -
-
- -
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
-
- - -
-
-
-
- -
-
- - -
-
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
-
-
-
-

选择产品信息

-  选择产品 -
-
-
-
- -
- - - - - - - \ No newline at end of file diff --git a/ruoyi-admin/src/main/resources/templates/taxInvoice/taxInvoicePurchaseInfo/taxInvoicePurchaseInfo.html b/ruoyi-admin/src/main/resources/templates/taxInvoice/taxInvoicePurchaseInfo/taxInvoicePurchaseInfo.html deleted file mode 100644 index 0bacaf65..00000000 --- a/ruoyi-admin/src/main/resources/templates/taxInvoice/taxInvoicePurchaseInfo/taxInvoicePurchaseInfo.html +++ /dev/null @@ -1,186 +0,0 @@ - - - - - - -
-
-
-
-
-
    -
  • - - -
  • -
  • - - -
  • -
  • - - -
  • -
  • - - -
  • -
  • - - -
  • -
  • -  搜索 -  重置 -
  • -
-
-
-
- - -
-
-
-
-
- - - - - - - \ No newline at end of file