From b5e4e3cf2b956d4ca592839dbe9c026beed47aa3 Mon Sep 17 00:00:00 2001 From: linfso Date: Fri, 12 Jan 2024 16:44:02 +0800 Subject: [PATCH] md --- .../web/emis/EmisQuoteDispAreaController.java | 118 ++++++++ .../emis/EmisQuoteExpressionController.java | 118 ++++++++ .../web/emis/EmisQuotePriceController.java | 118 ++++++++ .../web/emis/EmisQuoteSendAreaController.java | 118 ++++++++ .../erp/emis/domain/EmisQuoteDispArea.java | 60 ++++ .../erp/emis/domain/EmisQuoteExpression.java | 64 +++++ .../erp/emis/domain/EmisQuotePrice.java | 106 ++++++++ .../erp/emis/domain/EmisQuoteSendArea.java | 60 ++++ .../emis/mapper/EmisQuoteDispAreaMapper.java | 70 +++++ .../mapper/EmisQuoteExpressionMapper.java | 70 +++++ .../erp/emis/mapper/EmisQuotePriceMapper.java | 70 +++++ .../emis/mapper/EmisQuoteSendAreaMapper.java | 70 +++++ .../service/IEmisQuoteDispAreaService.java | 69 +++++ .../service/IEmisQuoteExpressionService.java | 69 +++++ .../emis/service/IEmisQuotePriceService.java | 69 +++++ .../service/IEmisQuoteSendAreaService.java | 69 +++++ .../impl/EmisQuoteDispAreaServiceImpl.java | 104 +++++++ .../impl/EmisQuoteExpressionServiceImpl.java | 104 +++++++ .../impl/EmisQuotePriceServiceImpl.java | 104 +++++++ .../impl/EmisQuoteSendAreaServiceImpl.java | 104 +++++++ .../mapper/EmisQuoteDispAreaMapper.xml | 146 ++++++++++ .../mapper/EmisQuoteExpressionMapper.xml | 156 +++++++++++ .../resources/mapper/EmisQuotePriceMapper.xml | 256 ++++++++++++++++++ .../mapper/EmisQuoteSendAreaMapper.xml | 146 ++++++++++ 24 files changed, 2438 insertions(+) create mode 100644 emis-biz-web/src/main/java/com/xdadan/erp/web/emis/EmisQuoteDispAreaController.java create mode 100644 emis-biz-web/src/main/java/com/xdadan/erp/web/emis/EmisQuoteExpressionController.java create mode 100644 emis-biz-web/src/main/java/com/xdadan/erp/web/emis/EmisQuotePriceController.java create mode 100644 emis-biz-web/src/main/java/com/xdadan/erp/web/emis/EmisQuoteSendAreaController.java create mode 100644 emis-biz/src/main/java/com/xdadan/erp/emis/domain/EmisQuoteDispArea.java create mode 100644 emis-biz/src/main/java/com/xdadan/erp/emis/domain/EmisQuoteExpression.java create mode 100644 emis-biz/src/main/java/com/xdadan/erp/emis/domain/EmisQuotePrice.java create mode 100644 emis-biz/src/main/java/com/xdadan/erp/emis/domain/EmisQuoteSendArea.java create mode 100644 emis-biz/src/main/java/com/xdadan/erp/emis/mapper/EmisQuoteDispAreaMapper.java create mode 100644 emis-biz/src/main/java/com/xdadan/erp/emis/mapper/EmisQuoteExpressionMapper.java create mode 100644 emis-biz/src/main/java/com/xdadan/erp/emis/mapper/EmisQuotePriceMapper.java create mode 100644 emis-biz/src/main/java/com/xdadan/erp/emis/mapper/EmisQuoteSendAreaMapper.java create mode 100644 emis-biz/src/main/java/com/xdadan/erp/emis/service/IEmisQuoteDispAreaService.java create mode 100644 emis-biz/src/main/java/com/xdadan/erp/emis/service/IEmisQuoteExpressionService.java create mode 100644 emis-biz/src/main/java/com/xdadan/erp/emis/service/IEmisQuotePriceService.java create mode 100644 emis-biz/src/main/java/com/xdadan/erp/emis/service/IEmisQuoteSendAreaService.java create mode 100644 emis-biz/src/main/java/com/xdadan/erp/emis/service/impl/EmisQuoteDispAreaServiceImpl.java create mode 100644 emis-biz/src/main/java/com/xdadan/erp/emis/service/impl/EmisQuoteExpressionServiceImpl.java create mode 100644 emis-biz/src/main/java/com/xdadan/erp/emis/service/impl/EmisQuotePriceServiceImpl.java create mode 100644 emis-biz/src/main/java/com/xdadan/erp/emis/service/impl/EmisQuoteSendAreaServiceImpl.java create mode 100644 emis-biz/src/main/resources/mapper/EmisQuoteDispAreaMapper.xml create mode 100644 emis-biz/src/main/resources/mapper/EmisQuoteExpressionMapper.xml create mode 100644 emis-biz/src/main/resources/mapper/EmisQuotePriceMapper.xml create mode 100644 emis-biz/src/main/resources/mapper/EmisQuoteSendAreaMapper.xml diff --git a/emis-biz-web/src/main/java/com/xdadan/erp/web/emis/EmisQuoteDispAreaController.java b/emis-biz-web/src/main/java/com/xdadan/erp/web/emis/EmisQuoteDispAreaController.java new file mode 100644 index 000000000..6cfb737b5 --- /dev/null +++ b/emis-biz-web/src/main/java/com/xdadan/erp/web/emis/EmisQuoteDispAreaController.java @@ -0,0 +1,118 @@ + +/** + * @Project: emis + * @Title: EmisQuoteDispAreaController.java + * @author linfso + * @date 2024-01-12 08:40:04 + * @Copyright: ShangHai Duta 2022 All rights reserved. + * @version v1.0 + * @Description:

派件区域 控制器

+ */ + +package com.xdadan.erp.web.emis; + +import java.util.List; +import javax.servlet.http.HttpServletResponse; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.security.access.prepost.PreAuthorize; +import org.springframework.web.bind.annotation.GetMapping; +import org.springframework.web.bind.annotation.PostMapping; +import org.springframework.web.bind.annotation.PutMapping; +import org.springframework.web.bind.annotation.DeleteMapping; +import org.springframework.web.bind.annotation.PathVariable; +import org.springframework.web.bind.annotation.RequestBody; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RestController; + +import com.xdadan.erp.common.annotation.Log; +import com.xdadan.erp.common.core.controller.BaseController; +import com.xdadan.erp.common.core.domain.AjaxResult; +import com.xdadan.erp.common.core.page.TableDataInfo; +import com.xdadan.erp.common.enums.BusinessType; +import com.xdadan.erp.common.utils.StringUtils; +import com.xdadan.erp.common.utils.poi.ExcelUtil; + +import com.xdadan.erp.emis.domain.EmisQuoteDispArea; +import com.xdadan.erp.emis.service.IEmisQuoteDispAreaService; + +/** + * 派件区域Controller + * + * @author linfso + * @date 2024-01-12 08:40:04 + */ +@RestController +@RequestMapping("/emis/emisQuoteDispArea") +public class EmisQuoteDispAreaController extends BaseController +{ + @Autowired + private IEmisQuoteDispAreaService emisQuoteDispAreaService; + + /** + * 查询派件区域列表 + */ + @PreAuthorize("@ss.hasPermi('emis:emisQuoteDispArea:list')") + @GetMapping("/list") + public TableDataInfo list(EmisQuoteDispArea emisQuoteDispArea) + { + startPage(); + List list = emisQuoteDispAreaService.selectEmisQuoteDispAreaList(emisQuoteDispArea); + return getDataTable(list); + } + + /** + * 导出派件区域列表 + */ + @PreAuthorize("@ss.hasPermi('emis:emisQuoteDispArea:export')") + @Log(title = "派件区域", businessType = BusinessType.EXPORT) + @PostMapping("/export") + public void export(HttpServletResponse response, EmisQuoteDispArea emisQuoteDispArea) + { + List list = emisQuoteDispAreaService.selectEmisQuoteDispAreaList(emisQuoteDispArea); + ExcelUtil util = new ExcelUtil(EmisQuoteDispArea.class); + util.exportExcel(response, list, "派件区域数据"); + } + + /** + * 获取派件区域详细信息 + */ + @PreAuthorize("@ss.hasPermi('emis:emisQuoteDispArea:query')") + @GetMapping(value = "/{areaId}") + public AjaxResult getInfo(@PathVariable("areaId") Long areaId) + { + return AjaxResult.success(emisQuoteDispAreaService.selectEmisQuoteDispAreaByAreaId(areaId)); + } + + /** + * 新增派件区域 + */ + @PreAuthorize("@ss.hasPermi('emis:emisQuoteDispArea:add')") + @Log(title = "派件区域", businessType = BusinessType.INSERT) + @PostMapping + public AjaxResult add(@RequestBody EmisQuoteDispArea emisQuoteDispArea) + { + return toAjax(emisQuoteDispAreaService.insertEmisQuoteDispArea(emisQuoteDispArea)); + } + + /** + * 修改派件区域 + */ + @PreAuthorize("@ss.hasPermi('emis:emisQuoteDispArea:edit')") + @Log(title = "派件区域", businessType = BusinessType.UPDATE) + @PutMapping + public AjaxResult edit(@RequestBody EmisQuoteDispArea emisQuoteDispArea) + { + return toAjax(emisQuoteDispAreaService.updateEmisQuoteDispArea(emisQuoteDispArea)); + } + + /** + * 删除派件区域 + */ + @PreAuthorize("@ss.hasPermi('emis:emisQuoteDispArea:remove')") + @Log(title = "派件区域", businessType = BusinessType.DELETE) + @DeleteMapping("/{areaIds}") + public AjaxResult remove(@PathVariable Long[] areaIds) + { + return toAjax(emisQuoteDispAreaService.deleteEmisQuoteDispAreaByAreaIds(areaIds)); + } +} diff --git a/emis-biz-web/src/main/java/com/xdadan/erp/web/emis/EmisQuoteExpressionController.java b/emis-biz-web/src/main/java/com/xdadan/erp/web/emis/EmisQuoteExpressionController.java new file mode 100644 index 000000000..530e3228c --- /dev/null +++ b/emis-biz-web/src/main/java/com/xdadan/erp/web/emis/EmisQuoteExpressionController.java @@ -0,0 +1,118 @@ + +/** + * @Project: emis + * @Title: EmisQuoteExpressionController.java + * @author linfso + * @date 2024-01-12 08:40:04 + * @Copyright: ShangHai Duta 2022 All rights reserved. + * @version v1.0 + * @Description:

费用计算表达式 控制器

+ */ + +package com.xdadan.erp.web.emis; + +import java.util.List; +import javax.servlet.http.HttpServletResponse; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.security.access.prepost.PreAuthorize; +import org.springframework.web.bind.annotation.GetMapping; +import org.springframework.web.bind.annotation.PostMapping; +import org.springframework.web.bind.annotation.PutMapping; +import org.springframework.web.bind.annotation.DeleteMapping; +import org.springframework.web.bind.annotation.PathVariable; +import org.springframework.web.bind.annotation.RequestBody; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RestController; + +import com.xdadan.erp.common.annotation.Log; +import com.xdadan.erp.common.core.controller.BaseController; +import com.xdadan.erp.common.core.domain.AjaxResult; +import com.xdadan.erp.common.core.page.TableDataInfo; +import com.xdadan.erp.common.enums.BusinessType; +import com.xdadan.erp.common.utils.StringUtils; +import com.xdadan.erp.common.utils.poi.ExcelUtil; + +import com.xdadan.erp.emis.domain.EmisQuoteExpression; +import com.xdadan.erp.emis.service.IEmisQuoteExpressionService; + +/** + * 费用计算表达式Controller + * + * @author linfso + * @date 2024-01-12 08:40:04 + */ +@RestController +@RequestMapping("/emis/emisQuoteExpression") +public class EmisQuoteExpressionController extends BaseController +{ + @Autowired + private IEmisQuoteExpressionService emisQuoteExpressionService; + + /** + * 查询费用计算表达式列表 + */ + @PreAuthorize("@ss.hasPermi('emis:emisQuoteExpression:list')") + @GetMapping("/list") + public TableDataInfo list(EmisQuoteExpression emisQuoteExpression) + { + startPage(); + List list = emisQuoteExpressionService.selectEmisQuoteExpressionList(emisQuoteExpression); + return getDataTable(list); + } + + /** + * 导出费用计算表达式列表 + */ + @PreAuthorize("@ss.hasPermi('emis:emisQuoteExpression:export')") + @Log(title = "费用计算表达式", businessType = BusinessType.EXPORT) + @PostMapping("/export") + public void export(HttpServletResponse response, EmisQuoteExpression emisQuoteExpression) + { + List list = emisQuoteExpressionService.selectEmisQuoteExpressionList(emisQuoteExpression); + ExcelUtil util = new ExcelUtil(EmisQuoteExpression.class); + util.exportExcel(response, list, "费用计算表达式数据"); + } + + /** + * 获取费用计算表达式详细信息 + */ + @PreAuthorize("@ss.hasPermi('emis:emisQuoteExpression:query')") + @GetMapping(value = "/{id}") + public AjaxResult getInfo(@PathVariable("id") Long id) + { + return AjaxResult.success(emisQuoteExpressionService.selectEmisQuoteExpressionById(id)); + } + + /** + * 新增费用计算表达式 + */ + @PreAuthorize("@ss.hasPermi('emis:emisQuoteExpression:add')") + @Log(title = "费用计算表达式", businessType = BusinessType.INSERT) + @PostMapping + public AjaxResult add(@RequestBody EmisQuoteExpression emisQuoteExpression) + { + return toAjax(emisQuoteExpressionService.insertEmisQuoteExpression(emisQuoteExpression)); + } + + /** + * 修改费用计算表达式 + */ + @PreAuthorize("@ss.hasPermi('emis:emisQuoteExpression:edit')") + @Log(title = "费用计算表达式", businessType = BusinessType.UPDATE) + @PutMapping + public AjaxResult edit(@RequestBody EmisQuoteExpression emisQuoteExpression) + { + return toAjax(emisQuoteExpressionService.updateEmisQuoteExpression(emisQuoteExpression)); + } + + /** + * 删除费用计算表达式 + */ + @PreAuthorize("@ss.hasPermi('emis:emisQuoteExpression:remove')") + @Log(title = "费用计算表达式", businessType = BusinessType.DELETE) + @DeleteMapping("/{ids}") + public AjaxResult remove(@PathVariable Long[] ids) + { + return toAjax(emisQuoteExpressionService.deleteEmisQuoteExpressionByIds(ids)); + } +} diff --git a/emis-biz-web/src/main/java/com/xdadan/erp/web/emis/EmisQuotePriceController.java b/emis-biz-web/src/main/java/com/xdadan/erp/web/emis/EmisQuotePriceController.java new file mode 100644 index 000000000..0825b8620 --- /dev/null +++ b/emis-biz-web/src/main/java/com/xdadan/erp/web/emis/EmisQuotePriceController.java @@ -0,0 +1,118 @@ + +/** + * @Project: emis + * @Title: EmisQuotePriceController.java + * @author linfso + * @date 2024-01-12 08:40:05 + * @Copyright: ShangHai Duta 2022 All rights reserved. + * @version v1.0 + * @Description:

费用报价 控制器

+ */ + +package com.xdadan.erp.web.emis; + +import java.util.List; +import javax.servlet.http.HttpServletResponse; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.security.access.prepost.PreAuthorize; +import org.springframework.web.bind.annotation.GetMapping; +import org.springframework.web.bind.annotation.PostMapping; +import org.springframework.web.bind.annotation.PutMapping; +import org.springframework.web.bind.annotation.DeleteMapping; +import org.springframework.web.bind.annotation.PathVariable; +import org.springframework.web.bind.annotation.RequestBody; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RestController; + +import com.xdadan.erp.common.annotation.Log; +import com.xdadan.erp.common.core.controller.BaseController; +import com.xdadan.erp.common.core.domain.AjaxResult; +import com.xdadan.erp.common.core.page.TableDataInfo; +import com.xdadan.erp.common.enums.BusinessType; +import com.xdadan.erp.common.utils.StringUtils; +import com.xdadan.erp.common.utils.poi.ExcelUtil; + +import com.xdadan.erp.emis.domain.EmisQuotePrice; +import com.xdadan.erp.emis.service.IEmisQuotePriceService; + +/** + * 费用报价Controller + * + * @author linfso + * @date 2024-01-12 08:40:05 + */ +@RestController +@RequestMapping("/emis/emisQuotePrice") +public class EmisQuotePriceController extends BaseController +{ + @Autowired + private IEmisQuotePriceService emisQuotePriceService; + + /** + * 查询费用报价列表 + */ + @PreAuthorize("@ss.hasPermi('emis:emisQuotePrice:list')") + @GetMapping("/list") + public TableDataInfo list(EmisQuotePrice emisQuotePrice) + { + startPage(); + List list = emisQuotePriceService.selectEmisQuotePriceList(emisQuotePrice); + return getDataTable(list); + } + + /** + * 导出费用报价列表 + */ + @PreAuthorize("@ss.hasPermi('emis:emisQuotePrice:export')") + @Log(title = "费用报价", businessType = BusinessType.EXPORT) + @PostMapping("/export") + public void export(HttpServletResponse response, EmisQuotePrice emisQuotePrice) + { + List list = emisQuotePriceService.selectEmisQuotePriceList(emisQuotePrice); + ExcelUtil util = new ExcelUtil(EmisQuotePrice.class); + util.exportExcel(response, list, "费用报价数据"); + } + + /** + * 获取费用报价详细信息 + */ + @PreAuthorize("@ss.hasPermi('emis:emisQuotePrice:query')") + @GetMapping(value = "/{quoteId}") + public AjaxResult getInfo(@PathVariable("quoteId") Long quoteId) + { + return AjaxResult.success(emisQuotePriceService.selectEmisQuotePriceByQuoteId(quoteId)); + } + + /** + * 新增费用报价 + */ + @PreAuthorize("@ss.hasPermi('emis:emisQuotePrice:add')") + @Log(title = "费用报价", businessType = BusinessType.INSERT) + @PostMapping + public AjaxResult add(@RequestBody EmisQuotePrice emisQuotePrice) + { + return toAjax(emisQuotePriceService.insertEmisQuotePrice(emisQuotePrice)); + } + + /** + * 修改费用报价 + */ + @PreAuthorize("@ss.hasPermi('emis:emisQuotePrice:edit')") + @Log(title = "费用报价", businessType = BusinessType.UPDATE) + @PutMapping + public AjaxResult edit(@RequestBody EmisQuotePrice emisQuotePrice) + { + return toAjax(emisQuotePriceService.updateEmisQuotePrice(emisQuotePrice)); + } + + /** + * 删除费用报价 + */ + @PreAuthorize("@ss.hasPermi('emis:emisQuotePrice:remove')") + @Log(title = "费用报价", businessType = BusinessType.DELETE) + @DeleteMapping("/{quoteIds}") + public AjaxResult remove(@PathVariable Long[] quoteIds) + { + return toAjax(emisQuotePriceService.deleteEmisQuotePriceByQuoteIds(quoteIds)); + } +} diff --git a/emis-biz-web/src/main/java/com/xdadan/erp/web/emis/EmisQuoteSendAreaController.java b/emis-biz-web/src/main/java/com/xdadan/erp/web/emis/EmisQuoteSendAreaController.java new file mode 100644 index 000000000..bb2d98ee0 --- /dev/null +++ b/emis-biz-web/src/main/java/com/xdadan/erp/web/emis/EmisQuoteSendAreaController.java @@ -0,0 +1,118 @@ + +/** + * @Project: emis + * @Title: EmisQuoteSendAreaController.java + * @author linfso + * @date 2024-01-12 08:40:05 + * @Copyright: ShangHai Duta 2022 All rights reserved. + * @version v1.0 + * @Description:

寄件区域 控制器

+ */ + +package com.xdadan.erp.web.emis; + +import java.util.List; +import javax.servlet.http.HttpServletResponse; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.security.access.prepost.PreAuthorize; +import org.springframework.web.bind.annotation.GetMapping; +import org.springframework.web.bind.annotation.PostMapping; +import org.springframework.web.bind.annotation.PutMapping; +import org.springframework.web.bind.annotation.DeleteMapping; +import org.springframework.web.bind.annotation.PathVariable; +import org.springframework.web.bind.annotation.RequestBody; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RestController; + +import com.xdadan.erp.common.annotation.Log; +import com.xdadan.erp.common.core.controller.BaseController; +import com.xdadan.erp.common.core.domain.AjaxResult; +import com.xdadan.erp.common.core.page.TableDataInfo; +import com.xdadan.erp.common.enums.BusinessType; +import com.xdadan.erp.common.utils.StringUtils; +import com.xdadan.erp.common.utils.poi.ExcelUtil; + +import com.xdadan.erp.emis.domain.EmisQuoteSendArea; +import com.xdadan.erp.emis.service.IEmisQuoteSendAreaService; + +/** + * 寄件区域Controller + * + * @author linfso + * @date 2024-01-12 08:40:05 + */ +@RestController +@RequestMapping("/emis/emisQuoteSendArea") +public class EmisQuoteSendAreaController extends BaseController +{ + @Autowired + private IEmisQuoteSendAreaService emisQuoteSendAreaService; + + /** + * 查询寄件区域列表 + */ + @PreAuthorize("@ss.hasPermi('emis:emisQuoteSendArea:list')") + @GetMapping("/list") + public TableDataInfo list(EmisQuoteSendArea emisQuoteSendArea) + { + startPage(); + List list = emisQuoteSendAreaService.selectEmisQuoteSendAreaList(emisQuoteSendArea); + return getDataTable(list); + } + + /** + * 导出寄件区域列表 + */ + @PreAuthorize("@ss.hasPermi('emis:emisQuoteSendArea:export')") + @Log(title = "寄件区域", businessType = BusinessType.EXPORT) + @PostMapping("/export") + public void export(HttpServletResponse response, EmisQuoteSendArea emisQuoteSendArea) + { + List list = emisQuoteSendAreaService.selectEmisQuoteSendAreaList(emisQuoteSendArea); + ExcelUtil util = new ExcelUtil(EmisQuoteSendArea.class); + util.exportExcel(response, list, "寄件区域数据"); + } + + /** + * 获取寄件区域详细信息 + */ + @PreAuthorize("@ss.hasPermi('emis:emisQuoteSendArea:query')") + @GetMapping(value = "/{areaId}") + public AjaxResult getInfo(@PathVariable("areaId") Long areaId) + { + return AjaxResult.success(emisQuoteSendAreaService.selectEmisQuoteSendAreaByAreaId(areaId)); + } + + /** + * 新增寄件区域 + */ + @PreAuthorize("@ss.hasPermi('emis:emisQuoteSendArea:add')") + @Log(title = "寄件区域", businessType = BusinessType.INSERT) + @PostMapping + public AjaxResult add(@RequestBody EmisQuoteSendArea emisQuoteSendArea) + { + return toAjax(emisQuoteSendAreaService.insertEmisQuoteSendArea(emisQuoteSendArea)); + } + + /** + * 修改寄件区域 + */ + @PreAuthorize("@ss.hasPermi('emis:emisQuoteSendArea:edit')") + @Log(title = "寄件区域", businessType = BusinessType.UPDATE) + @PutMapping + public AjaxResult edit(@RequestBody EmisQuoteSendArea emisQuoteSendArea) + { + return toAjax(emisQuoteSendAreaService.updateEmisQuoteSendArea(emisQuoteSendArea)); + } + + /** + * 删除寄件区域 + */ + @PreAuthorize("@ss.hasPermi('emis:emisQuoteSendArea:remove')") + @Log(title = "寄件区域", businessType = BusinessType.DELETE) + @DeleteMapping("/{areaIds}") + public AjaxResult remove(@PathVariable Long[] areaIds) + { + return toAjax(emisQuoteSendAreaService.deleteEmisQuoteSendAreaByAreaIds(areaIds)); + } +} diff --git a/emis-biz/src/main/java/com/xdadan/erp/emis/domain/EmisQuoteDispArea.java b/emis-biz/src/main/java/com/xdadan/erp/emis/domain/EmisQuoteDispArea.java new file mode 100644 index 000000000..d047156d8 --- /dev/null +++ b/emis-biz/src/main/java/com/xdadan/erp/emis/domain/EmisQuoteDispArea.java @@ -0,0 +1,60 @@ +/** + * @Project: emis + * @Title: EmisQuoteDispArea.java + * @author linfso + * @date 2024-01-12 08:40:03 + * @Copyright: ShangHai Duta 2022 All rights reserved. + * @version v1.0 + * @Description:

派件区域 实体类

+ */ + +package com.xdadan.erp.emis.domain; + +import com.fasterxml.jackson.annotation.JsonFormat; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; +import com.xdadan.erp.common.annotation.Excel; +import com.xdadan.erp.common.core.domain.BaseEntity; +import com.xdadan.erp.common.core.domain.TreeEntity; +import java.io.Serializable; +import java.util.Date; +import lombok.Data; + + +/** + * @ClassName EmisQuoteDispArea + * @Description 派件区域 + * @author linfso + * @date 2024-01-12 08:40:03 + */ + @Data +public class EmisQuoteDispArea extends BaseEntity +{ + private static final long serialVersionUID = 1L; + + /* 序号 */ + private Long areaId; + /* 区域名称 */ + private String areaName; + /* 使用站点名称 */ + private String useSite; + /* 使用站点代码 */ + private String useSiteCode; + /* 区域站点列表 */ + private String areaSite; + /* 区域站点列表 */ + private String areaSiteId; + /* 费用类型 */ + private String feeType; + /* 区域类型 */ + private String areaType; + /* 同步类型 */ + private String sync; + /* 启用状态 0-启用 1-停用 */ + private Integer status; + /* 创建网点 */ + private String createSite; + /* 更新网点 */ + private String updateSite; + +} diff --git a/emis-biz/src/main/java/com/xdadan/erp/emis/domain/EmisQuoteExpression.java b/emis-biz/src/main/java/com/xdadan/erp/emis/domain/EmisQuoteExpression.java new file mode 100644 index 000000000..6c973b6b0 --- /dev/null +++ b/emis-biz/src/main/java/com/xdadan/erp/emis/domain/EmisQuoteExpression.java @@ -0,0 +1,64 @@ +/** + * @Project: emis + * @Title: EmisQuoteExpression.java + * @author linfso + * @date 2024-01-12 08:40:04 + * @Copyright: ShangHai Duta 2022 All rights reserved. + * @version v1.0 + * @Description:

费用计算表达式 实体类

+ */ + +package com.xdadan.erp.emis.domain; + +import com.fasterxml.jackson.annotation.JsonFormat; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; +import com.xdadan.erp.common.annotation.Excel; +import com.xdadan.erp.common.core.domain.BaseEntity; +import com.xdadan.erp.common.core.domain.TreeEntity; +import java.io.Serializable; +import java.util.Date; +import lombok.Data; + + +/** + * @ClassName EmisQuoteExpression + * @Description 费用计算表达式 + * @author linfso + * @date 2024-01-12 08:40:04 + */ + @Data +public class EmisQuoteExpression extends BaseEntity +{ + private static final long serialVersionUID = 1L; + + /* 序号 */ + private Long id; + /* 报价ID */ + private Long quoteId; + /* 报价序号 */ + private Integer quoteSequence; + /* 使用站点代码 */ + private String useSiteCode; + /* 使用站点名称 */ + private String useSite; + /* 起始重量 */ + private Double startWeight; + /* 结束重量 */ + private Double endWeight; + /* 首重 */ + private Double initialWeight; + /* 续重 */ + private Double additionalWeight; + /* 条件表达式 */ + private String conditionExpression; + /* 计算表达式 */ + private String calculateExpression; + /* 启用状态 0-启用 1-停用 */ + private Integer status; + /* 创建网点 */ + private String createSite; + /* 更新网点 */ + private String updateSite; + +} diff --git a/emis-biz/src/main/java/com/xdadan/erp/emis/domain/EmisQuotePrice.java b/emis-biz/src/main/java/com/xdadan/erp/emis/domain/EmisQuotePrice.java new file mode 100644 index 000000000..efaa2ffee --- /dev/null +++ b/emis-biz/src/main/java/com/xdadan/erp/emis/domain/EmisQuotePrice.java @@ -0,0 +1,106 @@ +/** + * @Project: emis + * @Title: EmisQuotePrice.java + * @author linfso + * @date 2024-01-12 08:40:05 + * @Copyright: ShangHai Duta 2022 All rights reserved. + * @version v1.0 + * @Description:

费用报价 实体类

+ */ + +package com.xdadan.erp.emis.domain; + +import com.fasterxml.jackson.annotation.JsonFormat; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; +import com.xdadan.erp.common.annotation.Excel; +import com.xdadan.erp.common.core.domain.BaseEntity; +import com.xdadan.erp.common.core.domain.TreeEntity; +import java.io.Serializable; +import java.util.Date; +import lombok.Data; + + +/** + * @ClassName EmisQuotePrice + * @Description 费用报价 + * @author linfso + * @date 2024-01-12 08:40:05 + */ + @Data +public class EmisQuotePrice extends BaseEntity +{ + private static final long serialVersionUID = 1L; + + /* 序号 */ + private Long quoteId; + /* 报价名称 */ + private String quoteName; + /* 报价编码 */ + private String quoteCode; + /* 使用站点代码 */ + private String useSiteCode; + /* 使用站点名称 */ + private String useSite; + /* 所属线路代码 */ + private String transLineCode; + /* 所属线路名称 */ + private String transLine; + /* 费用类型 运输费 */ + private String feeType; + /* 产品类型代码 */ + private String prodCode; + /* 产品类型名称 */ + private String prodName; + /* soon_piece_type */ + private String soonPieceType; + /* 录入付款类型 */ + private String recPayType; + /* 计费类型 0-重量计费 1-体积计费 */ + private String billType; + /* 其他类型1 */ + private String otherType1; + /* 其他类型2 */ + private String otherType2; + /* 取重方式 */ + private String carryType; + /* 启用状态 0-启用 1-停用 */ + private Integer status; + /* 派件区域 */ + private String dispAreaId; + /* 派件区域站点 */ + private String dispAreaSite; + /* 派件区域名称 */ + private String dispAreaName; + /* 派件区域站点id */ + private String dispAreaSiteId; + /* 寄件区域 */ + private String sendAreaId; + /* 寄件区域名称 */ + private String sendAreaName; + /* 寄件区域站点列表 */ + private String sendAreaSite; + /* 寄件区域站点列表 */ + private String sendAreaSiteId; + /* carries_number */ + private String carriesNumber; + /* discards_number */ + private String discardsNumber; + /* 最低价格 */ + private BigDecimal leastPrice; + /* 价格取值 */ + private String priceType; + /* 开始日期 */ + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") + private Date startDate; + /* 结束日期 */ + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") + private Date endDate; + /* 优先级 */ + private Integer priorityLevel; + /* 创建网点 */ + private String createSite; + /* 更新网点 */ + private String updateSite; + +} diff --git a/emis-biz/src/main/java/com/xdadan/erp/emis/domain/EmisQuoteSendArea.java b/emis-biz/src/main/java/com/xdadan/erp/emis/domain/EmisQuoteSendArea.java new file mode 100644 index 000000000..b2aced710 --- /dev/null +++ b/emis-biz/src/main/java/com/xdadan/erp/emis/domain/EmisQuoteSendArea.java @@ -0,0 +1,60 @@ +/** + * @Project: emis + * @Title: EmisQuoteSendArea.java + * @author linfso + * @date 2024-01-12 08:40:05 + * @Copyright: ShangHai Duta 2022 All rights reserved. + * @version v1.0 + * @Description:

寄件区域 实体类

+ */ + +package com.xdadan.erp.emis.domain; + +import com.fasterxml.jackson.annotation.JsonFormat; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; +import com.xdadan.erp.common.annotation.Excel; +import com.xdadan.erp.common.core.domain.BaseEntity; +import com.xdadan.erp.common.core.domain.TreeEntity; +import java.io.Serializable; +import java.util.Date; +import lombok.Data; + + +/** + * @ClassName EmisQuoteSendArea + * @Description 寄件区域 + * @author linfso + * @date 2024-01-12 08:40:05 + */ + @Data +public class EmisQuoteSendArea extends BaseEntity +{ + private static final long serialVersionUID = 1L; + + /* 序号 */ + private Long areaId; + /* 区域名称 */ + private String areaName; + /* 使用站点名称 */ + private String useSite; + /* 使用站点代码 */ + private String useSiteCode; + /* 区域站点列表 */ + private String areaSite; + /* 区域站点列表 */ + private String areaSiteId; + /* 费用类型 */ + private String feeType; + /* 区域类型 */ + private String areaType; + /* 同步类型 */ + private String sync; + /* 启用状态 0-启用 1-停用 */ + private Integer status; + /* 创建网点 */ + private String createSite; + /* 更新网点 */ + private String updateSite; + +} diff --git a/emis-biz/src/main/java/com/xdadan/erp/emis/mapper/EmisQuoteDispAreaMapper.java b/emis-biz/src/main/java/com/xdadan/erp/emis/mapper/EmisQuoteDispAreaMapper.java new file mode 100644 index 000000000..8aa4546e1 --- /dev/null +++ b/emis-biz/src/main/java/com/xdadan/erp/emis/mapper/EmisQuoteDispAreaMapper.java @@ -0,0 +1,70 @@ +/** + * @Project: emis + * @Title: EmisQuoteDispAreaMapper.java + * @author linfso + * @date 2024-01-12 08:40:03 + * @Copyright: ShangHai Doitinfo 2022 All rights reserved. + * @version v1.0 + * @Description:

派件区域 Mapper 接口

+ * Warning : This file is generate by ai tools,don't edit!!! + */ +package com.xdadan.erp.emis.mapper; + +import java.util.List; +import com.baomidou.mybatisplus.core.mapper.BaseMapper; +import com.xdadan.erp.emis.domain.EmisQuoteDispArea; +/** + * @ClassName EmisQuoteDispAreaMapper + * @Description

派件区域 Mapper 接口

+ * @author linfso + * @date 2024-01-12 08:40:03 + */ +public interface EmisQuoteDispAreaMapper extends BaseMapper +{ + /** + * 主键查询 + * @param areaId + * @return + */ + public EmisQuoteDispArea selectEmisQuoteDispAreaByAreaId(Long areaId); + + /** + * 查询列表 + * + * @param emisQuoteDispArea + * @return 集合 + */ + public List selectEmisQuoteDispAreaList(EmisQuoteDispArea emisQuoteDispArea); + + /** + * 新增 + * + * @param emisQuoteDispArea + * @return + */ + public int insertEmisQuoteDispArea(EmisQuoteDispArea emisQuoteDispArea); + + /** + * 修改 + * + * @param emisQuoteDispArea + * @return + */ + public int updateEmisQuoteDispArea(EmisQuoteDispArea emisQuoteDispArea); + + /** + * 删除 + * + * @param areaId 主键 + * @return 结果 + */ + public int deleteEmisQuoteDispAreaByAreaId(Long areaId); + + /** + * 批量删除 + * + * @param areaIds 需要删除的数据主键集合 + * @return 结果 + */ + public int deleteEmisQuoteDispAreaByAreaIds(Long[] areaIds); +} diff --git a/emis-biz/src/main/java/com/xdadan/erp/emis/mapper/EmisQuoteExpressionMapper.java b/emis-biz/src/main/java/com/xdadan/erp/emis/mapper/EmisQuoteExpressionMapper.java new file mode 100644 index 000000000..2a375ac13 --- /dev/null +++ b/emis-biz/src/main/java/com/xdadan/erp/emis/mapper/EmisQuoteExpressionMapper.java @@ -0,0 +1,70 @@ +/** + * @Project: emis + * @Title: EmisQuoteExpressionMapper.java + * @author linfso + * @date 2024-01-12 08:40:04 + * @Copyright: ShangHai Doitinfo 2022 All rights reserved. + * @version v1.0 + * @Description:

费用计算表达式 Mapper 接口

+ * Warning : This file is generate by ai tools,don't edit!!! + */ +package com.xdadan.erp.emis.mapper; + +import java.util.List; +import com.baomidou.mybatisplus.core.mapper.BaseMapper; +import com.xdadan.erp.emis.domain.EmisQuoteExpression; +/** + * @ClassName EmisQuoteExpressionMapper + * @Description

费用计算表达式 Mapper 接口

+ * @author linfso + * @date 2024-01-12 08:40:04 + */ +public interface EmisQuoteExpressionMapper extends BaseMapper +{ + /** + * 主键查询 + * @param id + * @return + */ + public EmisQuoteExpression selectEmisQuoteExpressionById(Long id); + + /** + * 查询列表 + * + * @param emisQuoteExpression + * @return 集合 + */ + public List selectEmisQuoteExpressionList(EmisQuoteExpression emisQuoteExpression); + + /** + * 新增 + * + * @param emisQuoteExpression + * @return + */ + public int insertEmisQuoteExpression(EmisQuoteExpression emisQuoteExpression); + + /** + * 修改 + * + * @param emisQuoteExpression + * @return + */ + public int updateEmisQuoteExpression(EmisQuoteExpression emisQuoteExpression); + + /** + * 删除 + * + * @param id 主键 + * @return 结果 + */ + public int deleteEmisQuoteExpressionById(Long id); + + /** + * 批量删除 + * + * @param ids 需要删除的数据主键集合 + * @return 结果 + */ + public int deleteEmisQuoteExpressionByIds(Long[] ids); +} diff --git a/emis-biz/src/main/java/com/xdadan/erp/emis/mapper/EmisQuotePriceMapper.java b/emis-biz/src/main/java/com/xdadan/erp/emis/mapper/EmisQuotePriceMapper.java new file mode 100644 index 000000000..6478177ee --- /dev/null +++ b/emis-biz/src/main/java/com/xdadan/erp/emis/mapper/EmisQuotePriceMapper.java @@ -0,0 +1,70 @@ +/** + * @Project: emis + * @Title: EmisQuotePriceMapper.java + * @author linfso + * @date 2024-01-12 08:40:05 + * @Copyright: ShangHai Doitinfo 2022 All rights reserved. + * @version v1.0 + * @Description:

费用报价 Mapper 接口

+ * Warning : This file is generate by ai tools,don't edit!!! + */ +package com.xdadan.erp.emis.mapper; + +import java.util.List; +import com.baomidou.mybatisplus.core.mapper.BaseMapper; +import com.xdadan.erp.emis.domain.EmisQuotePrice; +/** + * @ClassName EmisQuotePriceMapper + * @Description

费用报价 Mapper 接口

+ * @author linfso + * @date 2024-01-12 08:40:05 + */ +public interface EmisQuotePriceMapper extends BaseMapper +{ + /** + * 主键查询 + * @param quoteId + * @return + */ + public EmisQuotePrice selectEmisQuotePriceByQuoteId(Long quoteId); + + /** + * 查询列表 + * + * @param emisQuotePrice + * @return 集合 + */ + public List selectEmisQuotePriceList(EmisQuotePrice emisQuotePrice); + + /** + * 新增 + * + * @param emisQuotePrice + * @return + */ + public int insertEmisQuotePrice(EmisQuotePrice emisQuotePrice); + + /** + * 修改 + * + * @param emisQuotePrice + * @return + */ + public int updateEmisQuotePrice(EmisQuotePrice emisQuotePrice); + + /** + * 删除 + * + * @param quoteId 主键 + * @return 结果 + */ + public int deleteEmisQuotePriceByQuoteId(Long quoteId); + + /** + * 批量删除 + * + * @param quoteIds 需要删除的数据主键集合 + * @return 结果 + */ + public int deleteEmisQuotePriceByQuoteIds(Long[] quoteIds); +} diff --git a/emis-biz/src/main/java/com/xdadan/erp/emis/mapper/EmisQuoteSendAreaMapper.java b/emis-biz/src/main/java/com/xdadan/erp/emis/mapper/EmisQuoteSendAreaMapper.java new file mode 100644 index 000000000..7e4a97461 --- /dev/null +++ b/emis-biz/src/main/java/com/xdadan/erp/emis/mapper/EmisQuoteSendAreaMapper.java @@ -0,0 +1,70 @@ +/** + * @Project: emis + * @Title: EmisQuoteSendAreaMapper.java + * @author linfso + * @date 2024-01-12 08:40:05 + * @Copyright: ShangHai Doitinfo 2022 All rights reserved. + * @version v1.0 + * @Description:

寄件区域 Mapper 接口

+ * Warning : This file is generate by ai tools,don't edit!!! + */ +package com.xdadan.erp.emis.mapper; + +import java.util.List; +import com.baomidou.mybatisplus.core.mapper.BaseMapper; +import com.xdadan.erp.emis.domain.EmisQuoteSendArea; +/** + * @ClassName EmisQuoteSendAreaMapper + * @Description

寄件区域 Mapper 接口

+ * @author linfso + * @date 2024-01-12 08:40:05 + */ +public interface EmisQuoteSendAreaMapper extends BaseMapper +{ + /** + * 主键查询 + * @param areaId + * @return + */ + public EmisQuoteSendArea selectEmisQuoteSendAreaByAreaId(Long areaId); + + /** + * 查询列表 + * + * @param emisQuoteSendArea + * @return 集合 + */ + public List selectEmisQuoteSendAreaList(EmisQuoteSendArea emisQuoteSendArea); + + /** + * 新增 + * + * @param emisQuoteSendArea + * @return + */ + public int insertEmisQuoteSendArea(EmisQuoteSendArea emisQuoteSendArea); + + /** + * 修改 + * + * @param emisQuoteSendArea + * @return + */ + public int updateEmisQuoteSendArea(EmisQuoteSendArea emisQuoteSendArea); + + /** + * 删除 + * + * @param areaId 主键 + * @return 结果 + */ + public int deleteEmisQuoteSendAreaByAreaId(Long areaId); + + /** + * 批量删除 + * + * @param areaIds 需要删除的数据主键集合 + * @return 结果 + */ + public int deleteEmisQuoteSendAreaByAreaIds(Long[] areaIds); +} diff --git a/emis-biz/src/main/java/com/xdadan/erp/emis/service/IEmisQuoteDispAreaService.java b/emis-biz/src/main/java/com/xdadan/erp/emis/service/IEmisQuoteDispAreaService.java new file mode 100644 index 000000000..94761ae03 --- /dev/null +++ b/emis-biz/src/main/java/com/xdadan/erp/emis/service/IEmisQuoteDispAreaService.java @@ -0,0 +1,69 @@ + /** + * @Project: emis + * @Title: EmisQuoteDispAreaService.java + * @author linfso + * @date 2024-01-12 08:40:03 + * @Copyright: ShangHai Duta 2022 All rights reserved. + * @version v1.0 + * @Description:

派件区域 服务类接口

+ */ +package com.xdadan.erp.emis.service; + +import java.util.List; +import com.xdadan.erp.emis.domain.EmisQuoteDispArea; + +/** + * @ClassName EmisQuoteDispAreaService + * @Description 派件区域 + * @author linfso + * @date 2024-01-12 08:40:03 + */ +public interface IEmisQuoteDispAreaService +{ + /** + * 主键查询 + * @param areaId + * @return + */ + public EmisQuoteDispArea selectEmisQuoteDispAreaByAreaId(Long areaId); + + /** + * 查询派件区域列表 + * + * @param emisQuoteDispArea 派件区域 + * @return 派件区域集合 + */ + public List selectEmisQuoteDispAreaList(EmisQuoteDispArea emisQuoteDispArea); + + /** + * 新增派件区域 + * + * @param emisQuoteDispArea 派件区域 + * @return 结果 + */ + public int insertEmisQuoteDispArea(EmisQuoteDispArea emisQuoteDispArea); + + /** + * 修改派件区域 + * + * @param emisQuoteDispArea 派件区域 + * @return 结果 + */ + public int updateEmisQuoteDispArea(EmisQuoteDispArea emisQuoteDispArea); + + /** + * 批量删除派件区域 + * + * @param areaIds 需要删除的派件区域主键集合 + * @return 结果 + */ + public int deleteEmisQuoteDispAreaByAreaIds(Long[] areaIds); + + /** + * 删除派件区域信息 + * + * @param areaId 派件区域主键 + * @return 结果 + */ + public int deleteEmisQuoteDispAreaByAreaId(Long areaId); +} diff --git a/emis-biz/src/main/java/com/xdadan/erp/emis/service/IEmisQuoteExpressionService.java b/emis-biz/src/main/java/com/xdadan/erp/emis/service/IEmisQuoteExpressionService.java new file mode 100644 index 000000000..32191ce75 --- /dev/null +++ b/emis-biz/src/main/java/com/xdadan/erp/emis/service/IEmisQuoteExpressionService.java @@ -0,0 +1,69 @@ + /** + * @Project: emis + * @Title: EmisQuoteExpressionService.java + * @author linfso + * @date 2024-01-12 08:40:04 + * @Copyright: ShangHai Duta 2022 All rights reserved. + * @version v1.0 + * @Description:

费用计算表达式 服务类接口

+ */ +package com.xdadan.erp.emis.service; + +import java.util.List; +import com.xdadan.erp.emis.domain.EmisQuoteExpression; + +/** + * @ClassName EmisQuoteExpressionService + * @Description 费用计算表达式 + * @author linfso + * @date 2024-01-12 08:40:04 + */ +public interface IEmisQuoteExpressionService +{ + /** + * 主键查询 + * @param id + * @return + */ + public EmisQuoteExpression selectEmisQuoteExpressionById(Long id); + + /** + * 查询费用计算表达式列表 + * + * @param emisQuoteExpression 费用计算表达式 + * @return 费用计算表达式集合 + */ + public List selectEmisQuoteExpressionList(EmisQuoteExpression emisQuoteExpression); + + /** + * 新增费用计算表达式 + * + * @param emisQuoteExpression 费用计算表达式 + * @return 结果 + */ + public int insertEmisQuoteExpression(EmisQuoteExpression emisQuoteExpression); + + /** + * 修改费用计算表达式 + * + * @param emisQuoteExpression 费用计算表达式 + * @return 结果 + */ + public int updateEmisQuoteExpression(EmisQuoteExpression emisQuoteExpression); + + /** + * 批量删除费用计算表达式 + * + * @param ids 需要删除的费用计算表达式主键集合 + * @return 结果 + */ + public int deleteEmisQuoteExpressionByIds(Long[] ids); + + /** + * 删除费用计算表达式信息 + * + * @param id 费用计算表达式主键 + * @return 结果 + */ + public int deleteEmisQuoteExpressionById(Long id); +} diff --git a/emis-biz/src/main/java/com/xdadan/erp/emis/service/IEmisQuotePriceService.java b/emis-biz/src/main/java/com/xdadan/erp/emis/service/IEmisQuotePriceService.java new file mode 100644 index 000000000..a292b734d --- /dev/null +++ b/emis-biz/src/main/java/com/xdadan/erp/emis/service/IEmisQuotePriceService.java @@ -0,0 +1,69 @@ + /** + * @Project: emis + * @Title: EmisQuotePriceService.java + * @author linfso + * @date 2024-01-12 08:40:05 + * @Copyright: ShangHai Duta 2022 All rights reserved. + * @version v1.0 + * @Description:

费用报价 服务类接口

+ */ +package com.xdadan.erp.emis.service; + +import java.util.List; +import com.xdadan.erp.emis.domain.EmisQuotePrice; + +/** + * @ClassName EmisQuotePriceService + * @Description 费用报价 + * @author linfso + * @date 2024-01-12 08:40:05 + */ +public interface IEmisQuotePriceService +{ + /** + * 主键查询 + * @param quoteId + * @return + */ + public EmisQuotePrice selectEmisQuotePriceByQuoteId(Long quoteId); + + /** + * 查询费用报价列表 + * + * @param emisQuotePrice 费用报价 + * @return 费用报价集合 + */ + public List selectEmisQuotePriceList(EmisQuotePrice emisQuotePrice); + + /** + * 新增费用报价 + * + * @param emisQuotePrice 费用报价 + * @return 结果 + */ + public int insertEmisQuotePrice(EmisQuotePrice emisQuotePrice); + + /** + * 修改费用报价 + * + * @param emisQuotePrice 费用报价 + * @return 结果 + */ + public int updateEmisQuotePrice(EmisQuotePrice emisQuotePrice); + + /** + * 批量删除费用报价 + * + * @param quoteIds 需要删除的费用报价主键集合 + * @return 结果 + */ + public int deleteEmisQuotePriceByQuoteIds(Long[] quoteIds); + + /** + * 删除费用报价信息 + * + * @param quoteId 费用报价主键 + * @return 结果 + */ + public int deleteEmisQuotePriceByQuoteId(Long quoteId); +} diff --git a/emis-biz/src/main/java/com/xdadan/erp/emis/service/IEmisQuoteSendAreaService.java b/emis-biz/src/main/java/com/xdadan/erp/emis/service/IEmisQuoteSendAreaService.java new file mode 100644 index 000000000..d4ec0079c --- /dev/null +++ b/emis-biz/src/main/java/com/xdadan/erp/emis/service/IEmisQuoteSendAreaService.java @@ -0,0 +1,69 @@ + /** + * @Project: emis + * @Title: EmisQuoteSendAreaService.java + * @author linfso + * @date 2024-01-12 08:40:05 + * @Copyright: ShangHai Duta 2022 All rights reserved. + * @version v1.0 + * @Description:

寄件区域 服务类接口

+ */ +package com.xdadan.erp.emis.service; + +import java.util.List; +import com.xdadan.erp.emis.domain.EmisQuoteSendArea; + +/** + * @ClassName EmisQuoteSendAreaService + * @Description 寄件区域 + * @author linfso + * @date 2024-01-12 08:40:05 + */ +public interface IEmisQuoteSendAreaService +{ + /** + * 主键查询 + * @param areaId + * @return + */ + public EmisQuoteSendArea selectEmisQuoteSendAreaByAreaId(Long areaId); + + /** + * 查询寄件区域列表 + * + * @param emisQuoteSendArea 寄件区域 + * @return 寄件区域集合 + */ + public List selectEmisQuoteSendAreaList(EmisQuoteSendArea emisQuoteSendArea); + + /** + * 新增寄件区域 + * + * @param emisQuoteSendArea 寄件区域 + * @return 结果 + */ + public int insertEmisQuoteSendArea(EmisQuoteSendArea emisQuoteSendArea); + + /** + * 修改寄件区域 + * + * @param emisQuoteSendArea 寄件区域 + * @return 结果 + */ + public int updateEmisQuoteSendArea(EmisQuoteSendArea emisQuoteSendArea); + + /** + * 批量删除寄件区域 + * + * @param areaIds 需要删除的寄件区域主键集合 + * @return 结果 + */ + public int deleteEmisQuoteSendAreaByAreaIds(Long[] areaIds); + + /** + * 删除寄件区域信息 + * + * @param areaId 寄件区域主键 + * @return 结果 + */ + public int deleteEmisQuoteSendAreaByAreaId(Long areaId); +} diff --git a/emis-biz/src/main/java/com/xdadan/erp/emis/service/impl/EmisQuoteDispAreaServiceImpl.java b/emis-biz/src/main/java/com/xdadan/erp/emis/service/impl/EmisQuoteDispAreaServiceImpl.java new file mode 100644 index 000000000..5a37a8d4d --- /dev/null +++ b/emis-biz/src/main/java/com/xdadan/erp/emis/service/impl/EmisQuoteDispAreaServiceImpl.java @@ -0,0 +1,104 @@ + /** + * @Project: emis + * @Title: EmisQuoteDispAreaServiceImpl.java + * @author linfso + * @date 2024-01-12 08:40:04 + * @Copyright: ShangHai Duta 2022 All rights reserved. + * @version v1.0 + * @Description:

派件区域 实体类

+ */ + +package com.xdadan.erp.emis.service.impl; + +import java.util.List; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; +import com.xdadan.erp.emis.domain.EmisQuoteDispArea; +import com.xdadan.erp.emis.mapper.EmisQuoteDispAreaMapper; +import com.xdadan.erp.emis.service.IEmisQuoteDispAreaService; + +/** + * 派件区域Service业务层处理 + * + * @author linfso + * @date 2024-01-12 08:40:04 + */ +@Service +public class EmisQuoteDispAreaServiceImpl implements IEmisQuoteDispAreaService +{ + @Autowired + private EmisQuoteDispAreaMapper emisQuoteDispAreaMapper; + + /** + * 查询派件区域 + * + * @param areaId 派件区域主键 + * @return 派件区域 + */ + @Override + public EmisQuoteDispArea selectEmisQuoteDispAreaByAreaId(Long areaId) + { + return emisQuoteDispAreaMapper.selectEmisQuoteDispAreaByAreaId(areaId); + } + + /** + * 查询派件区域列表 + * + * @param emisQuoteDispArea 派件区域 + * @return 派件区域 + */ + @Override + public List selectEmisQuoteDispAreaList(EmisQuoteDispArea emisQuoteDispArea) + { + return emisQuoteDispAreaMapper.selectEmisQuoteDispAreaList(emisQuoteDispArea); + } + + /** + * 新增派件区域 + * + * @param emisQuoteDispArea 派件区域 + * @return 结果 + */ + @Override + public int insertEmisQuoteDispArea(EmisQuoteDispArea emisQuoteDispArea) + { + return emisQuoteDispAreaMapper.insertEmisQuoteDispArea(emisQuoteDispArea); + } + + /** + * 修改派件区域 + * + * @param emisQuoteDispArea 派件区域 + * @return 结果 + */ + @Override + public int updateEmisQuoteDispArea(EmisQuoteDispArea emisQuoteDispArea) + { + return emisQuoteDispAreaMapper.updateEmisQuoteDispArea(emisQuoteDispArea); + } + + /** + * 批量删除派件区域 + * + * @param areaIds 需要删除的派件区域主键 + * @return 结果 + */ + @Override + public int deleteEmisQuoteDispAreaByAreaIds(Long[] areaIds) + { + return emisQuoteDispAreaMapper.deleteEmisQuoteDispAreaByAreaIds(areaIds); + } + + /** + * 删除派件区域信息 + * + * @param areaId 派件区域主键 + * @return 结果 + */ + @Override + public int deleteEmisQuoteDispAreaByAreaId(Long areaId) + { + return emisQuoteDispAreaMapper.deleteEmisQuoteDispAreaByAreaId(areaId); + } + +} diff --git a/emis-biz/src/main/java/com/xdadan/erp/emis/service/impl/EmisQuoteExpressionServiceImpl.java b/emis-biz/src/main/java/com/xdadan/erp/emis/service/impl/EmisQuoteExpressionServiceImpl.java new file mode 100644 index 000000000..84cd25424 --- /dev/null +++ b/emis-biz/src/main/java/com/xdadan/erp/emis/service/impl/EmisQuoteExpressionServiceImpl.java @@ -0,0 +1,104 @@ + /** + * @Project: emis + * @Title: EmisQuoteExpressionServiceImpl.java + * @author linfso + * @date 2024-01-12 08:40:04 + * @Copyright: ShangHai Duta 2022 All rights reserved. + * @version v1.0 + * @Description:

费用计算表达式 实体类

+ */ + +package com.xdadan.erp.emis.service.impl; + +import java.util.List; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; +import com.xdadan.erp.emis.domain.EmisQuoteExpression; +import com.xdadan.erp.emis.mapper.EmisQuoteExpressionMapper; +import com.xdadan.erp.emis.service.IEmisQuoteExpressionService; + +/** + * 费用计算表达式Service业务层处理 + * + * @author linfso + * @date 2024-01-12 08:40:04 + */ +@Service +public class EmisQuoteExpressionServiceImpl implements IEmisQuoteExpressionService +{ + @Autowired + private EmisQuoteExpressionMapper emisQuoteExpressionMapper; + + /** + * 查询费用计算表达式 + * + * @param id 费用计算表达式主键 + * @return 费用计算表达式 + */ + @Override + public EmisQuoteExpression selectEmisQuoteExpressionById(Long id) + { + return emisQuoteExpressionMapper.selectEmisQuoteExpressionById(id); + } + + /** + * 查询费用计算表达式列表 + * + * @param emisQuoteExpression 费用计算表达式 + * @return 费用计算表达式 + */ + @Override + public List selectEmisQuoteExpressionList(EmisQuoteExpression emisQuoteExpression) + { + return emisQuoteExpressionMapper.selectEmisQuoteExpressionList(emisQuoteExpression); + } + + /** + * 新增费用计算表达式 + * + * @param emisQuoteExpression 费用计算表达式 + * @return 结果 + */ + @Override + public int insertEmisQuoteExpression(EmisQuoteExpression emisQuoteExpression) + { + return emisQuoteExpressionMapper.insertEmisQuoteExpression(emisQuoteExpression); + } + + /** + * 修改费用计算表达式 + * + * @param emisQuoteExpression 费用计算表达式 + * @return 结果 + */ + @Override + public int updateEmisQuoteExpression(EmisQuoteExpression emisQuoteExpression) + { + return emisQuoteExpressionMapper.updateEmisQuoteExpression(emisQuoteExpression); + } + + /** + * 批量删除费用计算表达式 + * + * @param ids 需要删除的费用计算表达式主键 + * @return 结果 + */ + @Override + public int deleteEmisQuoteExpressionByIds(Long[] ids) + { + return emisQuoteExpressionMapper.deleteEmisQuoteExpressionByIds(ids); + } + + /** + * 删除费用计算表达式信息 + * + * @param id 费用计算表达式主键 + * @return 结果 + */ + @Override + public int deleteEmisQuoteExpressionById(Long id) + { + return emisQuoteExpressionMapper.deleteEmisQuoteExpressionById(id); + } + +} diff --git a/emis-biz/src/main/java/com/xdadan/erp/emis/service/impl/EmisQuotePriceServiceImpl.java b/emis-biz/src/main/java/com/xdadan/erp/emis/service/impl/EmisQuotePriceServiceImpl.java new file mode 100644 index 000000000..55c6a213b --- /dev/null +++ b/emis-biz/src/main/java/com/xdadan/erp/emis/service/impl/EmisQuotePriceServiceImpl.java @@ -0,0 +1,104 @@ + /** + * @Project: emis + * @Title: EmisQuotePriceServiceImpl.java + * @author linfso + * @date 2024-01-12 08:40:05 + * @Copyright: ShangHai Duta 2022 All rights reserved. + * @version v1.0 + * @Description:

费用报价 实体类

+ */ + +package com.xdadan.erp.emis.service.impl; + +import java.util.List; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; +import com.xdadan.erp.emis.domain.EmisQuotePrice; +import com.xdadan.erp.emis.mapper.EmisQuotePriceMapper; +import com.xdadan.erp.emis.service.IEmisQuotePriceService; + +/** + * 费用报价Service业务层处理 + * + * @author linfso + * @date 2024-01-12 08:40:05 + */ +@Service +public class EmisQuotePriceServiceImpl implements IEmisQuotePriceService +{ + @Autowired + private EmisQuotePriceMapper emisQuotePriceMapper; + + /** + * 查询费用报价 + * + * @param quoteId 费用报价主键 + * @return 费用报价 + */ + @Override + public EmisQuotePrice selectEmisQuotePriceByQuoteId(Long quoteId) + { + return emisQuotePriceMapper.selectEmisQuotePriceByQuoteId(quoteId); + } + + /** + * 查询费用报价列表 + * + * @param emisQuotePrice 费用报价 + * @return 费用报价 + */ + @Override + public List selectEmisQuotePriceList(EmisQuotePrice emisQuotePrice) + { + return emisQuotePriceMapper.selectEmisQuotePriceList(emisQuotePrice); + } + + /** + * 新增费用报价 + * + * @param emisQuotePrice 费用报价 + * @return 结果 + */ + @Override + public int insertEmisQuotePrice(EmisQuotePrice emisQuotePrice) + { + return emisQuotePriceMapper.insertEmisQuotePrice(emisQuotePrice); + } + + /** + * 修改费用报价 + * + * @param emisQuotePrice 费用报价 + * @return 结果 + */ + @Override + public int updateEmisQuotePrice(EmisQuotePrice emisQuotePrice) + { + return emisQuotePriceMapper.updateEmisQuotePrice(emisQuotePrice); + } + + /** + * 批量删除费用报价 + * + * @param quoteIds 需要删除的费用报价主键 + * @return 结果 + */ + @Override + public int deleteEmisQuotePriceByQuoteIds(Long[] quoteIds) + { + return emisQuotePriceMapper.deleteEmisQuotePriceByQuoteIds(quoteIds); + } + + /** + * 删除费用报价信息 + * + * @param quoteId 费用报价主键 + * @return 结果 + */ + @Override + public int deleteEmisQuotePriceByQuoteId(Long quoteId) + { + return emisQuotePriceMapper.deleteEmisQuotePriceByQuoteId(quoteId); + } + +} diff --git a/emis-biz/src/main/java/com/xdadan/erp/emis/service/impl/EmisQuoteSendAreaServiceImpl.java b/emis-biz/src/main/java/com/xdadan/erp/emis/service/impl/EmisQuoteSendAreaServiceImpl.java new file mode 100644 index 000000000..266b8a8a1 --- /dev/null +++ b/emis-biz/src/main/java/com/xdadan/erp/emis/service/impl/EmisQuoteSendAreaServiceImpl.java @@ -0,0 +1,104 @@ + /** + * @Project: emis + * @Title: EmisQuoteSendAreaServiceImpl.java + * @author linfso + * @date 2024-01-12 08:40:05 + * @Copyright: ShangHai Duta 2022 All rights reserved. + * @version v1.0 + * @Description:

寄件区域 实体类

+ */ + +package com.xdadan.erp.emis.service.impl; + +import java.util.List; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; +import com.xdadan.erp.emis.domain.EmisQuoteSendArea; +import com.xdadan.erp.emis.mapper.EmisQuoteSendAreaMapper; +import com.xdadan.erp.emis.service.IEmisQuoteSendAreaService; + +/** + * 寄件区域Service业务层处理 + * + * @author linfso + * @date 2024-01-12 08:40:05 + */ +@Service +public class EmisQuoteSendAreaServiceImpl implements IEmisQuoteSendAreaService +{ + @Autowired + private EmisQuoteSendAreaMapper emisQuoteSendAreaMapper; + + /** + * 查询寄件区域 + * + * @param areaId 寄件区域主键 + * @return 寄件区域 + */ + @Override + public EmisQuoteSendArea selectEmisQuoteSendAreaByAreaId(Long areaId) + { + return emisQuoteSendAreaMapper.selectEmisQuoteSendAreaByAreaId(areaId); + } + + /** + * 查询寄件区域列表 + * + * @param emisQuoteSendArea 寄件区域 + * @return 寄件区域 + */ + @Override + public List selectEmisQuoteSendAreaList(EmisQuoteSendArea emisQuoteSendArea) + { + return emisQuoteSendAreaMapper.selectEmisQuoteSendAreaList(emisQuoteSendArea); + } + + /** + * 新增寄件区域 + * + * @param emisQuoteSendArea 寄件区域 + * @return 结果 + */ + @Override + public int insertEmisQuoteSendArea(EmisQuoteSendArea emisQuoteSendArea) + { + return emisQuoteSendAreaMapper.insertEmisQuoteSendArea(emisQuoteSendArea); + } + + /** + * 修改寄件区域 + * + * @param emisQuoteSendArea 寄件区域 + * @return 结果 + */ + @Override + public int updateEmisQuoteSendArea(EmisQuoteSendArea emisQuoteSendArea) + { + return emisQuoteSendAreaMapper.updateEmisQuoteSendArea(emisQuoteSendArea); + } + + /** + * 批量删除寄件区域 + * + * @param areaIds 需要删除的寄件区域主键 + * @return 结果 + */ + @Override + public int deleteEmisQuoteSendAreaByAreaIds(Long[] areaIds) + { + return emisQuoteSendAreaMapper.deleteEmisQuoteSendAreaByAreaIds(areaIds); + } + + /** + * 删除寄件区域信息 + * + * @param areaId 寄件区域主键 + * @return 结果 + */ + @Override + public int deleteEmisQuoteSendAreaByAreaId(Long areaId) + { + return emisQuoteSendAreaMapper.deleteEmisQuoteSendAreaByAreaId(areaId); + } + +} diff --git a/emis-biz/src/main/resources/mapper/EmisQuoteDispAreaMapper.xml b/emis-biz/src/main/resources/mapper/EmisQuoteDispAreaMapper.xml new file mode 100644 index 000000000..9c9c9592b --- /dev/null +++ b/emis-biz/src/main/resources/mapper/EmisQuoteDispAreaMapper.xml @@ -0,0 +1,146 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + select area_id, area_name, use_site, use_site_code, area_site, area_site_id, fee_type, area_type, sync, status, remark, tenant_id, del_flag, create_by, create_time, update_by, update_time, create_site, update_site from emis_quote_disp_area + + + + + + + + insert into emis_quote_disp_area + + area_id, + area_name, + use_site, + use_site_code, + area_site, + area_site_id, + fee_type, + area_type, + sync, + status, + remark, + tenant_id, + del_flag, + create_by, + create_time, + update_by, + update_time, + create_site, + update_site, + + + #{areaId}, + #{areaName}, + #{useSite}, + #{useSiteCode}, + #{areaSite}, + #{areaSiteId}, + #{feeType}, + #{areaType}, + #{sync}, + #{status}, + #{remark}, + #{tenantId}, + #{delFlag}, + #{createBy}, + #{createTime}, + #{updateBy}, + #{updateTime}, + #{createSite}, + #{updateSite}, + + + + + update emis_quote_disp_area + + area_name = #{areaName}, + use_site = #{useSite}, + use_site_code = #{useSiteCode}, + area_site = #{areaSite}, + area_site_id = #{areaSiteId}, + fee_type = #{feeType}, + area_type = #{areaType}, + sync = #{sync}, + status = #{status}, + remark = #{remark}, + tenant_id = #{tenantId}, + del_flag = #{delFlag}, + create_by = #{createBy}, + create_time = #{createTime}, + update_by = #{updateBy}, + update_time = #{updateTime}, + create_site = #{createSite}, + update_site = #{updateSite}, + + where area_id = #{areaId} + + + + delete from emis_quote_disp_area where area_id = #{areaId} + + + + delete from emis_quote_disp_area where area_id in + + #{areaId} + + + \ No newline at end of file diff --git a/emis-biz/src/main/resources/mapper/EmisQuoteExpressionMapper.xml b/emis-biz/src/main/resources/mapper/EmisQuoteExpressionMapper.xml new file mode 100644 index 000000000..851f915cd --- /dev/null +++ b/emis-biz/src/main/resources/mapper/EmisQuoteExpressionMapper.xml @@ -0,0 +1,156 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + select id, quote_id, quote_sequence, use_site_code, use_site, start_weight, end_weight, initial_weight, additional_weight, condition_expression, calculate_expression, status, remark, tenant_id, del_flag, create_by, create_time, update_by, update_time, create_site, update_site from emis_quote_expression + + + + + + + + insert into emis_quote_expression + + id, + quote_id, + quote_sequence, + use_site_code, + use_site, + start_weight, + end_weight, + initial_weight, + additional_weight, + condition_expression, + calculate_expression, + status, + remark, + tenant_id, + del_flag, + create_by, + create_time, + update_by, + update_time, + create_site, + update_site, + + + #{id}, + #{quoteId}, + #{quoteSequence}, + #{useSiteCode}, + #{useSite}, + #{startWeight}, + #{endWeight}, + #{initialWeight}, + #{additionalWeight}, + #{conditionExpression}, + #{calculateExpression}, + #{status}, + #{remark}, + #{tenantId}, + #{delFlag}, + #{createBy}, + #{createTime}, + #{updateBy}, + #{updateTime}, + #{createSite}, + #{updateSite}, + + + + + update emis_quote_expression + + quote_id = #{quoteId}, + quote_sequence = #{quoteSequence}, + use_site_code = #{useSiteCode}, + use_site = #{useSite}, + start_weight = #{startWeight}, + end_weight = #{endWeight}, + initial_weight = #{initialWeight}, + additional_weight = #{additionalWeight}, + condition_expression = #{conditionExpression}, + calculate_expression = #{calculateExpression}, + status = #{status}, + remark = #{remark}, + tenant_id = #{tenantId}, + del_flag = #{delFlag}, + create_by = #{createBy}, + create_time = #{createTime}, + update_by = #{updateBy}, + update_time = #{updateTime}, + create_site = #{createSite}, + update_site = #{updateSite}, + + where id = #{id} + + + + delete from emis_quote_expression where id = #{id} + + + + delete from emis_quote_expression where id in + + #{id} + + + \ No newline at end of file diff --git a/emis-biz/src/main/resources/mapper/EmisQuotePriceMapper.xml b/emis-biz/src/main/resources/mapper/EmisQuotePriceMapper.xml new file mode 100644 index 000000000..9048b39c8 --- /dev/null +++ b/emis-biz/src/main/resources/mapper/EmisQuotePriceMapper.xml @@ -0,0 +1,256 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + select quote_id, quote_name, quote_code, use_site_code, use_site, trans_line_code, trans_line, fee_type, prod_code, prod_name, soon_piece_type, rec_pay_type, bill_type, other_type1, other_type2, carry_type, status, disp_area_id, disp_area_site, disp_area_name, disp_area_site_id, send_area_id, send_area_name, send_area_site, send_area_site_id, carries_number, discards_number, least_price, price_type, start_date, end_date, priority_level, remark, tenant_id, del_flag, create_by, create_time, update_by, update_time, create_site, update_site from emis_quote_price + + + + + + + + insert into emis_quote_price + + quote_id, + quote_name, + quote_code, + use_site_code, + use_site, + trans_line_code, + trans_line, + fee_type, + prod_code, + prod_name, + soon_piece_type, + rec_pay_type, + bill_type, + other_type1, + other_type2, + carry_type, + status, + disp_area_id, + disp_area_site, + disp_area_name, + disp_area_site_id, + send_area_id, + send_area_name, + send_area_site, + send_area_site_id, + carries_number, + discards_number, + least_price, + price_type, + start_date, + end_date, + priority_level, + remark, + tenant_id, + del_flag, + create_by, + create_time, + update_by, + update_time, + create_site, + update_site, + + + #{quoteId}, + #{quoteName}, + #{quoteCode}, + #{useSiteCode}, + #{useSite}, + #{transLineCode}, + #{transLine}, + #{feeType}, + #{prodCode}, + #{prodName}, + #{soonPieceType}, + #{recPayType}, + #{billType}, + #{otherType1}, + #{otherType2}, + #{carryType}, + #{status}, + #{dispAreaId}, + #{dispAreaSite}, + #{dispAreaName}, + #{dispAreaSiteId}, + #{sendAreaId}, + #{sendAreaName}, + #{sendAreaSite}, + #{sendAreaSiteId}, + #{carriesNumber}, + #{discardsNumber}, + #{leastPrice}, + #{priceType}, + #{startDate}, + #{endDate}, + #{priorityLevel}, + #{remark}, + #{tenantId}, + #{delFlag}, + #{createBy}, + #{createTime}, + #{updateBy}, + #{updateTime}, + #{createSite}, + #{updateSite}, + + + + + update emis_quote_price + + quote_name = #{quoteName}, + quote_code = #{quoteCode}, + use_site_code = #{useSiteCode}, + use_site = #{useSite}, + trans_line_code = #{transLineCode}, + trans_line = #{transLine}, + fee_type = #{feeType}, + prod_code = #{prodCode}, + prod_name = #{prodName}, + soon_piece_type = #{soonPieceType}, + rec_pay_type = #{recPayType}, + bill_type = #{billType}, + other_type1 = #{otherType1}, + other_type2 = #{otherType2}, + carry_type = #{carryType}, + status = #{status}, + disp_area_id = #{dispAreaId}, + disp_area_site = #{dispAreaSite}, + disp_area_name = #{dispAreaName}, + disp_area_site_id = #{dispAreaSiteId}, + send_area_id = #{sendAreaId}, + send_area_name = #{sendAreaName}, + send_area_site = #{sendAreaSite}, + send_area_site_id = #{sendAreaSiteId}, + carries_number = #{carriesNumber}, + discards_number = #{discardsNumber}, + least_price = #{leastPrice}, + price_type = #{priceType}, + start_date = #{startDate}, + end_date = #{endDate}, + priority_level = #{priorityLevel}, + remark = #{remark}, + tenant_id = #{tenantId}, + del_flag = #{delFlag}, + create_by = #{createBy}, + create_time = #{createTime}, + update_by = #{updateBy}, + update_time = #{updateTime}, + create_site = #{createSite}, + update_site = #{updateSite}, + + where quote_id = #{quoteId} + + + + delete from emis_quote_price where quote_id = #{quoteId} + + + + delete from emis_quote_price where quote_id in + + #{quoteId} + + + \ No newline at end of file diff --git a/emis-biz/src/main/resources/mapper/EmisQuoteSendAreaMapper.xml b/emis-biz/src/main/resources/mapper/EmisQuoteSendAreaMapper.xml new file mode 100644 index 000000000..bc635962e --- /dev/null +++ b/emis-biz/src/main/resources/mapper/EmisQuoteSendAreaMapper.xml @@ -0,0 +1,146 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + select area_id, area_name, use_site, use_site_code, area_site, area_site_id, fee_type, area_type, sync, status, remark, tenant_id, del_flag, create_by, create_time, update_by, update_time, create_site, update_site from emis_quote_send_area + + + + + + + + insert into emis_quote_send_area + + area_id, + area_name, + use_site, + use_site_code, + area_site, + area_site_id, + fee_type, + area_type, + sync, + status, + remark, + tenant_id, + del_flag, + create_by, + create_time, + update_by, + update_time, + create_site, + update_site, + + + #{areaId}, + #{areaName}, + #{useSite}, + #{useSiteCode}, + #{areaSite}, + #{areaSiteId}, + #{feeType}, + #{areaType}, + #{sync}, + #{status}, + #{remark}, + #{tenantId}, + #{delFlag}, + #{createBy}, + #{createTime}, + #{updateBy}, + #{updateTime}, + #{createSite}, + #{updateSite}, + + + + + update emis_quote_send_area + + area_name = #{areaName}, + use_site = #{useSite}, + use_site_code = #{useSiteCode}, + area_site = #{areaSite}, + area_site_id = #{areaSiteId}, + fee_type = #{feeType}, + area_type = #{areaType}, + sync = #{sync}, + status = #{status}, + remark = #{remark}, + tenant_id = #{tenantId}, + del_flag = #{delFlag}, + create_by = #{createBy}, + create_time = #{createTime}, + update_by = #{updateBy}, + update_time = #{updateTime}, + create_site = #{createSite}, + update_site = #{updateSite}, + + where area_id = #{areaId} + + + + delete from emis_quote_send_area where area_id = #{areaId} + + + + delete from emis_quote_send_area where area_id in + + #{areaId} + + + \ No newline at end of file