From a0c13a6bed93b8794f0ca612dd681a853c4d48d2 Mon Sep 17 00:00:00 2001 From: liuxiaoxu <1793812695@qq.com> Date: Mon, 21 Oct 2024 14:21:52 +0800 Subject: [PATCH] =?UTF-8?q?[delete]=20=E5=88=A0=E9=99=A4=E6=97=A7=E7=89=88?= =?UTF-8?q?=E6=97=A0=E7=94=A8=E7=9A=84=E7=A8=8E=E5=8F=91=E7=A5=A8=E5=88=97?= =?UTF-8?q?=E8=A1=A8=E5=AF=B9=E8=B1=A1=20poinvoicehead=E5=92=8C=E7=B3=BB?= =?UTF-8?q?=E7=BB=9F=E4=B8=AD=E5=AF=B9=E5=BA=94=E7=9A=84=E5=89=8D=E7=AB=AF?= =?UTF-8?q?=E6=89=80=E6=9C=89=E4=BB=A3=E7=A0=81=E5=92=8C=E5=90=8E=E7=AB=AF?= =?UTF-8?q?=E6=89=80=E6=9C=89=E4=BB=A3=E7=A0=81=20=E5=92=8C=E5=AF=B9?= =?UTF-8?q?=E5=BA=94=E7=9A=84=E7=B3=BB=E7=BB=9F=E8=8F=9C=E5=8D=95=E6=95=B0?= =?UTF-8?q?=E6=8D=AE=20=E5=88=A0=E9=99=A4=E6=97=A7=E7=89=88=E6=97=A0?= =?UTF-8?q?=E7=94=A8=E7=9A=84=E7=A8=8E=E5=8F=91=E7=A5=A8=E5=88=97=E8=A1=A8?= =?UTF-8?q?=E5=AF=B9=E8=B1=A1=20poinvoicelist=E5=92=8C=E7=B3=BB=E7=BB=9F?= =?UTF-8?q?=E4=B8=AD=E5=AF=B9=E5=BA=94=E7=9A=84=E5=89=8D=E7=AB=AF=E6=89=80?= =?UTF-8?q?=E6=9C=89=E4=BB=A3=E7=A0=81=E5=92=8C=E5=90=8E=E7=AB=AF=E6=89=80?= =?UTF-8?q?=E6=9C=89=E4=BB=A3=E7=A0=81=20=E5=92=8C=E5=AF=B9=E5=BA=94?= =?UTF-8?q?=E7=9A=84=E7=B3=BB=E7=BB=9F=E8=8F=9C=E5=8D=95=E6=95=B0=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../controller/PoInvoiceHeadController.java | 204 ---- .../controller/PoInvoiceListController.java | 123 -- .../controller/PoInvoicePayController.java | 73 -- .../ruoyi/invoice/domain/PoInvoiceHead.java | 570 --------- .../invoice/domain/PoInvoiceHeadWithList.java | 242 ---- .../ruoyi/invoice/domain/PoInvoiceList.java | 180 --- .../invoice/mapper/PoInvoiceHeadMapper.java | 71 -- .../mapper/PoInvoiceHeadWithListMapper.java | 17 - .../invoice/mapper/PoInvoiceListMapper.java | 62 - .../service/IPoInvoiceHeadService.java | 68 -- .../service/IPoInvoiceListService.java | 62 - .../impl/PoInvoiceHeadServiceImpl.java | 178 --- .../impl/PoInvoiceListServiceImpl.java | 95 -- .../MaterialRequisitionDetailDto.java | 293 ----- .../exportDto/MaterialRequisitionInfoDto.java | 377 ------ .../mapper/invoice/PoInvoiceHeadMapper.xml | 253 ---- .../invoice/PoInvoiceHeadWithListMapper.xml | 54 - .../mapper/invoice/PoInvoiceListMapper.xml | 105 -- .../templates/invoice/poInvoicePay/edit.html | 215 ---- .../invoice/poInvoicePay/poInvoiceHead2.html | 277 ----- .../templates/invoice/poinvoicehead/add.html | 1042 ---------------- .../templates/invoice/poinvoicehead/edit.html | 1043 ----------------- .../invoice/poinvoicehead/poinvoicehead.html | 283 ----- .../templates/invoice/poinvoicelist/add.html | 91 -- .../templates/invoice/poinvoicelist/edit.html | 92 -- .../invoice/poinvoicelist/poinvoicelist.html | 161 --- 26 files changed, 6231 deletions(-) delete mode 100644 ruoyi-admin/src/main/java/com/ruoyi/invoice/controller/PoInvoiceHeadController.java delete mode 100644 ruoyi-admin/src/main/java/com/ruoyi/invoice/controller/PoInvoiceListController.java delete mode 100644 ruoyi-admin/src/main/java/com/ruoyi/invoice/controller/PoInvoicePayController.java delete mode 100644 ruoyi-admin/src/main/java/com/ruoyi/invoice/domain/PoInvoiceHead.java delete mode 100644 ruoyi-admin/src/main/java/com/ruoyi/invoice/domain/PoInvoiceHeadWithList.java delete mode 100644 ruoyi-admin/src/main/java/com/ruoyi/invoice/domain/PoInvoiceList.java delete mode 100644 ruoyi-admin/src/main/java/com/ruoyi/invoice/mapper/PoInvoiceHeadMapper.java delete mode 100644 ruoyi-admin/src/main/java/com/ruoyi/invoice/mapper/PoInvoiceHeadWithListMapper.java delete mode 100644 ruoyi-admin/src/main/java/com/ruoyi/invoice/mapper/PoInvoiceListMapper.java delete mode 100644 ruoyi-admin/src/main/java/com/ruoyi/invoice/service/IPoInvoiceHeadService.java delete mode 100644 ruoyi-admin/src/main/java/com/ruoyi/invoice/service/IPoInvoiceListService.java delete mode 100644 ruoyi-admin/src/main/java/com/ruoyi/invoice/service/impl/PoInvoiceHeadServiceImpl.java delete mode 100644 ruoyi-admin/src/main/java/com/ruoyi/invoice/service/impl/PoInvoiceListServiceImpl.java delete mode 100644 ruoyi-admin/src/main/java/com/ruoyi/manufacture/domain/exportDto/MaterialRequisitionDetailDto.java delete mode 100644 ruoyi-admin/src/main/java/com/ruoyi/manufacture/domain/exportDto/MaterialRequisitionInfoDto.java delete mode 100644 ruoyi-admin/src/main/resources/mapper/invoice/PoInvoiceHeadMapper.xml delete mode 100644 ruoyi-admin/src/main/resources/mapper/invoice/PoInvoiceHeadWithListMapper.xml delete mode 100644 ruoyi-admin/src/main/resources/mapper/invoice/PoInvoiceListMapper.xml delete mode 100644 ruoyi-admin/src/main/resources/templates/invoice/poInvoicePay/edit.html delete mode 100644 ruoyi-admin/src/main/resources/templates/invoice/poInvoicePay/poInvoiceHead2.html delete mode 100644 ruoyi-admin/src/main/resources/templates/invoice/poinvoicehead/add.html delete mode 100644 ruoyi-admin/src/main/resources/templates/invoice/poinvoicehead/edit.html delete mode 100644 ruoyi-admin/src/main/resources/templates/invoice/poinvoicehead/poinvoicehead.html delete mode 100644 ruoyi-admin/src/main/resources/templates/invoice/poinvoicelist/add.html delete mode 100644 ruoyi-admin/src/main/resources/templates/invoice/poinvoicelist/edit.html delete mode 100644 ruoyi-admin/src/main/resources/templates/invoice/poinvoicelist/poinvoicelist.html diff --git a/ruoyi-admin/src/main/java/com/ruoyi/invoice/controller/PoInvoiceHeadController.java b/ruoyi-admin/src/main/java/com/ruoyi/invoice/controller/PoInvoiceHeadController.java deleted file mode 100644 index a317f690..00000000 --- a/ruoyi-admin/src/main/java/com/ruoyi/invoice/controller/PoInvoiceHeadController.java +++ /dev/null @@ -1,204 +0,0 @@ -package com.ruoyi.invoice.controller; - -import com.alibaba.druid.util.StringUtils; -import com.alibaba.fastjson.JSONObject; -import com.ruoyi.ck.utils.Result; -import com.ruoyi.common.annotation.Log; -import com.ruoyi.common.core.controller.BaseController; -import com.ruoyi.common.core.domain.AjaxResult; -import com.ruoyi.common.core.page.TableDataInfo; -import com.ruoyi.common.enums.BusinessType; -import com.ruoyi.common.utils.poi.ExcelUtil; -import com.ruoyi.invoice.domain.PoInvoiceChooseItem; -import com.ruoyi.invoice.domain.PoInvoiceHead; -import com.ruoyi.invoice.domain.PoInvoiceHeadWithList; -import com.ruoyi.invoice.domain.PoInvoiceList; -import com.ruoyi.invoice.service.IPoInvoiceHeadService; -import org.apache.shiro.authz.annotation.RequiresPermissions; -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.stereotype.Controller; -import org.springframework.ui.ModelMap; -import org.springframework.web.bind.annotation.*; - -import java.math.BigDecimal; -import java.util.List; - -/** - * 税发票列表Controller - * - * @author ruoyi - * @date 2021-11-16 - */ -@Controller -@RequestMapping("/invoice/poinvoicehead") -public class PoInvoiceHeadController extends BaseController { - private String prefix = "invoice/poinvoicehead"; - - @Autowired - private IPoInvoiceHeadService poInvoiceHeadService; - - @RequiresPermissions("invoice:poinvoicehead:view") - @GetMapping() - public String poinvoicehead() { - return prefix + "/poinvoicehead"; - } - - @RequiresPermissions("invoice:poinvoicehead:view") - @GetMapping("/view") - public String poinvoicehead2() { - return "invoice/poInvoicePay/poInvoiceHead2"; - } - - /** - * 查询税发票列表列表 - */ - @RequiresPermissions("invoice:poinvoicehead:list") - @PostMapping("/list") - @ResponseBody - public TableDataInfo list(PoInvoiceHead poInvoiceHead) { - System.out.println(poInvoiceHead); - startPage(); - List list = poInvoiceHeadService.selectPoInvoiceHeadList(poInvoiceHead); - return getDataTable(list); - } - - /** - * 导出税发票列表列表 - */ -// @RequiresPermissions("invoice:poinvoicehead:export") - @Log(title = "税发票列表", businessType = BusinessType.EXPORT) - @PostMapping("/export") - @ResponseBody - public AjaxResult export(PoInvoiceHead poInvoiceHead) { - List list = poInvoiceHeadService.selectPoInvoiceHeadList(poInvoiceHead); - ExcelUtil util = new ExcelUtil(PoInvoiceHead.class); - return util.exportExcel(list, "税发票列表数据"); - } - - /** - * 新增税发票列表 - */ - @GetMapping("/add") - public String add() { - return prefix + "/add"; - } - - /** - * 新增保存税发票列表 - */ -// @RequiresPermissions("invoice:poinvoicehead:add") - @Log(title = "税发票列表", businessType = BusinessType.INSERT) - @PostMapping("/add") - @ResponseBody - public Result addSave(String jsonStr) throws Exception { - JSONObject jsonObject = JSONObject.parseObject(jsonStr); - PoInvoiceHead poInvoiceHead = jsonObject.toJavaObject(PoInvoiceHead.class); - if ("-1".equals(poInvoiceHead.getpName())) { - return Result.getFailResult("请选择供应商!", null); - } - if (StringUtils.isEmpty(poInvoiceHead.getInvoiceno())) { - return Result.getFailResult("请输入发票号码!", null); - } - if (StringUtils.isEmpty(poInvoiceHead.getTaxInvoiceNo())) { - return Result.getFailResult("请输入国税发票编号!", null); - } - Long boxNum = poInvoiceHead.getBoxNum(); - if (boxNum != null) { - if (boxNum.toString().length() > 10) { - return Result.getFailResult("件数(箱数)不能大于十亿!", null); - } - } - BigDecimal totalMoney = new BigDecimal("0"); - int totalNum = 0; - List poInvoiceListList = poInvoiceHead.getPoInvoiceListList(); - for (PoInvoiceList each : poInvoiceListList) { - if (each.getAmt().compareTo(BigDecimal.ZERO) <= 0) { - return Result.getFailResult("金额不能小于0!", null); - } else { - totalMoney = totalMoney.add(each.getAmt()); - totalNum += each.getQty(); - } - } - poInvoiceHead.setTotalamt(totalMoney + ""); - poInvoiceHead.setTotalqty(totalNum + ""); - int i = poInvoiceHeadService.insertPoInvoiceHead(poInvoiceHead); - return Result.getSuccessResult(i); - } - - /** - * 修改税发票列表 - */ - @GetMapping("/edit/{invoiceid}") - public String edit(@PathVariable("invoiceid") String invoiceid, ModelMap mmap) { - PoInvoiceHead poInvoiceHead = poInvoiceHeadService.selectPoInvoiceHeadById(invoiceid); - mmap.put("poInvoiceHead", poInvoiceHead); - return prefix + "/edit"; - } - - /** - * 修改保存税发票列表 - */ -// @RequiresPermissions("invoice:poinvoicehead:edit") - @Log(title = "税发票列表", businessType = BusinessType.UPDATE) - @PostMapping("/edit") - @ResponseBody - public Result editSave(String jsonStr) throws Exception { - JSONObject jsonObject = JSONObject.parseObject(jsonStr); - PoInvoiceHead poInvoiceHead = jsonObject.toJavaObject(PoInvoiceHead.class); - if ("-1".equals(poInvoiceHead.getpName())) { - return Result.getFailResult("请选择供应商!", null); - } - if (StringUtils.isEmpty(poInvoiceHead.getInvoiceno())) { - return Result.getFailResult("请输入发票号码!", null); - } - if (StringUtils.isEmpty(poInvoiceHead.getTaxInvoiceNo())) { - return Result.getFailResult("请输入国税发票编号!", null); - } - Long boxNum = poInvoiceHead.getBoxNum(); - if (boxNum != null) { - if (boxNum.toString().length() > 10) { - return Result.getFailResult("件数(箱数)不能大于十亿!", null); - } - } - System.out.println("poInvoiceHead" + poInvoiceHead); - List poInvoiceListList = poInvoiceHead.getPoInvoiceListList(); - for (PoInvoiceList each : poInvoiceListList) { - if (each.getAmt().compareTo(BigDecimal.ZERO) <= 0) { - return Result.getFailResult("金额不能小于0!", null); - } - } - int i = poInvoiceHeadService.updatePoInvoiceHead(poInvoiceHead); - return Result.getSuccessResult(i); - } - - /** - * 删除税发票列表 - */ - @RequiresPermissions("invoice:poinvoicehead:remove") - @Log(title = "税发票列表", businessType = BusinessType.DELETE) - @PostMapping("/remove") - @ResponseBody - public AjaxResult remove(String ids) { - return toAjax(poInvoiceHeadService.deletePoInvoiceHeadByIds(ids)); - } - - // @RequiresPermissions("invoice:poinvoicehead:list") - @ResponseBody - @PostMapping("/list2") - public TableDataInfo getHeadWithListList(PoInvoiceHeadWithList poInvoiceHeadWithList) { - //System.out.println(poInvoiceHeadWithList); - startPage(); - List list = poInvoiceHeadService.findPoInvoiceHeadWithList(poInvoiceHeadWithList); - return getDataTable(list); - } - - // @RequiresPermissions("invoice:poinvoicehead:list") - @ResponseBody - @PostMapping("/poInvoiceHeadWithList") - public TableDataInfo getChooseItemList(PoInvoiceChooseItem poInvoiceChooseItem) { - //System.out.println(poInvoiceChooseItem); - startPage(); - List list = poInvoiceHeadService.findPoInvoiceChooseItem(poInvoiceChooseItem); - return getDataTable(list); - } -} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/invoice/controller/PoInvoiceListController.java b/ruoyi-admin/src/main/java/com/ruoyi/invoice/controller/PoInvoiceListController.java deleted file mode 100644 index 0b1fdba4..00000000 --- a/ruoyi-admin/src/main/java/com/ruoyi/invoice/controller/PoInvoiceListController.java +++ /dev/null @@ -1,123 +0,0 @@ -package com.ruoyi.invoice.controller; - -import com.ruoyi.ck.utils.Result; -import com.ruoyi.common.annotation.Log; -import com.ruoyi.common.core.controller.BaseController; -import com.ruoyi.common.core.domain.AjaxResult; -import com.ruoyi.common.core.page.TableDataInfo; -import com.ruoyi.common.enums.BusinessType; -import com.ruoyi.common.utils.poi.ExcelUtil; -import com.ruoyi.invoice.domain.PoInvoiceList; -import com.ruoyi.invoice.service.IPoInvoiceListService; -import org.apache.shiro.authz.annotation.RequiresPermissions; -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.stereotype.Controller; -import org.springframework.ui.ModelMap; -import org.springframework.web.bind.annotation.*; - -import java.util.List; - -/** - * 税发票列表Controller - * - * @author ruoyi - * @date 2021-11-16 - */ -@Controller -@RequestMapping("/invoice/poinvoicelist") -public class PoInvoiceListController extends BaseController { - private String prefix = "invoice/poinvoicelist"; - - @Autowired - private IPoInvoiceListService poInvoiceListService; - - @RequiresPermissions("invoice:poinvoicelist:view") - @GetMapping() - public String poinvoicelist() { - return prefix + "/poinvoicelist"; - } - - /** - * 查询税发票列表列表 - */ - @RequiresPermissions("invoice:poinvoicelist:list") - @PostMapping("/list") - @ResponseBody - public TableDataInfo list(PoInvoiceList poInvoiceList) { - startPage(); - List list = poInvoiceListService.selectPoInvoiceListList(poInvoiceList); - return getDataTable(list); - } - - /** - * 导出税发票列表列表 - */ - @RequiresPermissions("invoice:poinvoicelist:export") - @Log(title = "税发票列表", businessType = BusinessType.EXPORT) - @PostMapping("/export") - @ResponseBody - public AjaxResult export(PoInvoiceList poInvoiceList) { - List list = poInvoiceListService.selectPoInvoiceListList(poInvoiceList); - ExcelUtil util = new ExcelUtil(PoInvoiceList.class); - return util.exportExcel(list, "税发票列表数据"); - } - - /** - * 新增税发票列表 - */ - @GetMapping("/add") - public String add() { - return prefix + "/add"; - } - - /** - * 新增保存税发票列表 - */ - @RequiresPermissions("invoice:poinvoicelist:add") - @Log(title = "税发票列表", businessType = BusinessType.INSERT) - @PostMapping("/add") - @ResponseBody - public AjaxResult addSave(PoInvoiceList poInvoiceList) { - return toAjax(poInvoiceListService.insertPoInvoiceList(poInvoiceList)); - } - - /** - * 修改税发票列表 - */ - @GetMapping("/edit/{invoiceid}") - public String edit(@PathVariable("invoiceid") String invoiceid, ModelMap mmap) { - PoInvoiceList poInvoiceList = poInvoiceListService.selectPoInvoiceListById(invoiceid); - mmap.put("poInvoiceList", poInvoiceList); - return prefix + "/edit"; - } - - /** - * 修改保存税发票列表 - */ - @RequiresPermissions("invoice:poinvoicelist:edit") - @Log(title = "税发票列表", businessType = BusinessType.UPDATE) - @PostMapping("/edit") - @ResponseBody - public AjaxResult editSave(PoInvoiceList poInvoiceList) { - return toAjax(poInvoiceListService.updatePoInvoiceList(poInvoiceList)); - } - - /** - * 删除税发票列表 - */ - @RequiresPermissions("invoice:poinvoicelist:remove") - @Log(title = "税发票列表", businessType = BusinessType.DELETE) - @PostMapping("/remove") - @ResponseBody - public AjaxResult remove(String ids) { - return toAjax(poInvoiceListService.deletePoInvoiceListByIds(ids)); - } - - - @ResponseBody - @PostMapping("/getList") - public Result list2(PoInvoiceList poInvoiceList) throws Exception { - List poInvoiceLists = poInvoiceListService.selectPoInvoiceListList(poInvoiceList); - return Result.getSuccessResult(poInvoiceLists); - } -} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/invoice/controller/PoInvoicePayController.java b/ruoyi-admin/src/main/java/com/ruoyi/invoice/controller/PoInvoicePayController.java deleted file mode 100644 index 37473a67..00000000 --- a/ruoyi-admin/src/main/java/com/ruoyi/invoice/controller/PoInvoicePayController.java +++ /dev/null @@ -1,73 +0,0 @@ -package com.ruoyi.invoice.controller; - -import com.alibaba.fastjson.JSONObject; -import com.ruoyi.ck.service.IProviderService; -import com.ruoyi.ck.utils.Result; -import com.ruoyi.common.annotation.Log; -import com.ruoyi.common.core.controller.BaseController; -import com.ruoyi.common.enums.BusinessType; -import com.ruoyi.invoice.domain.PoInvoiceHead; -import com.ruoyi.invoice.service.IPoInvoiceHeadService; -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.stereotype.Controller; -import org.springframework.ui.ModelMap; -import org.springframework.web.bind.annotation.*; - -import java.math.BigDecimal; - -/** - * @author :pyy - * @date :Created in 2021/11/23 16:00 - * @description: - * @modified By: - * @version: $ - */ -@Controller -@RequestMapping("/invoice/poInvoicePay") -public class PoInvoicePayController extends BaseController { - - private String prefix = "invoice/poInvoicePay"; - - @Autowired - private IPoInvoiceHeadService poInvoiceHeadService; - - @Autowired - private IProviderService providerService; - - /** - * 修改税发票列表 - */ - @GetMapping("/edit/{Invoiceno}") - public String edit(@PathVariable("Invoiceno") String Invoiceno, ModelMap mmap) { - PoInvoiceHead poInvoiceHead1 = new PoInvoiceHead(); - poInvoiceHead1.setInvoiceno(Invoiceno); - PoInvoiceHead poInvoiceHead = poInvoiceHeadService.selectPoInvoiceHeadList(poInvoiceHead1).get(0); - mmap.put("poInvoiceHead", poInvoiceHead); - return prefix + "/edit"; - } - - /** - * 修改保存税发票列表 - */ -// @RequiresPermissions("invoice:poinvoicehead:edit") - @Log(title = "税发票列表", businessType = BusinessType.UPDATE) - @PostMapping("/edit") - @ResponseBody - public Result editSave(String jsonStr) throws Exception { - JSONObject jsonObject = JSONObject.parseObject(jsonStr); - PoInvoiceHead poInvoiceHead = jsonObject.toJavaObject(PoInvoiceHead.class); - if (poInvoiceHead.getGetmoney().compareTo(BigDecimal.ZERO) <= 0) { - return Result.getFailResult("请输入有效金额!", null); - } - PoInvoiceHead findPoInvoiceHead = new PoInvoiceHead(); - findPoInvoiceHead.setInvoiceno(poInvoiceHead.getInvoiceno()); - findPoInvoiceHead = poInvoiceHeadService.selectPoInvoiceHeadList(findPoInvoiceHead).get(0); - BigDecimal getMoney = findPoInvoiceHead.getGetmoney(); - if (getMoney == null) { - getMoney = BigDecimal.ZERO; - } - poInvoiceHead.setGetmoney(poInvoiceHead.getGetmoney().add(getMoney)); - int i = poInvoiceHeadService.updatePoInvoiceHead(poInvoiceHead); - return Result.getSuccessResult(i); - } -} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/invoice/domain/PoInvoiceHead.java b/ruoyi-admin/src/main/java/com/ruoyi/invoice/domain/PoInvoiceHead.java deleted file mode 100644 index c706ae56..00000000 --- a/ruoyi-admin/src/main/java/com/ruoyi/invoice/domain/PoInvoiceHead.java +++ /dev/null @@ -1,570 +0,0 @@ -package com.ruoyi.invoice.domain; - -import com.fasterxml.jackson.annotation.JsonFormat; -import com.ruoyi.common.annotation.Excel; -import com.ruoyi.common.core.domain.BaseEntity; - -import java.math.BigDecimal; -import java.util.Date; -import java.util.List; - -/** - * 税发票列表对象 poinvoicehead - * - * @author ruoyi - * @date 2021-11-16 - */ -public class PoInvoiceHead extends BaseEntity -{ - private static final long serialVersionUID = 1L; - - /** 发票编号 */ - @Excel(name = "发票编号") - private String invoiceid; - - /** 发票号 */ - @Excel(name = "发票号") - private String Invoiceno; - - /** 厂商名 */ - @Excel(name = "厂商名") - private String pCode; - - /** 厂商名称 */ - @Excel(name = "厂商名称") - private String pName; - - /** 合同号 */ - @Excel(name = "合同号") - private String HTNO; - - /** 付款条件 */ - @Excel(name = "付款条件") - private String PAYWAY; - - /** 开票日期 */ - @JsonFormat(pattern = "yyyy-MM-dd") - @Excel(name = "开票日期", width = 30, dateFormat = "yyyy-MM-dd") - private Date invoicedate; - - /** 发送公司 */ - @Excel(name = "发送公司") - private String sendcompany; - - /** 收到公司 */ - @Excel(name = "收到公司") - private String getcompany; - - /** 出口海关 */ - @Excel(name = "出口海关") - private String swater; - - /** 指运港 */ - @Excel(name = "指运港") - private String dwater; - - /** 总数 */ - @Excel(name = "总数") - private String totalqty; - - /** 总价 */ - @Excel(name = "总价") - private String totalamt; - - /** 中文总价 */ - @Excel(name = "中文总价") - private String allenamt; - - /** */ - @Excel(name = "") - private String opman; - - /** 件数(箱数) */ - @Excel(name = "件数(箱数)") - private Long boxNum; - - /** 运输方式 */ - @Excel(name = "运输方式") - private String sendway; - - /** 运输工具名称 */ - @Excel(name = "运输工具名称") - private String sendtool; - - /** 离境日期 */ - @JsonFormat(pattern = "yyyy-MM-dd") - @Excel(name = "离境日期", width = 30, dateFormat = "yyyy-MM-dd") - private Date leavechinaDate; - - /** */ - @Excel(name = "") - private String getFormNo; - - /** 抵运国 */ - @Excel(name = "抵运国") - private String ciqName; - - /** 提运单号 */ - @Excel(name = "提运单号") - private String CPSendID; - - /** 币别 */ - @Excel(name = "币别") - private String crlName; - - /** 收款否 */ - @Excel(name = "收款否") - private Long getmoneyFlag; - - /** 扣款数 */ - @Excel(name = "扣款数") - private BigDecimal koukuanAmt; - - /** 扣款备注 */ - @Excel(name = "扣款备注") - private String koukuanMemotext; - - /** 收款备注 */ - @Excel(name = "收款备注") - private String getmoneyMemotext; - - /** 收款日期 */ - @JsonFormat(pattern = "yyyy-MM-dd") - @Excel(name = "收款日期", width = 30, dateFormat = "yyyy-MM-dd") - private Date getmoneyDate; - - /** 收款人 */ - @Excel(name = "收款人") - private String getmoneyMan; - - /** 收款数 */ - @Excel(name = "收款数") - private BigDecimal getmoney; - - /** 国税发票编号 */ - @Excel(name = "国税发票编号") - private String taxInvoiceNo; - - /** 发票印字版本 */ - @Excel(name = "发票印字版本") - private String taxPrintVersion; - - /** */ - @Excel(name = "") - private String payall; - - /** 备注 */ - @Excel(name = "备注") - private String MemoText; - - /** 到票日期 */ - @JsonFormat(pattern = "yyyy-MM-dd") - @Excel(name = "到票日期", width = 30, dateFormat = "yyyy-MM-dd") - private Date ShouldPayDate; - - /** 使用的钱 */ - @Excel(name = "使用的钱") - private BigDecimal haveAppAmt; - - private List poInvoiceListList; - - //剩余交期 - private String surplusPayDay; - - //是否全款 - private String isAllPay; - - public List getPoInvoiceListList() { - return poInvoiceListList; - } - - public void setPoInvoiceListList(List poInvoiceListList) { - this.poInvoiceListList = poInvoiceListList; - } - - public String getSurplusPayDay() { - return surplusPayDay; - } - - public void setSurplusPayDay(String surplusPayDay) { - this.surplusPayDay = surplusPayDay; - } - - public String getIsAllPay() { - return isAllPay; - } - - public void setIsAllPay(String isAllPay) { - this.isAllPay = isAllPay; - } - - public void setInvoiceid(String invoiceid) - { - this.invoiceid = invoiceid; - } - - public String getInvoiceid() - { - return invoiceid; - } - public void setInvoiceno(String Invoiceno) - { - this.Invoiceno = Invoiceno; - } - - public String getInvoiceno() - { - return Invoiceno; - } - public void setpCode(String pCode) - { - this.pCode = pCode; - } - - public String getpCode() - { - return pCode; - } - public void setpName(String pName) - { - this.pName = pName; - } - - public String getpName() - { - return pName; - } - public void setHTNO(String HTNO) - { - this.HTNO = HTNO; - } - - public String getHTNO() - { - return HTNO; - } - public void setPAYWAY(String PAYWAY) - { - this.PAYWAY = PAYWAY; - } - - public String getPAYWAY() - { - return PAYWAY; - } - public void setInvoicedate(Date invoicedate) - { - this.invoicedate = invoicedate; - } - - public Date getInvoicedate() - { - return invoicedate; - } - public void setSendcompany(String sendcompany) - { - this.sendcompany = sendcompany; - } - - public String getSendcompany() - { - return sendcompany; - } - public void setGetcompany(String getcompany) - { - this.getcompany = getcompany; - } - - public String getGetcompany() - { - return getcompany; - } - public void setSwater(String swater) - { - this.swater = swater; - } - - public String getSwater() - { - return swater; - } - public void setDwater(String dwater) - { - this.dwater = dwater; - } - - public String getDwater() - { - return dwater; - } - public void setTotalqty(String totalqty) - { - this.totalqty = totalqty; - } - - public String getTotalqty() - { - return totalqty; - } - public void setTotalamt(String totalamt) - { - this.totalamt = totalamt; - } - - public String getTotalamt() - { - return totalamt; - } - public void setAllenamt(String allenamt) - { - this.allenamt = allenamt; - } - - public String getAllenamt() - { - return allenamt; - } - public void setOpman(String opman) - { - this.opman = opman; - } - - public String getOpman() - { - return opman; - } - public void setBoxNum(Long boxNum) - { - this.boxNum = boxNum; - } - - public Long getBoxNum() - { - return boxNum; - } - public void setSendway(String sendway) - { - this.sendway = sendway; - } - - public String getSendway() - { - return sendway; - } - public void setSendtool(String sendtool) - { - this.sendtool = sendtool; - } - - public String getSendtool() - { - return sendtool; - } - public void setLeavechinaDate(Date leavechinaDate) - { - this.leavechinaDate = leavechinaDate; - } - - public Date getLeavechinaDate() - { - return leavechinaDate; - } - public void setGetFormNo(String getFormNo) - { - this.getFormNo = getFormNo; - } - - public String getGetFormNo() - { - return getFormNo; - } - public void setCiqName(String ciqName) - { - this.ciqName = ciqName; - } - - public String getCiqName() - { - return ciqName; - } - public void setCPSendID(String CPSendID) - { - this.CPSendID = CPSendID; - } - - public String getCPSendID() - { - return CPSendID; - } - public void setCrlName(String crlName) - { - this.crlName = crlName; - } - - public String getCrlName() - { - return crlName; - } - public void setGetmoneyFlag(Long getmoneyFlag) - { - this.getmoneyFlag = getmoneyFlag; - } - - public Long getGetmoneyFlag() - { - return getmoneyFlag; - } - public void setKoukuanAmt(BigDecimal koukuanAmt) - { - this.koukuanAmt = koukuanAmt; - } - - public BigDecimal getKoukuanAmt() - { - return koukuanAmt; - } - public void setKoukuanMemotext(String koukuanMemotext) - { - this.koukuanMemotext = koukuanMemotext; - } - - public String getKoukuanMemotext() - { - return koukuanMemotext; - } - public void setGetmoneyMemotext(String getmoneyMemotext) - { - this.getmoneyMemotext = getmoneyMemotext; - } - - public String getGetmoneyMemotext() - { - return getmoneyMemotext; - } - public void setGetmoneyDate(Date getmoneyDate) - { - this.getmoneyDate = getmoneyDate; - } - - public Date getGetmoneyDate() - { - return getmoneyDate; - } - public void setGetmoneyMan(String getmoneyMan) - { - this.getmoneyMan = getmoneyMan; - } - - public String getGetmoneyMan() - { - return getmoneyMan; - } - public void setGetmoney(BigDecimal getmoney) - { - this.getmoney = getmoney; - } - - public BigDecimal getGetmoney() - { - return getmoney; - } - public void setTaxInvoiceNo(String taxInvoiceNo) - { - this.taxInvoiceNo = taxInvoiceNo; - } - - public String getTaxInvoiceNo() - { - return taxInvoiceNo; - } - public void setTaxPrintVersion(String taxPrintVersion) - { - this.taxPrintVersion = taxPrintVersion; - } - - public String getTaxPrintVersion() - { - return taxPrintVersion; - } - public void setPayall(String payall) - { - this.payall = payall; - } - - public String getPayall() - { - return payall; - } - public void setMemoText(String MemoText) - { - this.MemoText = MemoText; - } - - public String getMemoText() - { - return MemoText; - } - public void setShouldPayDate(Date ShouldPayDate) - { - this.ShouldPayDate = ShouldPayDate; - } - - public Date getShouldPayDate() - { - return ShouldPayDate; - } - public void setHaveAppAmt(BigDecimal haveAppAmt) - { - this.haveAppAmt = haveAppAmt; - } - - public BigDecimal getHaveAppAmt() - { - return haveAppAmt; - } - - @Override - public String toString() { - return "PoInvoiceHead{" + - "invoiceid='" + invoiceid + '\'' + - ", Invoiceno='" + Invoiceno + '\'' + - ", pCode='" + pCode + '\'' + - ", pName='" + pName + '\'' + - ", HTNO='" + HTNO + '\'' + - ", PAYWAY='" + PAYWAY + '\'' + - ", invoicedate=" + invoicedate + - ", sendcompany='" + sendcompany + '\'' + - ", getcompany='" + getcompany + '\'' + - ", swater='" + swater + '\'' + - ", dwater='" + dwater + '\'' + - ", totalqty='" + totalqty + '\'' + - ", totalamt='" + totalamt + '\'' + - ", allenamt='" + allenamt + '\'' + - ", opman='" + opman + '\'' + - ", boxNum=" + boxNum + - ", sendway='" + sendway + '\'' + - ", sendtool='" + sendtool + '\'' + - ", leavechinaDate=" + leavechinaDate + - ", getFormNo='" + getFormNo + '\'' + - ", ciqName='" + ciqName + '\'' + - ", CPSendID='" + CPSendID + '\'' + - ", crlName='" + crlName + '\'' + - ", getmoneyFlag=" + getmoneyFlag + - ", koukuanAmt=" + koukuanAmt + - ", koukuanMemotext='" + koukuanMemotext + '\'' + - ", getmoneyMemotext='" + getmoneyMemotext + '\'' + - ", getmoneyDate=" + getmoneyDate + - ", getmoneyMan='" + getmoneyMan + '\'' + - ", getmoney=" + getmoney + - ", taxInvoiceNo='" + taxInvoiceNo + '\'' + - ", taxPrintVersion='" + taxPrintVersion + '\'' + - ", payall='" + payall + '\'' + - ", MemoText='" + MemoText + '\'' + - ", ShouldPayDate=" + ShouldPayDate + - ", haveAppAmt=" + haveAppAmt + - ", poInvoiceListList=" + poInvoiceListList + - ", surplusPayDay='" + surplusPayDay + '\'' + - ", isAllPay='" + isAllPay + '\'' + - '}'; - } -} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/invoice/domain/PoInvoiceHeadWithList.java b/ruoyi-admin/src/main/java/com/ruoyi/invoice/domain/PoInvoiceHeadWithList.java deleted file mode 100644 index 8bcf5a06..00000000 --- a/ruoyi-admin/src/main/java/com/ruoyi/invoice/domain/PoInvoiceHeadWithList.java +++ /dev/null @@ -1,242 +0,0 @@ -package com.ruoyi.invoice.domain; - -import com.fasterxml.jackson.annotation.JsonFormat; -import com.ruoyi.common.annotation.Excel; -import com.ruoyi.common.core.domain.BaseEntity; - -import java.util.Date; - -/** - * @author :pyy - * @date :Created in 2021/11/16 15:12 - * @description:税发票主子表联结查询 - * @modified By: - * @version: 1.0.0$ - */ -public class PoInvoiceHeadWithList extends BaseEntity { - - private static final long serialVersionUID = 1L; - - @Excel(name = "发票编号") - private String invoiceId; - - @Excel(name = "发票号") - private String invoiceNo; - - @Excel(name = "厂商名") - private String pCode; - - @Excel(name = "厂商名称") - private String pName; - - @Excel(name = "合同号") - private String HTNo; - - @Excel(name = "付款条件") - private String payWay; - - @JsonFormat(pattern = "yyyy-MM-dd") - @Excel(name = "开票日期", width = 30, dateFormat = "yyyy-MM-dd") - private Date invoiceDate; - - @Excel(name = "规格型号") - private String orderNo; - - @Excel(name = "物料代码") - private String wlCode; - - @Excel(name = "物料名称") - private String itemName; - - @Excel(name = "单位") - private String stockDw; - - @Excel(name = "币别") - private String crlName; - - @Excel(name = "数量") - private String qty; - - @Excel(name = "单价") - private String price; - - @Excel(name = "金额") - private String amt; - - @Excel(name = "国税发票编号") - private String taxInvoiceNo; - - @Excel(name = "发票印字版本") - private String taxPriceVersion; - - @Excel(name = "收款否") - private String getMoneyFlag; - - public String getInvoiceId() { - return invoiceId; - } - - public void setInvoiceId(String invoiceId) { - this.invoiceId = invoiceId; - } - - public String getInvoiceNo() { - return invoiceNo; - } - - public void setInvoiceNo(String invoiceNo) { - this.invoiceNo = invoiceNo; - } - - public String getpCode() { - return pCode; - } - - public void setpCode(String pCode) { - this.pCode = pCode; - } - - public String getpName() { - return pName; - } - - public void setpName(String pName) { - this.pName = pName; - } - - public String getHTNo() { - return HTNo; - } - - public void setHTNo(String HTNo) { - this.HTNo = HTNo; - } - - public String getPayWay() { - return payWay; - } - - public void setPayWay(String payWay) { - this.payWay = payWay; - } - - public Date getInvoiceDate() { - return invoiceDate; - } - - public void setInvoiceDate(Date invoiceDate) { - this.invoiceDate = invoiceDate; - } - - public String getOrderNo() { - return orderNo; - } - - public void setOrderNo(String orderNo) { - this.orderNo = orderNo; - } - - public String getWlCode() { - return wlCode; - } - - public void setWlCode(String wlCode) { - this.wlCode = wlCode; - } - - public String getItemName() { - return itemName; - } - - public void setItemName(String itemName) { - this.itemName = itemName; - } - - public String getStockDw() { - return stockDw; - } - - public void setStockDw(String stockDw) { - this.stockDw = stockDw; - } - - public String getCrlName() { - return crlName; - } - - public void setCrlName(String crlName) { - this.crlName = crlName; - } - - public String getQty() { - return qty; - } - - public void setQty(String qty) { - this.qty = qty; - } - - public String getPrice() { - return price; - } - - public void setPrice(String price) { - this.price = price; - } - - public String getAmt() { - return amt; - } - - public void setAmt(String amt) { - this.amt = amt; - } - - public String getTaxInvoiceNo() { - return taxInvoiceNo; - } - - public void setTaxInvoiceNo(String taxInvoiceNo) { - this.taxInvoiceNo = taxInvoiceNo; - } - - public String getTaxPriceVersion() { - return taxPriceVersion; - } - - public void setTaxPriceVersion(String taxPriceVersion) { - this.taxPriceVersion = taxPriceVersion; - } - - public String getGetMoneyFlag() { - return getMoneyFlag; - } - - public void setGetMoneyFlag(String getMoneyFlag) { - this.getMoneyFlag = getMoneyFlag; - } - - @Override - public String toString() { - return "PoInvoiceHeadWithList{" + - "invoiceId='" + invoiceId + '\'' + - ", invoiceNo='" + invoiceNo + '\'' + - ", pCode='" + pCode + '\'' + - ", pName='" + pName + '\'' + - ", HTNo='" + HTNo + '\'' + - ", payWay='" + payWay + '\'' + - ", invoiceDate=" + invoiceDate + - ", orderNo='" + orderNo + '\'' + - ", wlCode='" + wlCode + '\'' + - ", itemName='" + itemName + '\'' + - ", stockDw='" + stockDw + '\'' + - ", crlName='" + crlName + '\'' + - ", qty='" + qty + '\'' + - ", price='" + price + '\'' + - ", amt='" + amt + '\'' + - ", taxInvoiceNo='" + taxInvoiceNo + '\'' + - ", taxPriceVersion='" + taxPriceVersion + '\'' + - ", getMoneyFlag='" + getMoneyFlag + '\'' + - '}'; - } -} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/invoice/domain/PoInvoiceList.java b/ruoyi-admin/src/main/java/com/ruoyi/invoice/domain/PoInvoiceList.java deleted file mode 100644 index 8ef71094..00000000 --- a/ruoyi-admin/src/main/java/com/ruoyi/invoice/domain/PoInvoiceList.java +++ /dev/null @@ -1,180 +0,0 @@ -package com.ruoyi.invoice.domain; - -import com.ruoyi.common.annotation.Excel; -import com.ruoyi.common.core.domain.BaseEntity; -import org.apache.commons.lang3.builder.ToStringBuilder; -import org.apache.commons.lang3.builder.ToStringStyle; - -import java.math.BigDecimal; - -/** - * 税发票列表对象 poinvoicelist - * - * @author ruoyi - * @date 2021-11-16 - */ -public class PoInvoiceList extends BaseEntity -{ - private static final long serialVersionUID = 1L; - - /** 发票编号 */ - @Excel(name = "发票编号") - private String invoiceid; - - /** 规格型号 */ - @Excel(name = "规格型号") - private String orderno; - - /** 物料代码· */ - @Excel(name = "物料代码") - private String wlCode; - - /** 物料名称 */ - @Excel(name = "物料名称") - private String itemname; - - /** 单位 */ - @Excel(name = "单位") - private String stockDw; - - /** 币别 */ - @Excel(name = "币别") - private String crlName; - - /** 数量 */ - @Excel(name = "数量") - private Long qty; - - /** 单价 */ - @Excel(name = "单价") - private BigDecimal price; - - /** 金额 */ - @Excel(name = "金额") - private BigDecimal amt; - - /** */ - @Excel(name = "") - private String PNO; - - /** */ - @Excel(name = "") - private String FPH; - - public void setInvoiceid(String invoiceid) - { - this.invoiceid = invoiceid; - } - - public String getInvoiceid() - { - return invoiceid; - } - public void setOrderno(String orderno) - { - this.orderno = orderno; - } - - public String getOrderno() - { - return orderno; - } - public void setWlCode(String wlCode) - { - this.wlCode = wlCode; - } - - public String getWlCode() - { - return wlCode; - } - public void setItemname(String itemname) - { - this.itemname = itemname; - } - - public String getItemname() - { - return itemname; - } - public void setStockDw(String stockDw) - { - this.stockDw = stockDw; - } - - public String getStockDw() - { - return stockDw; - } - public void setCrlName(String crlName) - { - this.crlName = crlName; - } - - public String getCrlName() - { - return crlName; - } - public void setQty(Long qty) - { - this.qty = qty; - } - - public Long getQty() - { - return qty; - } - public void setPrice(BigDecimal price) - { - this.price = price; - } - - public BigDecimal getPrice() - { - return price; - } - public void setAmt(BigDecimal amt) - { - this.amt = amt; - } - - public BigDecimal getAmt() - { - return amt; - } - public void setPNO(String PNO) - { - this.PNO = PNO; - } - - public String getPNO() - { - return PNO; - } - public void setFPH(String FPH) - { - this.FPH = FPH; - } - - public String getFPH() - { - return FPH; - } - - @Override - public String toString() { - return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) - .append("invoiceid", getInvoiceid()) - .append("orderno", getOrderno()) - .append("wlCode", getWlCode()) - .append("itemname", getItemname()) - .append("stockDw", getStockDw()) - .append("crlName", getCrlName()) - .append("qty", getQty()) - .append("price", getPrice()) - .append("amt", getAmt()) - .append("PNO", getPNO()) - .append("FPH", getFPH()) - .toString(); - } -} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/invoice/mapper/PoInvoiceHeadMapper.java b/ruoyi-admin/src/main/java/com/ruoyi/invoice/mapper/PoInvoiceHeadMapper.java deleted file mode 100644 index 4c8ed234..00000000 --- a/ruoyi-admin/src/main/java/com/ruoyi/invoice/mapper/PoInvoiceHeadMapper.java +++ /dev/null @@ -1,71 +0,0 @@ -package com.ruoyi.invoice.mapper; - -import com.ruoyi.invoice.domain.PoInvoiceHead; - -import java.util.List; - -/** - * 税发票列表Mapper接口 - * - * @author ruoyi - * @date 2021-11-16 - */ -public interface PoInvoiceHeadMapper { - /** - * 查询税发票列表 - * - * @param invoiceid 税发票列表ID - * @return 税发票列表 - */ - public PoInvoiceHead selectPoInvoiceHeadById(String invoiceid); - - /** - * 查询税发票列表列表 - * - * @param poInvoiceHead 税发票列表 - * @return 税发票列表集合 - */ - public List selectPoInvoiceHeadList(PoInvoiceHead poInvoiceHead); - - /** - * 新增税发票列表 - * - * @param poInvoiceHead 税发票列表 - * @return 结果 - */ - public int insertPoInvoiceHead(PoInvoiceHead poInvoiceHead); - - /** - * 修改税发票列表 - * - * @param poInvoiceHead 税发票列表 - * @return 结果 - */ - public int updatePoInvoiceHead(PoInvoiceHead poInvoiceHead); - - /** - * 删除税发票列表 - * - * @param invoiceid 税发票列表ID - * @return 结果 - */ - public int deletePoInvoiceHeadById(String invoiceid); - - /** - * 批量删除税发票列表 - * - * @param invoiceids 需要删除的数据ID - * @return 结果 - */ - public int deletePoInvoiceHeadByIds(String[] invoiceids); - - /** - * @throws - * @title selectCountByDay - * @description - * @author pyy - * @updateTime 2021/11/18 17:21 - * @return: java.lang.Integer - */ - public Integer selectCountByDay(); -} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/invoice/mapper/PoInvoiceHeadWithListMapper.java b/ruoyi-admin/src/main/java/com/ruoyi/invoice/mapper/PoInvoiceHeadWithListMapper.java deleted file mode 100644 index 1a3a3b5b..00000000 --- a/ruoyi-admin/src/main/java/com/ruoyi/invoice/mapper/PoInvoiceHeadWithListMapper.java +++ /dev/null @@ -1,17 +0,0 @@ -package com.ruoyi.invoice.mapper; - -import com.ruoyi.invoice.domain.PoInvoiceHeadWithList; - -import java.util.List; - -/** - * @author :pyy - * @date :Created in 2021/11/16 16:27 - * @description:税发票联结查询mapper - * @modified By: - * @version: 1.0.0$ - */ -public interface PoInvoiceHeadWithListMapper { - - public List selectPoInvoiceHeadWithList(PoInvoiceHeadWithList poInvoiceHeadWithList); -} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/invoice/mapper/PoInvoiceListMapper.java b/ruoyi-admin/src/main/java/com/ruoyi/invoice/mapper/PoInvoiceListMapper.java deleted file mode 100644 index d766533c..00000000 --- a/ruoyi-admin/src/main/java/com/ruoyi/invoice/mapper/PoInvoiceListMapper.java +++ /dev/null @@ -1,62 +0,0 @@ -package com.ruoyi.invoice.mapper; - -import com.ruoyi.invoice.domain.PoInvoiceList; - -import java.util.List; - -/** - * 税发票列表Mapper接口 - * - * @author ruoyi - * @date 2021-11-16 - */ -public interface PoInvoiceListMapper -{ - /** - * 查询税发票列表 - * - * @param invoiceid 税发票列表ID - * @return 税发票列表 - */ - public PoInvoiceList selectPoInvoiceListById(String invoiceid); - - /** - * 查询税发票列表列表 - * - * @param poInvoiceList 税发票列表 - * @return 税发票列表集合 - */ - public List selectPoInvoiceListList(PoInvoiceList poInvoiceList); - - /** - * 新增税发票列表 - * - * @param poInvoiceList 税发票列表 - * @return 结果 - */ - public int insertPoInvoiceList(PoInvoiceList poInvoiceList); - - /** - * 修改税发票列表 - * - * @param poInvoiceList 税发票列表 - * @return 结果 - */ - public int updatePoInvoiceList(PoInvoiceList poInvoiceList); - - /** - * 删除税发票列表 - * - * @param invoiceid 税发票列表ID - * @return 结果 - */ - public int deletePoInvoiceListById(String invoiceid); - - /** - * 批量删除税发票列表 - * - * @param invoiceids 需要删除的数据ID - * @return 结果 - */ - public int deletePoInvoiceListByIds(String[] invoiceids); -} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/invoice/service/IPoInvoiceHeadService.java b/ruoyi-admin/src/main/java/com/ruoyi/invoice/service/IPoInvoiceHeadService.java deleted file mode 100644 index 47ed6d5c..00000000 --- a/ruoyi-admin/src/main/java/com/ruoyi/invoice/service/IPoInvoiceHeadService.java +++ /dev/null @@ -1,68 +0,0 @@ -package com.ruoyi.invoice.service; - -import com.ruoyi.invoice.domain.PoInvoiceChooseItem; -import com.ruoyi.invoice.domain.PoInvoiceHead; -import com.ruoyi.invoice.domain.PoInvoiceHeadWithList; - -import java.util.List; - -/** - * 税发票列表Service接口 - * - * @author ruoyi - * @date 2021-11-16 - */ -public interface IPoInvoiceHeadService -{ - /** - * 查询税发票列表 - * - * @param invoiceid 税发票列表ID - * @return 税发票列表 - */ - public PoInvoiceHead selectPoInvoiceHeadById(String invoiceid); - - /** - * 查询税发票列表列表 - * - * @param poInvoiceHead 税发票列表 - * @return 税发票列表集合 - */ - public List selectPoInvoiceHeadList(PoInvoiceHead poInvoiceHead); - - /** - * 新增税发票列表 - * - * @param poInvoiceHead 税发票列表 - * @return 结果 - */ - public int insertPoInvoiceHead(PoInvoiceHead poInvoiceHead); - - /** - * 修改税发票列表 - * - * @param poInvoiceHead 税发票列表 - * @return 结果 - */ - public int updatePoInvoiceHead(PoInvoiceHead poInvoiceHead); - - /** - * 批量删除税发票列表 - * - * @param ids 需要删除的数据ID - * @return 结果 - */ - public int deletePoInvoiceHeadByIds(String ids); - - /** - * 删除税发票列表信息 - * - * @param invoiceid 税发票列表ID - * @return 结果 - */ - public int deletePoInvoiceHeadById(String invoiceid); - - public List findPoInvoiceHeadWithList(PoInvoiceHeadWithList poInvoiceHeadWithList); - - public List findPoInvoiceChooseItem(PoInvoiceChooseItem poInvoiceChooseItem); -} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/invoice/service/IPoInvoiceListService.java b/ruoyi-admin/src/main/java/com/ruoyi/invoice/service/IPoInvoiceListService.java deleted file mode 100644 index 2a13e892..00000000 --- a/ruoyi-admin/src/main/java/com/ruoyi/invoice/service/IPoInvoiceListService.java +++ /dev/null @@ -1,62 +0,0 @@ -package com.ruoyi.invoice.service; - -import com.ruoyi.invoice.domain.PoInvoiceList; - -import java.util.List; - -/** - * 税发票列表Service接口 - * - * @author ruoyi - * @date 2021-11-16 - */ -public interface IPoInvoiceListService -{ - /** - * 查询税发票列表 - * - * @param invoiceid 税发票列表ID - * @return 税发票列表 - */ - public PoInvoiceList selectPoInvoiceListById(String invoiceid); - - /** - * 查询税发票列表列表 - * - * @param poInvoiceList 税发票列表 - * @return 税发票列表集合 - */ - public List selectPoInvoiceListList(PoInvoiceList poInvoiceList); - - /** - * 新增税发票列表 - * - * @param poInvoiceList 税发票列表 - * @return 结果 - */ - public int insertPoInvoiceList(PoInvoiceList poInvoiceList); - - /** - * 修改税发票列表 - * - * @param poInvoiceList 税发票列表 - * @return 结果 - */ - public int updatePoInvoiceList(PoInvoiceList poInvoiceList); - - /** - * 批量删除税发票列表 - * - * @param ids 需要删除的数据ID - * @return 结果 - */ - public int deletePoInvoiceListByIds(String ids); - - /** - * 删除税发票列表信息 - * - * @param invoiceid 税发票列表ID - * @return 结果 - */ - public int deletePoInvoiceListById(String invoiceid); -} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/invoice/service/impl/PoInvoiceHeadServiceImpl.java b/ruoyi-admin/src/main/java/com/ruoyi/invoice/service/impl/PoInvoiceHeadServiceImpl.java deleted file mode 100644 index e3f29451..00000000 --- a/ruoyi-admin/src/main/java/com/ruoyi/invoice/service/impl/PoInvoiceHeadServiceImpl.java +++ /dev/null @@ -1,178 +0,0 @@ -package com.ruoyi.invoice.service.impl; - -import com.alibaba.druid.util.StringUtils; -import com.ruoyi.ck.domain.Provider; -import com.ruoyi.ck.mapper.ProviderMapper; -import com.ruoyi.common.core.text.Convert; -import com.ruoyi.invoice.domain.PoInvoiceChooseItem; -import com.ruoyi.invoice.domain.PoInvoiceHead; -import com.ruoyi.invoice.domain.PoInvoiceHeadWithList; -import com.ruoyi.invoice.domain.PoInvoiceList; -import com.ruoyi.invoice.mapper.PoInvoiceChooseItemMapper; -import com.ruoyi.invoice.mapper.PoInvoiceHeadMapper; -import com.ruoyi.invoice.mapper.PoInvoiceHeadWithListMapper; -import com.ruoyi.invoice.mapper.PoInvoiceListMapper; -import com.ruoyi.invoice.service.IPoInvoiceHeadService; -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.stereotype.Service; - -import java.time.LocalDate; -import java.util.Date; -import java.util.List; - -/** - * 税发票列表Service业务层处理 - * - * @author ruoyi - * @date 2021-11-16 - */ -@Service -public class PoInvoiceHeadServiceImpl implements IPoInvoiceHeadService { - @Autowired - private PoInvoiceHeadMapper poInvoiceHeadMapper; - - @Autowired - private PoInvoiceHeadWithListMapper poInvoiceHeadWithListMapper; - - @Autowired - private PoInvoiceListMapper poInvoiceListMapper; - - @Autowired - private ProviderMapper providerMapper; - - @Autowired - private PoInvoiceChooseItemMapper poInvoiceChooseItemMapper; - - private static final int TEN = 10; - - private static final int HUNDRED = 100; - - /** - * 查询税发票列表 - * - * @param invoiceid 税发票列表ID - * @return 税发票列表 - */ - @Override - public PoInvoiceHead selectPoInvoiceHeadById(String invoiceid) { - return poInvoiceHeadMapper.selectPoInvoiceHeadById(invoiceid); - } - - /** - * 查询税发票列表列表 - * - * @param poInvoiceHead 税发票列表 - * @return 税发票列表 - */ - @Override - public List selectPoInvoiceHeadList(PoInvoiceHead poInvoiceHead) { - List poInvoiceHeads = poInvoiceHeadMapper.selectPoInvoiceHeadList(poInvoiceHead); - String totalAmt; - for (PoInvoiceHead each : poInvoiceHeads) { - totalAmt = each.getTotalamt(); - if (totalAmt != null) { - if (totalAmt.startsWith("R") || totalAmt.startsWith("U")) { - each.setTotalamt(totalAmt.substring(3)); - } - } - } - return poInvoiceHeads; - } - - /** - * 新增税发票列表 - * - * @param poInvoiceHead 税发票列表 - * @return 结果 - */ - @Override - public int insertPoInvoiceHead(PoInvoiceHead poInvoiceHead) { - Integer findCountByDay = poInvoiceHeadMapper.selectCountByDay(); - String today = LocalDate.now().toString().replaceAll("-", ""); - String id = "POFP_" + today; - if (findCountByDay < TEN) { - id += "00" + findCountByDay; - } else if (findCountByDay < HUNDRED) { - id += "0" + findCountByDay; - } else { - id += findCountByDay; - } - Provider provider = new Provider(); - provider.setpName(poInvoiceHead.getpName()); - List providers = providerMapper.selectByItem(provider); - poInvoiceHead.setpCode(providers.get(0).getpCode()); - Date date = new Date(); - poInvoiceHead.setInvoicedate(date); - poInvoiceHead.setInvoiceid(id); - //poInvoiceHead.setSendcompany("Kens Electronics Technology CO.LTD."); - List poInvoiceListList = poInvoiceHead.getPoInvoiceListList(); - for (PoInvoiceList each : poInvoiceListList) { - each.setInvoiceid(id); - if (StringUtils.isEmpty(each.getCrlName())) { - each.setCrlName("RMB"); - } - poInvoiceListMapper.insertPoInvoiceList(each); - } - return poInvoiceHeadMapper.insertPoInvoiceHead(poInvoiceHead); - } - - /** - * 修改税发票列表 - * - * @param poInvoiceHead 税发票列表 - * @return 结果 - */ - @Override - public int updatePoInvoiceHead(PoInvoiceHead poInvoiceHead) { - Provider provider = new Provider(); - provider.setpName(poInvoiceHead.getpName()); - List providers = providerMapper.selectByItem(provider); - poInvoiceHead.setpCode(providers.get(0).getpCode()); - String invoiceid = poInvoiceHead.getInvoiceid(); - poInvoiceListMapper.deletePoInvoiceListById(invoiceid); - List poInvoiceListList = poInvoiceHead.getPoInvoiceListList(); - if (poInvoiceListList != null) { - for (PoInvoiceList each : poInvoiceListList) { - each.setInvoiceid(invoiceid); - if (StringUtils.isEmpty(each.getCrlName())) { - each.setCrlName("RMB"); - } - poInvoiceListMapper.insertPoInvoiceList(each); - - } - } - return poInvoiceHeadMapper.updatePoInvoiceHead(poInvoiceHead); - } - - /** - * 删除税发票列表对象 - * - * @param ids 需要删除的数据ID - * @return 结果 - */ - @Override - public int deletePoInvoiceHeadByIds(String ids) { - return poInvoiceHeadMapper.deletePoInvoiceHeadByIds(Convert.toStrArray(ids)); - } - - /** - * 删除税发票列表信息 - * - * @param invoiceid 税发票列表ID - * @return 结果 - */ - @Override - public int deletePoInvoiceHeadById(String invoiceid) { - return poInvoiceHeadMapper.deletePoInvoiceHeadById(invoiceid); - } - - @Override - public List findPoInvoiceHeadWithList(PoInvoiceHeadWithList poInvoiceHeadWithList) { - return poInvoiceHeadWithListMapper.selectPoInvoiceHeadWithList(poInvoiceHeadWithList); - } - - @Override - public List findPoInvoiceChooseItem(PoInvoiceChooseItem poInvoiceChooseItem) { - return poInvoiceChooseItemMapper.selectPoInvoiceChooseItemList(poInvoiceChooseItem); - } -} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/invoice/service/impl/PoInvoiceListServiceImpl.java b/ruoyi-admin/src/main/java/com/ruoyi/invoice/service/impl/PoInvoiceListServiceImpl.java deleted file mode 100644 index a0bd859c..00000000 --- a/ruoyi-admin/src/main/java/com/ruoyi/invoice/service/impl/PoInvoiceListServiceImpl.java +++ /dev/null @@ -1,95 +0,0 @@ -package com.ruoyi.invoice.service.impl; - -import com.ruoyi.common.core.text.Convert; -import com.ruoyi.invoice.domain.PoInvoiceList; -import com.ruoyi.invoice.mapper.PoInvoiceListMapper; -import com.ruoyi.invoice.service.IPoInvoiceListService; -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.stereotype.Service; - -import java.util.List; - -/** - * 税发票列表Service业务层处理 - * - * @author ruoyi - * @date 2021-11-16 - */ -@Service -public class PoInvoiceListServiceImpl implements IPoInvoiceListService -{ - @Autowired - private PoInvoiceListMapper poInvoiceListMapper; - - /** - * 查询税发票列表 - * - * @param invoiceid 税发票列表ID - * @return 税发票列表 - */ - @Override - public PoInvoiceList selectPoInvoiceListById(String invoiceid) - { - return poInvoiceListMapper.selectPoInvoiceListById(invoiceid); - } - - /** - * 查询税发票列表列表 - * - * @param poInvoiceList 税发票列表 - * @return 税发票列表 - */ - @Override - public List selectPoInvoiceListList(PoInvoiceList poInvoiceList) - { - return poInvoiceListMapper.selectPoInvoiceListList(poInvoiceList); - } - - /** - * 新增税发票列表 - * - * @param poInvoiceList 税发票列表 - * @return 结果 - */ - @Override - public int insertPoInvoiceList(PoInvoiceList poInvoiceList) - { - return poInvoiceListMapper.insertPoInvoiceList(poInvoiceList); - } - - /** - * 修改税发票列表 - * - * @param poInvoiceList 税发票列表 - * @return 结果 - */ - @Override - public int updatePoInvoiceList(PoInvoiceList poInvoiceList) - { - return poInvoiceListMapper.updatePoInvoiceList(poInvoiceList); - } - - /** - * 删除税发票列表对象 - * - * @param ids 需要删除的数据ID - * @return 结果 - */ - @Override - public int deletePoInvoiceListByIds(String ids) - { - return poInvoiceListMapper.deletePoInvoiceListByIds(Convert.toStrArray(ids)); - } - - /** - * 删除税发票列表信息 - * - * @param invoiceid 税发票列表ID - * @return 结果 - */ - @Override - public int deletePoInvoiceListById(String invoiceid) - { - return poInvoiceListMapper.deletePoInvoiceListById(invoiceid); - } -} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/manufacture/domain/exportDto/MaterialRequisitionDetailDto.java b/ruoyi-admin/src/main/java/com/ruoyi/manufacture/domain/exportDto/MaterialRequisitionDetailDto.java deleted file mode 100644 index 7dae4262..00000000 --- a/ruoyi-admin/src/main/java/com/ruoyi/manufacture/domain/exportDto/MaterialRequisitionDetailDto.java +++ /dev/null @@ -1,293 +0,0 @@ -package com.ruoyi.manufacture.domain.exportDto; - -import com.alibaba.excel.annotation.ExcelProperty; -import com.ruoyi.common.annotation.Excel; -import com.ruoyi.common.core.domain.BaseEntity; -import org.apache.commons.lang3.builder.ToStringBuilder; -import org.apache.commons.lang3.builder.ToStringStyle; - -/** - * 领料物料对象 material_requisition_detail - * - * @author ruoyi - * @date 2023-04-06 - */ -public class MaterialRequisitionDetailDto extends BaseEntity -{ - private static final long serialVersionUID = 1L; - /** 序号 */ - @ExcelProperty("序号") -// @ContentStyle(borderLeft = BorderStyleEnum.THIN,borderTop = BorderStyleEnum.THIN,borderBottom = BorderStyleEnum.THIN,borderRight = BorderStyleEnum.THIN) - private Integer number; - - /** 领料物料id */ - private Long materialRequisitionDetailId; - - /** 领料单号 */ - @ExcelProperty("领料单号") - private String materialRequisitionNumber; - - /** 物料代码 */ - @ExcelProperty("物料代码") -// @ContentStyle(borderLeft = BorderStyleEnum.THIN,borderTop = BorderStyleEnum.THIN,borderBottom = BorderStyleEnum.THIN,borderRight = BorderStyleEnum.THIN) - private String materialCode; - - /** 物料名称 */ - @ExcelProperty("物料名称") -// @ContentStyle(borderLeft = BorderStyleEnum.THIN,borderTop = BorderStyleEnum.THIN,borderBottom = BorderStyleEnum.THIN,borderRight = BorderStyleEnum.THIN) - private String materialName; - - /** 规格型号 */ - @ExcelProperty("规格型号") -// @ContentStyle(borderLeft = BorderStyleEnum.THIN,borderTop = BorderStyleEnum.THIN,borderBottom = BorderStyleEnum.THIN,borderRight = BorderStyleEnum.THIN) - private String specificationModel; - - /** 料号 */ - @ExcelProperty("料号") -// @ContentStyle(borderLeft = BorderStyleEnum.THIN,borderTop = BorderStyleEnum.THIN,borderBottom = BorderStyleEnum.THIN,borderRight = BorderStyleEnum.THIN) - private String itemNumber; - - /** 机种 */ - @ExcelProperty("机种") - private String typeMachine; - - /** 单位 */ - @ExcelProperty("单位") -// @ContentStyle(borderLeft = BorderStyleEnum.THIN,borderTop = BorderStyleEnum.THIN,borderBottom = BorderStyleEnum.THIN,borderRight = BorderStyleEnum.THIN) - private String inventoryUnit; - - /** 计划数量 */ - @ExcelProperty("计划数量") -// @ContentStyle(borderLeft = BorderStyleEnum.THIN,borderTop = BorderStyleEnum.THIN,borderBottom = BorderStyleEnum.THIN,borderRight = BorderStyleEnum.THIN) - private String planQuantity; - - /** 说明 */ - @ExcelProperty("说明") - private String description; - - /** 单位用量 */ - @ExcelProperty("单位用量") -// @ContentStyle(borderLeft = BorderStyleEnum.THIN,borderTop = BorderStyleEnum.THIN,borderBottom = BorderStyleEnum.THIN,borderRight = BorderStyleEnum.THIN) - private String unitUsage; - - /** 存放位置 */ - @ExcelProperty("存放位置") -// @ContentStyle(borderLeft = BorderStyleEnum.THIN,borderTop = BorderStyleEnum.THIN,borderBottom = BorderStyleEnum.THIN,borderRight = BorderStyleEnum.THIN) - private String storageLocation; - - /** 物料类别 */ - @ExcelProperty("物料类别") - private String materialType; - - /** 备用一 */ - private String standbyOne; - - /** 备用二 */ - private String standbyTwo; - - /** 实发数量 */ - @ExcelProperty("实发数量") -// @ContentStyle(borderLeft = BorderStyleEnum.THIN,borderTop = BorderStyleEnum.THIN,borderBottom = BorderStyleEnum.THIN,borderRight = BorderStyleEnum.THIN) - private String actualQuantity; - - /** bom阶 */ - @Excel(name = "bom阶") - private String bomRank; - - /** 上级半成品代码 */ - @Excel(name = "上级半成品代码") - private String upFinishProductCode; - - public void setMaterialRequisitionDetailId(Long materialRequisitionDetailId) - { - this.materialRequisitionDetailId = materialRequisitionDetailId; - } - - public Integer getNumber() { - return number; - } - - public void setNumber(Integer number) { - this.number = number; - } - - public Long getMaterialRequisitionDetailId() - { - return materialRequisitionDetailId; - } - public void setMaterialRequisitionNumber(String materialRequisitionNumber) - { - this.materialRequisitionNumber = materialRequisitionNumber; - } - - public String getMaterialRequisitionNumber() - { - return materialRequisitionNumber; - } - 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 String getItemNumber() { - return itemNumber; - } - - public void setItemNumber(String itemNumber) { - this.itemNumber = itemNumber; - } - - 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 setPlanQuantity(String planQuantity) - { - this.planQuantity = planQuantity; - } - - public String getPlanQuantity() - { - return planQuantity; - } - public void setDescription(String description) - { - this.description = description; - } - - public String getDescription() - { - return description; - } - public void setUnitUsage(String unitUsage) - { - this.unitUsage = unitUsage; - } - - public String getUnitUsage() - { - return unitUsage; - } - public void setStorageLocation(String storageLocation) - { - this.storageLocation = storageLocation; - } - - public String getStorageLocation() - { - return storageLocation; - } - public void setMaterialType(String materialType) - { - this.materialType = materialType; - } - - public String getMaterialType() - { - return materialType; - } - 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 getBomRank() { - return bomRank; - } - - public void setBomRank(String bomRank) { - this.bomRank = bomRank; - } - - public String getUpFinishProductCode() { - return upFinishProductCode; - } - - public void setUpFinishProductCode(String upFinishProductCode) { - this.upFinishProductCode = upFinishProductCode; - } - - public String getActualQuantity() { - return actualQuantity; - } - - public void setActualQuantity(String actualQuantity) { - this.actualQuantity = actualQuantity; - } - - @Override - public String toString() { - return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) - .append("number", getNumber()) - .append("materialRequisitionDetailId", getMaterialRequisitionDetailId()) - .append("materialRequisitionNumber", getMaterialRequisitionNumber()) - .append("materialCode", getMaterialCode()) - .append("materialName", getMaterialName()) - .append("specificationModel", getSpecificationModel()) - .append("itemNumber", getItemNumber()) - .append("typeMachine", getTypeMachine()) - .append("inventoryUnit", getInventoryUnit()) - .append("planQuantity", getPlanQuantity()) - .append("description", getDescription()) - .append("unitUsage", getUnitUsage()) - .append("storageLocation", getStorageLocation()) - .append("materialType", getMaterialType()) - .append("standbyOne", getStandbyOne()) - .append("standbyTwo", getStandbyTwo()) - .append("bomRank", getBomRank()) - .append("upFinishProductCode", getUpFinishProductCode()) - .append("actualQuantity", getActualQuantity()) - .toString(); - } -} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/manufacture/domain/exportDto/MaterialRequisitionInfoDto.java b/ruoyi-admin/src/main/java/com/ruoyi/manufacture/domain/exportDto/MaterialRequisitionInfoDto.java deleted file mode 100644 index aea32c77..00000000 --- a/ruoyi-admin/src/main/java/com/ruoyi/manufacture/domain/exportDto/MaterialRequisitionInfoDto.java +++ /dev/null @@ -1,377 +0,0 @@ -package com.ruoyi.manufacture.domain.exportDto; - -import com.alibaba.excel.annotation.ExcelProperty; -import com.ruoyi.common.core.domain.BaseEntity; -import org.apache.commons.lang3.builder.ToStringBuilder; -import org.apache.commons.lang3.builder.ToStringStyle; - -/** - * 领料单对象 material_requisition_info - * - * @author ruoyi - * @date 2023-04-06 - */ -public class MaterialRequisitionInfoDto extends BaseEntity -{ - private static final long serialVersionUID = 1L; - - /** 领料单id */ - private Long materialRequisitionId; - - /** 领料单号 */ - @ExcelProperty("领料单号") -// @ContentStyle(borderLeft = BorderStyleEnum.NONE,borderTop = BorderStyleEnum.NONE,borderBottom = BorderStyleEnum.NONE,borderRight = BorderStyleEnum.NONE) - private String materialRequisitionNumber; - - /** 订单号码 */ - @ExcelProperty("订单号码") -// @ContentStyle(borderLeft = BorderStyleEnum.NONE,borderTop = BorderStyleEnum.NONE,borderBottom = BorderStyleEnum.NONE,borderRight = BorderStyleEnum.NONE) - private String salesOrderNumber; - - /** 制工单号 */ - @ExcelProperty("制工单号") -// @ContentStyle(borderLeft = BorderStyleEnum.NONE,borderTop = BorderStyleEnum.NONE,borderBottom = BorderStyleEnum.NONE,borderRight = BorderStyleEnum.NONE) - private String workOrderNumber; - - /** 领料部门 */ - @ExcelProperty("领料部门") -// @ContentStyle(borderLeft = BorderStyleEnum.NONE,borderTop = BorderStyleEnum.NONE,borderBottom = BorderStyleEnum.NONE,borderRight = BorderStyleEnum.NONE) - private String deptName; - - /** 领料人 */ - @ExcelProperty("领料人") - private String materialRequisitionPerson; - - /** 部门编号 */ - @ExcelProperty("部门编号") - private String deptNumber; - - /** 仓库编号 */ - @ExcelProperty("仓库编号") - private String stockNumber; - - /** 仓库名称 */ - @ExcelProperty("仓库名称") - private String stockName; - - /** 仓库管理员 */ - @ExcelProperty("仓库管理员") - private String stockManager; - - /** 出库类型 */ - @ExcelProperty("出库类型") - private String outputClass; - - /** 出库日期 */ - @ExcelProperty("出库日期") -// @ContentStyle(borderLeft = BorderStyleEnum.NONE,borderTop = BorderStyleEnum.NONE,borderBottom = BorderStyleEnum.NONE,borderRight = BorderStyleEnum.NONE) - private String outputDate; - - /** 成品代码 */ - @ExcelProperty("成品代码") -// @ContentStyle(borderLeft = BorderStyleEnum.NONE,borderTop = BorderStyleEnum.NONE,borderBottom = BorderStyleEnum.NONE,borderRight = BorderStyleEnum.NONE) - private String finishProductCode; - - /** 机种 */ - @ExcelProperty("机种") -// @ContentStyle(borderLeft = BorderStyleEnum.NONE,borderTop = BorderStyleEnum.NONE,borderBottom = BorderStyleEnum.NONE,borderRight = BorderStyleEnum.NONE) - private String typeMachine; - - /** 工单数量 */ - @ExcelProperty("工单数量") -// @ContentStyle(borderLeft = BorderStyleEnum.NONE,borderTop = BorderStyleEnum.NONE,borderBottom = BorderStyleEnum.NONE,borderRight = BorderStyleEnum.NONE) - private String workOrderQuantity; - - /** 备注内容 */ - @ExcelProperty("备注内容") - private String remarkContent; - - /** 领料否 */ - @ExcelProperty("领料否") - private String getMaterialFlag; - - /** 录入时间 */ - @ExcelProperty("录入时间") -// @ContentStyle(borderLeft = BorderStyleEnum.NONE,borderTop = BorderStyleEnum.NONE,borderBottom = BorderStyleEnum.NONE,borderRight = BorderStyleEnum.NONE) - private String firstAddTime; - - /** 修改时间 */ - @ExcelProperty("修改时间") - private String updateInfoTime; - - /** 备用一 */ - private String standbyOne; - - /** 备用二 */ - private String standbyTwo; - - /** 委外单号 */ - @ExcelProperty("委外单号") - private String outsourceOrderNumber; - - - /** 生产批号 */ - @ExcelProperty("生产批号") - private String batchNumber; - - /** 厂商编号 */ - @ExcelProperty("厂商编号") - private String supplierCode; - - /** 厂商名称 */ - @ExcelProperty("厂商名称") - private String supplierName; - - public void setMaterialRequisitionId(Long materialRequisitionId) - { - this.materialRequisitionId = materialRequisitionId; - } - - public Long getMaterialRequisitionId() - { - return materialRequisitionId; - } - public void setMaterialRequisitionNumber(String materialRequisitionNumber) - { - this.materialRequisitionNumber = materialRequisitionNumber; - } - - public String getMaterialRequisitionNumber() - { - return materialRequisitionNumber; - } - public void setSalesOrderNumber(String salesOrderNumber) - { - this.salesOrderNumber = salesOrderNumber; - } - - public String getSalesOrderNumber() - { - return salesOrderNumber; - } - public void setWorkOrderNumber(String workOrderNumber) - { - this.workOrderNumber = workOrderNumber; - } - - public String getWorkOrderNumber() - { - return workOrderNumber; - } - public void setDeptName(String deptName) - { - this.deptName = deptName; - } - - public String getDeptName() - { - return deptName; - } - public void setMaterialRequisitionPerson(String materialRequisitionPerson) - { - this.materialRequisitionPerson = materialRequisitionPerson; - } - - public String getMaterialRequisitionPerson() - { - return materialRequisitionPerson; - } - public void setDeptNumber(String deptNumber) - { - this.deptNumber = deptNumber; - } - - public String getDeptNumber() - { - return deptNumber; - } - public void setStockNumber(String stockNumber) - { - this.stockNumber = stockNumber; - } - - public String getStockNumber() - { - return stockNumber; - } - public void setStockName(String stockName) - { - this.stockName = stockName; - } - - public String getStockName() - { - return stockName; - } - public void setStockManager(String stockManager) - { - this.stockManager = stockManager; - } - - public String getStockManager() - { - return stockManager; - } - public void setOutputClass(String outputClass) - { - this.outputClass = outputClass; - } - - public String getOutputClass() - { - return outputClass; - } - public void setOutputDate(String outputDate) - { - this.outputDate = outputDate; - } - - public String getOutputDate() - { - return outputDate; - } - public void setFinishProductCode(String finishProductCode) - { - this.finishProductCode = finishProductCode; - } - - public String getFinishProductCode() - { - return finishProductCode; - } - public void setTypeMachine(String typeMachine) - { - this.typeMachine = typeMachine; - } - - public String getTypeMachine() - { - return typeMachine; - } - public void setWorkOrderQuantity(String workOrderQuantity) - { - this.workOrderQuantity = workOrderQuantity; - } - - public String getWorkOrderQuantity() - { - return workOrderQuantity; - } - public void setRemarkContent(String remarkContent) - { - this.remarkContent = remarkContent; - } - - public String getRemarkContent() - { - return remarkContent; - } - public void setGetMaterialFlag(String getMaterialFlag) - { - this.getMaterialFlag = getMaterialFlag; - } - - public String getGetMaterialFlag() - { - return getMaterialFlag; - } - public void setFirstAddTime(String firstAddTime) - { - this.firstAddTime = firstAddTime; - } - - public String getFirstAddTime() - { - return firstAddTime; - } - public void setUpdateInfoTime(String updateInfoTime) - { - this.updateInfoTime = updateInfoTime; - } - - public String getUpdateInfoTime() - { - return updateInfoTime; - } - 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 getOutsourceOrderNumber() { - return outsourceOrderNumber; - } - - public void setOutsourceOrderNumber(String outsourceOrderNumber) { - this.outsourceOrderNumber = outsourceOrderNumber; - } - - public String getBatchNumber() { - return batchNumber; - } - - public void setBatchNumber(String batchNumber) { - this.batchNumber = batchNumber; - } - - public String getSupplierCode() { - return supplierCode; - } - - public void setSupplierCode(String supplierCode) { - this.supplierCode = supplierCode; - } - - public String getSupplierName() { - return supplierName; - } - - public void setSupplierName(String supplierName) { - this.supplierName = supplierName; - } - - @Override - public String toString() { - return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) - .append("materialRequisitionId", getMaterialRequisitionId()) - .append("materialRequisitionNumber", getMaterialRequisitionNumber()) - .append("salesOrderNumber", getSalesOrderNumber()) - .append("workOrderNumber", getWorkOrderNumber()) - .append("deptName", getDeptName()) - .append("materialRequisitionPerson", getMaterialRequisitionPerson()) - .append("deptNumber", getDeptNumber()) - .append("stockNumber", getStockNumber()) - .append("stockName", getStockName()) - .append("stockManager", getStockManager()) - .append("outputClass", getOutputClass()) - .append("outputDate", getOutputDate()) - .append("finishProductCode", getFinishProductCode()) - .append("typeMachine", getTypeMachine()) - .append("workOrderQuantity", getWorkOrderQuantity()) - .append("remarkContent", getRemarkContent()) - .append("getMaterialFlag", getGetMaterialFlag()) - .append("firstAddTime", getFirstAddTime()) - .append("updateInfoTime", getUpdateInfoTime()) - .append("standbyOne", getStandbyOne()) - .append("standbyTwo", getStandbyTwo()) - .append("outsourceOrderNumber", getOutsourceOrderNumber()) - .append("batchNumber", getBatchNumber()) - .append("supplierCode", getSupplierCode()) - .append("supplierName", getSupplierName()) - .toString(); - } -} diff --git a/ruoyi-admin/src/main/resources/mapper/invoice/PoInvoiceHeadMapper.xml b/ruoyi-admin/src/main/resources/mapper/invoice/PoInvoiceHeadMapper.xml deleted file mode 100644 index 876c7394..00000000 --- a/ruoyi-admin/src/main/resources/mapper/invoice/PoInvoiceHeadMapper.xml +++ /dev/null @@ -1,253 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - select invoiceid, Invoiceno, p_code, P_name, HTNO, PAYWAY, invoicedate, sendcompany, getcompany, swater, dwater, totalqty, totalamt, allenamt, opman, box_num, sendway, sendtool, leavechina_date, get_form_no, CIQ_NAME, CPSendID, CRL_NAME, GetMoney_Flag, Koukuan_Amt, KouKuan_MemoText, GetMoney_MemoText, GetMoney_date, getmoney_man, getmoney, tax_invoice_no, tax_print_version, payall, MemoText, ShouldPayDate, Have_APP_AMT from poinvoicehead - - - - - - - - insert into poinvoicehead - - invoiceid, - Invoiceno, - p_code, - P_name, - HTNO, - PAYWAY, - invoicedate, - sendcompany, - getcompany, - swater, - dwater, - totalqty, - totalamt, - allenamt, - opman, - box_num, - sendway, - sendtool, - leavechina_date, - get_form_no, - CIQ_NAME, - CPSendID, - CRL_NAME, - GetMoney_Flag, - Koukuan_Amt, - KouKuan_MemoText, - GetMoney_MemoText, - GetMoney_date, - getmoney_man, - getmoney, - tax_invoice_no, - tax_print_version, - payall, - MemoText, - ShouldPayDate, - Have_APP_AMT, - - - #{invoiceid}, - #{Invoiceno}, - #{pCode}, - #{pName}, - #{HTNO}, - #{PAYWAY}, - #{invoicedate}, - #{sendcompany}, - #{getcompany}, - #{swater}, - #{dwater}, - #{totalqty}, - #{totalamt}, - #{allenamt}, - #{opman}, - #{boxNum}, - #{sendway}, - #{sendtool}, - #{leavechinaDate}, - #{getFormNo}, - #{ciqName}, - #{CPSendID}, - #{crlName}, - #{getmoneyFlag}, - #{koukuanAmt}, - #{koukuanMemotext}, - #{getmoneyMemotext}, - #{getmoneyDate}, - #{getmoneyMan}, - #{getmoney}, - #{taxInvoiceNo}, - #{taxPrintVersion}, - #{payall}, - #{MemoText}, - #{ShouldPayDate}, - #{haveAppAmt}, - - - - - update poinvoicehead - - Invoiceno = #{Invoiceno}, - p_code = #{pCode}, - P_name = #{pName}, - HTNO = #{HTNO}, - PAYWAY = #{PAYWAY}, - invoicedate = #{invoicedate}, - sendcompany = #{sendcompany}, - getcompany = #{getcompany}, - swater = #{swater}, - dwater = #{dwater}, - totalqty = #{totalqty}, - totalamt = #{totalamt}, - allenamt = #{allenamt}, - opman = #{opman}, - box_num = #{boxNum}, - sendway = #{sendway}, - sendtool = #{sendtool}, - leavechina_date = #{leavechinaDate}, - get_form_no = #{getFormNo}, - CIQ_NAME = #{ciqName}, - CPSendID = #{CPSendID}, - CRL_NAME = #{crlName}, - GetMoney_Flag = #{getmoneyFlag}, - Koukuan_Amt = #{koukuanAmt}, - KouKuan_MemoText = #{koukuanMemotext}, - GetMoney_MemoText = #{getmoneyMemotext}, - GetMoney_date = #{getmoneyDate}, - getmoney_man = #{getmoneyMan}, - getmoney = #{getmoney}, - tax_invoice_no = #{taxInvoiceNo}, - tax_print_version = #{taxPrintVersion}, - payall = #{payall}, - MemoText = #{MemoText}, - ShouldPayDate = #{ShouldPayDate}, - Have_APP_AMT = #{haveAppAmt}, - - where invoiceid = #{invoiceid} - - - - delete from poinvoicehead where invoiceid = #{invoiceid} - - - - delete from poinvoicehead where invoiceid in - - #{invoiceid} - - - - - - \ No newline at end of file diff --git a/ruoyi-admin/src/main/resources/mapper/invoice/PoInvoiceHeadWithListMapper.xml b/ruoyi-admin/src/main/resources/mapper/invoice/PoInvoiceHeadWithListMapper.xml deleted file mode 100644 index b45cd643..00000000 --- a/ruoyi-admin/src/main/resources/mapper/invoice/PoInvoiceHeadWithListMapper.xml +++ /dev/null @@ -1,54 +0,0 @@ - - - - - - - - \ No newline at end of file diff --git a/ruoyi-admin/src/main/resources/mapper/invoice/PoInvoiceListMapper.xml b/ruoyi-admin/src/main/resources/mapper/invoice/PoInvoiceListMapper.xml deleted file mode 100644 index b51b1b59..00000000 --- a/ruoyi-admin/src/main/resources/mapper/invoice/PoInvoiceListMapper.xml +++ /dev/null @@ -1,105 +0,0 @@ - - - - - - - - - - - - - - - - - - - - select invoiceid, orderno, wl_code, itemname, stock_dw, crl_name, qty, price, amt, PNO, FPH from poinvoicelist - - - - - - - - insert into poinvoicelist - - invoiceid, - orderno, - wl_code, - itemname, - stock_dw, - crl_name, - qty, - price, - amt, - PNO, - FPH, - - - #{invoiceid}, - #{orderno}, - #{wlCode}, - #{itemname}, - #{stockDw}, - #{crlName}, - #{qty}, - #{price}, - #{amt}, - #{PNO}, - #{FPH}, - - - - - update poinvoicelist - - orderno = #{orderno}, - wl_code = #{wlCode}, - itemname = #{itemname}, - stock_dw = #{stockDw}, - crl_name = #{crlName}, - qty = #{qty}, - price = #{price}, - amt = #{amt}, - PNO = #{PNO}, - FPH = #{FPH}, - - where invoiceid = #{invoiceid} - - - - delete from poinvoicelist where invoiceid = #{invoiceid} - - - - delete from poinvoicelist where invoiceid in - - #{invoiceid} - - - - \ No newline at end of file diff --git a/ruoyi-admin/src/main/resources/templates/invoice/poInvoicePay/edit.html b/ruoyi-admin/src/main/resources/templates/invoice/poInvoicePay/edit.html deleted file mode 100644 index a809c5c5..00000000 --- a/ruoyi-admin/src/main/resources/templates/invoice/poInvoicePay/edit.html +++ /dev/null @@ -1,215 +0,0 @@ - - - - - - - - - - - - -
-
-
- -
-
- -
- -
- -
-
-
- -
- -
-
-
- -
- -
-
- -
- -
-
- - -
-
-
- -
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
-
-
- - - - - - - - \ No newline at end of file diff --git a/ruoyi-admin/src/main/resources/templates/invoice/poInvoicePay/poInvoiceHead2.html b/ruoyi-admin/src/main/resources/templates/invoice/poInvoicePay/poInvoiceHead2.html deleted file mode 100644 index 901b17f3..00000000 --- a/ruoyi-admin/src/main/resources/templates/invoice/poInvoicePay/poInvoiceHead2.html +++ /dev/null @@ -1,277 +0,0 @@ - - - - - - - - -
-
-
-
-
-
    -
  • - - -
  • -
  • - - -
  • -
  • - - -
  • -
  • - - - - - -
  • -
  • - - -
  • -
  • - - -
  • -
  • - - -
  • -
  • - - -
  • -
  • - - -
  • -
  • -  搜索 -  重置 -
  • -
-
-
-
- - -
-
-
-
-
- - - - - \ No newline at end of file diff --git a/ruoyi-admin/src/main/resources/templates/invoice/poinvoicehead/add.html b/ruoyi-admin/src/main/resources/templates/invoice/poinvoicehead/add.html deleted file mode 100644 index f4bf3dd0..00000000 --- a/ruoyi-admin/src/main/resources/templates/invoice/poinvoicehead/add.html +++ /dev/null @@ -1,1042 +0,0 @@ - - - - - - - - - - - - -
-
-
- -
-
- - - - - - -
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
- - - - - - - - - -
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
-
- - -
-
-
-
- -
-
- - -
-
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- - -
- -
- - - - - - - - - - - -
- - - -
-
- - - - - - - - \ No newline at end of file diff --git a/ruoyi-admin/src/main/resources/templates/invoice/poinvoicehead/edit.html b/ruoyi-admin/src/main/resources/templates/invoice/poinvoicehead/edit.html deleted file mode 100644 index 488b16f6..00000000 --- a/ruoyi-admin/src/main/resources/templates/invoice/poinvoicehead/edit.html +++ /dev/null @@ -1,1043 +0,0 @@ - - - - - - - - - - - - -
-
-
- -
-
- -
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
-
- - -
-
-
-
- -
-
- - -
-
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- - -
- -
- - - - - - - - - - - -
- - - -
-
- - - - - - - - \ No newline at end of file diff --git a/ruoyi-admin/src/main/resources/templates/invoice/poinvoicehead/poinvoicehead.html b/ruoyi-admin/src/main/resources/templates/invoice/poinvoicehead/poinvoicehead.html deleted file mode 100644 index a1cfabf6..00000000 --- a/ruoyi-admin/src/main/resources/templates/invoice/poinvoicehead/poinvoicehead.html +++ /dev/null @@ -1,283 +0,0 @@ - - - - - - - - -
-
-
-
-
-
    -
  • - - -
  • -
  • - - -
  • -
  • - - -
  • -
  • - - -
  • -
  • - - - - - -
  • -
  • - - -
  • -
  • -  搜索 -  重置 -
  • -
-
-
-
- - -
-
-
-
-
- - - - - \ No newline at end of file diff --git a/ruoyi-admin/src/main/resources/templates/invoice/poinvoicelist/add.html b/ruoyi-admin/src/main/resources/templates/invoice/poinvoicelist/add.html deleted file mode 100644 index b5811352..00000000 --- a/ruoyi-admin/src/main/resources/templates/invoice/poinvoicelist/add.html +++ /dev/null @@ -1,91 +0,0 @@ - - - - - - -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
-
- - - - \ No newline at end of file diff --git a/ruoyi-admin/src/main/resources/templates/invoice/poinvoicelist/edit.html b/ruoyi-admin/src/main/resources/templates/invoice/poinvoicelist/edit.html deleted file mode 100644 index 81c160a4..00000000 --- a/ruoyi-admin/src/main/resources/templates/invoice/poinvoicelist/edit.html +++ /dev/null @@ -1,92 +0,0 @@ - - - - - - -
-
- -
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
-
- - - - \ No newline at end of file diff --git a/ruoyi-admin/src/main/resources/templates/invoice/poinvoicelist/poinvoicelist.html b/ruoyi-admin/src/main/resources/templates/invoice/poinvoicelist/poinvoicelist.html deleted file mode 100644 index 9af92824..00000000 --- a/ruoyi-admin/src/main/resources/templates/invoice/poinvoicelist/poinvoicelist.html +++ /dev/null @@ -1,161 +0,0 @@ - - - - - - -
-
-
-
-
-
    -
  • - - -
  • -
  • - - -
  • -
  • - - -
  • -
  • - - -
  • -
  • - - -
  • -
  • - - -
  • -
  • - - -
  • -
  • - - -
  • -
  • - - -
  • -
  • - - -
  • -
  • - - -
  • -
  • -  搜索 -  重置 -
  • -
-
-
-
- - -
-
-
-
-
- - - - \ No newline at end of file