From 9abaf38542e55fe6cac7b7c10e3e1f525d99b9f0 Mon Sep 17 00:00:00 2001 From: Guoqs <123@jsowell.com> Date: Fri, 29 Nov 2024 16:02:51 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4=E5=BA=9F=E5=BC=83=E4=BB=A3?= =?UTF-8?q?=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../pile/ShareprofitGroupController.java | 112 ------------ ...rofitMerchantMemberRelationController.java | 98 ----------- .../domain/shareprofit/ShareprofitGroup.java | 159 ------------------ .../ShareprofitMerchantMemberRelation.java | 67 -------- .../pile/mapper/ShareprofitGroupMapper.java | 70 -------- ...areprofitMerchantMemberRelationMapper.java | 63 ------- .../service/IShareprofitGroupService.java | 69 -------- ...reprofitMerchantMemberRelationService.java | 61 ------- .../impl/ShareprofitGroupServiceImpl.java | 96 ----------- ...ofitMerchantMemberRelationServiceImpl.java | 89 ---------- .../mapper/pile/ShareprofitGroupMapper.xml | 129 -------------- ...hareprofitMerchantMemberRelationMapper.xml | 65 ------- 12 files changed, 1078 deletions(-) delete mode 100644 jsowell-admin/src/main/java/com/jsowell/web/controller/pile/ShareprofitGroupController.java delete mode 100644 jsowell-admin/src/main/java/com/jsowell/web/controller/pile/ShareprofitMerchantMemberRelationController.java delete mode 100644 jsowell-pile/src/main/java/com/jsowell/pile/domain/shareprofit/ShareprofitGroup.java delete mode 100644 jsowell-pile/src/main/java/com/jsowell/pile/domain/shareprofit/ShareprofitMerchantMemberRelation.java delete mode 100644 jsowell-pile/src/main/java/com/jsowell/pile/mapper/ShareprofitGroupMapper.java delete mode 100644 jsowell-pile/src/main/java/com/jsowell/pile/mapper/ShareprofitMerchantMemberRelationMapper.java delete mode 100644 jsowell-pile/src/main/java/com/jsowell/pile/service/IShareprofitGroupService.java delete mode 100644 jsowell-pile/src/main/java/com/jsowell/pile/service/IShareprofitMerchantMemberRelationService.java delete mode 100644 jsowell-pile/src/main/java/com/jsowell/pile/service/impl/ShareprofitGroupServiceImpl.java delete mode 100644 jsowell-pile/src/main/java/com/jsowell/pile/service/impl/ShareprofitMerchantMemberRelationServiceImpl.java delete mode 100644 jsowell-pile/src/main/resources/mapper/pile/ShareprofitGroupMapper.xml delete mode 100644 jsowell-pile/src/main/resources/mapper/pile/ShareprofitMerchantMemberRelationMapper.xml diff --git a/jsowell-admin/src/main/java/com/jsowell/web/controller/pile/ShareprofitGroupController.java b/jsowell-admin/src/main/java/com/jsowell/web/controller/pile/ShareprofitGroupController.java deleted file mode 100644 index 4dc880fd2..000000000 --- a/jsowell-admin/src/main/java/com/jsowell/web/controller/pile/ShareprofitGroupController.java +++ /dev/null @@ -1,112 +0,0 @@ -package com.jsowell.web.controller.pile; - -import java.util.List; -import javax.servlet.http.HttpServletResponse; - -import com.jsowell.common.response.RestApiResponse; -import com.jsowell.pile.vo.web.ShareprofitGroupVO; -import org.springframework.security.access.prepost.PreAuthorize; -import org.springframework.beans.factory.annotation.Autowired; -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.jsowell.common.annotation.Log; -import com.jsowell.common.core.controller.BaseController; -import com.jsowell.common.core.domain.AjaxResult; -import com.jsowell.common.enums.BusinessType; -import com.jsowell.pile.domain.shareprofit.ShareprofitGroup; -import com.jsowell.pile.service.IShareprofitGroupService; -import com.jsowell.common.util.poi.ExcelUtil; -import com.jsowell.common.core.page.TableDataInfo; - -/** - * 运营商分润组Controller - * - * @author jsowell - * @date 2024-09-12 - */ -@RestController -@RequestMapping("/pile/shareprofitGroup") -public class ShareprofitGroupController extends BaseController { - @Autowired - private IShareprofitGroupService shareprofitGroupService; - - /** - * 查询运营商分润组列表 - */ - @PreAuthorize("@ss.hasPermi('pile:shareprofitGroup:list')") - @GetMapping("/list") - public TableDataInfo list(ShareprofitGroup shareprofitGroup) { - startPage(); - List list = shareprofitGroupService.selectShareprofitGroupList(shareprofitGroup); - return getDataTable(list); - } - - /** - * 查询运营商分润组列表 new - */ - @PostMapping("/getShareprofitGroupList") - public RestApiResponse getShareprofitGroupList(@RequestBody ShareprofitGroup shareprofitGroup) { - RestApiResponse response = null; - startPage(); - List list = shareprofitGroupService.getShareprofitGroupVOList(shareprofitGroup); - response = new RestApiResponse<>(list); - return response; - } - - /** - * 导出运营商分润组列表 - */ - @PreAuthorize("@ss.hasPermi('pile:shareprofitGroup:export')") - @Log(title = "运营商分润组", businessType = BusinessType.EXPORT) - @PostMapping("/export") - public void export(HttpServletResponse response, ShareprofitGroup shareprofitGroup) { - List list = shareprofitGroupService.selectShareprofitGroupList(shareprofitGroup); - ExcelUtil util = new ExcelUtil(ShareprofitGroup.class); - util.exportExcel(response, list, "运营商分润组数据"); - } - - /** - * 获取运营商分润组详细信息 - */ - @PreAuthorize("@ss.hasPermi('pile:shareprofitGroup:query')") - @GetMapping(value = "/{id}") - public AjaxResult getInfo(@PathVariable("id") Long id) { - return AjaxResult.success(shareprofitGroupService.selectShareprofitGroupById(id)); - } - - /** - * 新增运营商分润组 - */ - @PreAuthorize("@ss.hasPermi('pile:shareprofitGroup:add')") - @Log(title = "运营商分润组", businessType = BusinessType.INSERT) - @PostMapping - public AjaxResult add(@RequestBody ShareprofitGroup shareprofitGroup) { - return toAjax(shareprofitGroupService.insertShareprofitGroup(shareprofitGroup)); - } - - /** - * 修改运营商分润组 - */ - @PreAuthorize("@ss.hasPermi('pile:shareprofitGroup:edit')") - @Log(title = "运营商分润组", businessType = BusinessType.UPDATE) - @PutMapping - public AjaxResult edit(@RequestBody ShareprofitGroup shareprofitGroup) { - return toAjax(shareprofitGroupService.updateShareprofitGroup(shareprofitGroup)); - } - - /** - * 删除运营商分润组 - */ - @PreAuthorize("@ss.hasPermi('pile:shareprofitGroup:remove')") - @Log(title = "运营商分润组", businessType = BusinessType.DELETE) - @DeleteMapping("/{ids}") - public AjaxResult remove(@PathVariable Long[] ids) { - return toAjax(shareprofitGroupService.deleteShareprofitGroupByIds(ids)); - } -} diff --git a/jsowell-admin/src/main/java/com/jsowell/web/controller/pile/ShareprofitMerchantMemberRelationController.java b/jsowell-admin/src/main/java/com/jsowell/web/controller/pile/ShareprofitMerchantMemberRelationController.java deleted file mode 100644 index c3ac92f6a..000000000 --- a/jsowell-admin/src/main/java/com/jsowell/web/controller/pile/ShareprofitMerchantMemberRelationController.java +++ /dev/null @@ -1,98 +0,0 @@ -package com.jsowell.web.controller.pile; - -import java.util.List; -import javax.servlet.http.HttpServletResponse; - -import org.springframework.security.access.prepost.PreAuthorize; -import org.springframework.beans.factory.annotation.Autowired; -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.jsowell.common.annotation.Log; -import com.jsowell.common.core.controller.BaseController; -import com.jsowell.common.core.domain.AjaxResult; -import com.jsowell.common.enums.BusinessType; -import com.jsowell.pile.domain.shareprofit.ShareprofitMerchantMemberRelation; -import com.jsowell.pile.service.IShareprofitMerchantMemberRelationService; -import com.jsowell.common.util.poi.ExcelUtil; -import com.jsowell.common.core.page.TableDataInfo; - -/** - * 运营商--分润人关系Controller - * - * @author jsowell - * @date 2024-09-13 - */ -@RestController -@RequestMapping("/pile/shareprofitRelation") -public class ShareprofitMerchantMemberRelationController extends BaseController { - @Autowired - private IShareprofitMerchantMemberRelationService shareprofitMerchantMemberRelationService; - - /** - * 查询运营商--分润人关系列表 - */ - @PreAuthorize("@ss.hasPermi('pile:shareprofitRelation:list')") - @GetMapping("/list") - public TableDataInfo list(ShareprofitMerchantMemberRelation shareprofitMerchantMemberRelation) { - startPage(); - List list = shareprofitMerchantMemberRelationService.selectShareprofitMerchantMemberRelationList(shareprofitMerchantMemberRelation); - return getDataTable(list); - } - - /** - * 导出运营商--分润人关系列表 - */ - @PreAuthorize("@ss.hasPermi('pile:shareprofitRelation:export')") - @Log(title = "运营商--分润人关系", businessType = BusinessType.EXPORT) - @PostMapping("/export") - public void export(HttpServletResponse response, ShareprofitMerchantMemberRelation shareprofitMerchantMemberRelation) { - List list = shareprofitMerchantMemberRelationService.selectShareprofitMerchantMemberRelationList(shareprofitMerchantMemberRelation); - ExcelUtil util = new ExcelUtil(ShareprofitMerchantMemberRelation.class); - util.exportExcel(response, list, "运营商--分润人关系数据"); - } - - /** - * 获取运营商--分润人关系详细信息 - */ - @PreAuthorize("@ss.hasPermi('pile:shareprofitRelation:query')") - @GetMapping(value = "/{id}") - public AjaxResult getInfo(@PathVariable("id") Long id) { - return AjaxResult.success(shareprofitMerchantMemberRelationService.selectShareprofitMerchantMemberRelationById(id)); - } - - /** - * 新增运营商--分润人关系 - */ - @PreAuthorize("@ss.hasPermi('pile:shareprofitRelation:add')") - @Log(title = "运营商--分润人关系", businessType = BusinessType.INSERT) - @PostMapping - public AjaxResult add(@RequestBody ShareprofitMerchantMemberRelation shareprofitMerchantMemberRelation) { - return toAjax(shareprofitMerchantMemberRelationService.insertShareprofitMerchantMemberRelation(shareprofitMerchantMemberRelation)); - } - - /** - * 修改运营商--分润人关系 - */ - @PreAuthorize("@ss.hasPermi('pile:shareprofitRelation:edit')") - @Log(title = "运营商--分润人关系", businessType = BusinessType.UPDATE) - @PutMapping - public AjaxResult edit(@RequestBody ShareprofitMerchantMemberRelation shareprofitMerchantMemberRelation) { - return toAjax(shareprofitMerchantMemberRelationService.updateShareprofitMerchantMemberRelation(shareprofitMerchantMemberRelation)); - } - - /** - * 删除运营商--分润人关系 - */ - @PreAuthorize("@ss.hasPermi('pile:shareprofitRelation:remove')") - @Log(title = "运营商--分润人关系", businessType = BusinessType.DELETE) - @DeleteMapping("/{ids}") - public AjaxResult remove(@PathVariable Long[] ids) { - return toAjax(shareprofitMerchantMemberRelationService.deleteShareprofitMerchantMemberRelationByIds(ids)); - } -} diff --git a/jsowell-pile/src/main/java/com/jsowell/pile/domain/shareprofit/ShareprofitGroup.java b/jsowell-pile/src/main/java/com/jsowell/pile/domain/shareprofit/ShareprofitGroup.java deleted file mode 100644 index f1dc4c04c..000000000 --- a/jsowell-pile/src/main/java/com/jsowell/pile/domain/shareprofit/ShareprofitGroup.java +++ /dev/null @@ -1,159 +0,0 @@ -package com.jsowell.pile.domain.shareprofit; - -import com.jsowell.common.annotation.Excel; -import com.jsowell.common.core.domain.BaseEntity; -import org.apache.commons.lang3.builder.ToStringBuilder; -import org.apache.commons.lang3.builder.ToStringStyle; - -/** - * 运营商分润组对象 shareprofit_group - * - * @author jsowell - * @date 2024-09-12 - */ -public class ShareprofitGroup extends BaseEntity { - private static final long serialVersionUID = 1L; - - /** - * 主键 - */ - private Long id; - - /** - * 分润组编号 - */ - @Excel(name = "分润组编号") - private String groupCode; - - /** - * 运营商id - */ - @Excel(name = "运营商id") - private Long merchantId; - - /** - * 站点id - */ - @Excel(name = "站点id") - private Long stationId; - - /** - * 分润成员手机号码 - */ - @Excel(name = "分润成员手机号码") - private String memberPhoneNumber; - - /** - * 电费分润比例 - */ - @Excel(name = "电费分润比例") - private String electricityFeeScale; - - /** - * 服务费分润比例 - */ - @Excel(name = "服务费分润比例") - private String serviceFeeScale; - - /** - * 是否承担手续费(0-否;1-是) - */ - @Excel(name = "是否承担手续费(0-否;1-是)") - private String undertakeHandlingCharge; - - /** - * 删除标识(0-否;1-是) - */ - private String delFlag; - - public void setId(Long id) { - this.id = id; - } - - public Long getId() { - return id; - } - - public void setGroupCode(String groupCode) { - this.groupCode = groupCode; - } - - public String getGroupCode() { - return groupCode; - } - - public void setMerchantId(Long merchantId) { - this.merchantId = merchantId; - } - - public Long getMerchantId() { - return merchantId; - } - - public void setStationId(Long stationId) { - this.stationId = stationId; - } - - public Long getStationId() { - return stationId; - } - - public void setMemberPhoneNumber(String memberPhoneNumber) { - this.memberPhoneNumber = memberPhoneNumber; - } - - public String getMemberPhoneNumber() { - return memberPhoneNumber; - } - - public void setElectricityFeeScale(String electricityFeeScale) { - this.electricityFeeScale = electricityFeeScale; - } - - public String getElectricityFeeScale() { - return electricityFeeScale; - } - - public void setServiceFeeScale(String serviceFeeScale) { - this.serviceFeeScale = serviceFeeScale; - } - - public String getServiceFeeScale() { - return serviceFeeScale; - } - - public void setUndertakeHandlingCharge(String undertakeHandlingCharge) { - this.undertakeHandlingCharge = undertakeHandlingCharge; - } - - public String getUndertakeHandlingCharge() { - return undertakeHandlingCharge; - } - - public void setDelFlag(String delFlag) { - this.delFlag = delFlag; - } - - public String getDelFlag() { - return delFlag; - } - - @Override - public String toString() { - return new ToStringBuilder(this, ToStringStyle.JSON_STYLE) - .append("id", getId()) - .append("groupCode", getGroupCode()) - .append("merchantId", getMerchantId()) - .append("stationId", getStationId()) - .append("memberPhoneNumber", getMemberPhoneNumber()) - .append("electricityFeeScale", getElectricityFeeScale()) - .append("serviceFeeScale", getServiceFeeScale()) - .append("undertakeHandlingCharge", getUndertakeHandlingCharge()) - .append("createTime", getCreateTime()) - .append("createBy", getCreateBy()) - .append("updateTime", getUpdateTime()) - .append("updateBy", getUpdateBy()) - .append("delFlag", getDelFlag()) - .toString(); - } -} diff --git a/jsowell-pile/src/main/java/com/jsowell/pile/domain/shareprofit/ShareprofitMerchantMemberRelation.java b/jsowell-pile/src/main/java/com/jsowell/pile/domain/shareprofit/ShareprofitMerchantMemberRelation.java deleted file mode 100644 index 7a0d4ac48..000000000 --- a/jsowell-pile/src/main/java/com/jsowell/pile/domain/shareprofit/ShareprofitMerchantMemberRelation.java +++ /dev/null @@ -1,67 +0,0 @@ -package com.jsowell.pile.domain.shareprofit; - -import com.jsowell.common.annotation.Excel; -import com.jsowell.common.core.domain.BaseEntity; -import org.apache.commons.lang3.builder.ToStringBuilder; -import org.apache.commons.lang3.builder.ToStringStyle; - -/** - * 运营商--分润人关系对象 shareprofit_merchant_member_relation - * - * @author jsowell - * @date 2024-09-12 - */ -public class ShareprofitMerchantMemberRelation extends BaseEntity { - private static final long serialVersionUID = 1L; - - /** - * 主键 - */ - private Long id; - - /** - * 运营商id - */ - @Excel(name = "运营商id") - private Long merchantId; - - /** - * 分润人电话号码 - */ - @Excel(name = "分润人电话号码") - private String memberPhoneNumber; - - public void setId(Long id) { - this.id = id; - } - - public Long getId() { - return id; - } - - public void setMerchantId(Long merchantId) { - this.merchantId = merchantId; - } - - public Long getMerchantId() { - return merchantId; - } - - public void setMemberPhoneNumber(String memberPhoneNumber) { - this.memberPhoneNumber = memberPhoneNumber; - } - - public String getMemberPhoneNumber() { - return memberPhoneNumber; - } - - @Override - public String toString() { - return new ToStringBuilder(this, ToStringStyle.JSON_STYLE) - .append("id", getId()) - .append("merchantId", getMerchantId()) - .append("memberPhoneNumber", getMemberPhoneNumber()) - .append("createTime", getCreateTime()) - .toString(); - } -} diff --git a/jsowell-pile/src/main/java/com/jsowell/pile/mapper/ShareprofitGroupMapper.java b/jsowell-pile/src/main/java/com/jsowell/pile/mapper/ShareprofitGroupMapper.java deleted file mode 100644 index 4e065e31d..000000000 --- a/jsowell-pile/src/main/java/com/jsowell/pile/mapper/ShareprofitGroupMapper.java +++ /dev/null @@ -1,70 +0,0 @@ -package com.jsowell.pile.mapper; - -import java.util.List; - -import com.jsowell.pile.domain.shareprofit.ShareprofitGroup; -import com.jsowell.pile.vo.web.ShareprofitGroupVO; -import org.springframework.stereotype.Repository; - -/** - * 运营商分润组Mapper接口 - * - * @author jsowell - * @date 2024-09-12 - */ -@Repository -public interface ShareprofitGroupMapper { - /** - * 查询运营商分润组 - * - * @param id 运营商分润组主键 - * @return 运营商分润组 - */ - public ShareprofitGroup selectShareprofitGroupById(Long id); - - /** - * 查询运营商分润组列表 - * - * @param shareprofitGroup 运营商分润组 - * @return 运营商分润组集合 - */ - public List selectShareprofitGroupList(ShareprofitGroup shareprofitGroup); - - /** - * 新增运营商分润组 - * - * @param shareprofitGroup 运营商分润组 - * @return 结果 - */ - public int insertShareprofitGroup(ShareprofitGroup shareprofitGroup); - - /** - * 修改运营商分润组 - * - * @param shareprofitGroup 运营商分润组 - * @return 结果 - */ - public int updateShareprofitGroup(ShareprofitGroup shareprofitGroup); - - /** - * 删除运营商分润组 - * - * @param id 运营商分润组主键 - * @return 结果 - */ - public int deleteShareprofitGroupById(Long id); - - /** - * 批量删除运营商分润组 - * - * @param ids 需要删除的数据主键集合 - * @return 结果 - */ - public int deleteShareprofitGroupByIds(Long[] ids); - - /** - * 查询运营商分润组列表VO - * @param shareprofitGroup - */ - List getShareprofitGroupVOList(ShareprofitGroup shareprofitGroup); -} diff --git a/jsowell-pile/src/main/java/com/jsowell/pile/mapper/ShareprofitMerchantMemberRelationMapper.java b/jsowell-pile/src/main/java/com/jsowell/pile/mapper/ShareprofitMerchantMemberRelationMapper.java deleted file mode 100644 index 6c54ebee6..000000000 --- a/jsowell-pile/src/main/java/com/jsowell/pile/mapper/ShareprofitMerchantMemberRelationMapper.java +++ /dev/null @@ -1,63 +0,0 @@ -package com.jsowell.pile.mapper; - -import java.util.List; - -import com.jsowell.pile.domain.shareprofit.ShareprofitMerchantMemberRelation; -import org.springframework.stereotype.Repository; - -/** - * 运营商--分润人关系Mapper接口 - * - * @author jsowell - * @date 2024-09-12 - */ -@Repository -public interface ShareprofitMerchantMemberRelationMapper { - /** - * 查询运营商--分润人关系 - * - * @param id 运营商--分润人关系主键 - * @return 运营商--分润人关系 - */ - public ShareprofitMerchantMemberRelation selectShareprofitMerchantMemberRelationById(Long id); - - /** - * 查询运营商--分润人关系列表 - * - * @param shareprofitMerchantMemberRelation 运营商--分润人关系 - * @return 运营商--分润人关系集合 - */ - public List selectShareprofitMerchantMemberRelationList(ShareprofitMerchantMemberRelation shareprofitMerchantMemberRelation); - - /** - * 新增运营商--分润人关系 - * - * @param shareprofitMerchantMemberRelation 运营商--分润人关系 - * @return 结果 - */ - public int insertShareprofitMerchantMemberRelation(ShareprofitMerchantMemberRelation shareprofitMerchantMemberRelation); - - /** - * 修改运营商--分润人关系 - * - * @param shareprofitMerchantMemberRelation 运营商--分润人关系 - * @return 结果 - */ - public int updateShareprofitMerchantMemberRelation(ShareprofitMerchantMemberRelation shareprofitMerchantMemberRelation); - - /** - * 删除运营商--分润人关系 - * - * @param id 运营商--分润人关系主键 - * @return 结果 - */ - public int deleteShareprofitMerchantMemberRelationById(Long id); - - /** - * 批量删除运营商--分润人关系 - * - * @param ids 需要删除的数据主键集合 - * @return 结果 - */ - public int deleteShareprofitMerchantMemberRelationByIds(Long[] ids); -} diff --git a/jsowell-pile/src/main/java/com/jsowell/pile/service/IShareprofitGroupService.java b/jsowell-pile/src/main/java/com/jsowell/pile/service/IShareprofitGroupService.java deleted file mode 100644 index 12acb35d2..000000000 --- a/jsowell-pile/src/main/java/com/jsowell/pile/service/IShareprofitGroupService.java +++ /dev/null @@ -1,69 +0,0 @@ -package com.jsowell.pile.service; - -import java.util.List; - -import com.jsowell.pile.domain.shareprofit.ShareprofitGroup; -import com.jsowell.pile.vo.web.ShareprofitGroupVO; - -/** - * 运营商分润组Service接口 - * - * @author jsowell - * @date 2024-09-12 - */ -public interface IShareprofitGroupService { - /** - * 查询运营商分润组 - * - * @param id 运营商分润组主键 - * @return 运营商分润组 - */ - public ShareprofitGroup selectShareprofitGroupById(Long id); - - /** - * 查询运营商分润组列表 - * - * @param shareprofitGroup 运营商分润组 - * @return 运营商分润组集合 - */ - public List selectShareprofitGroupList(ShareprofitGroup shareprofitGroup); - - /** - * 查询运营商分润组列表VOList - * @param shareprofitGroup - * @return - */ - List getShareprofitGroupVOList(ShareprofitGroup shareprofitGroup); - - /** - * 新增运营商分润组 - * - * @param shareprofitGroup 运营商分润组 - * @return 结果 - */ - public int insertShareprofitGroup(ShareprofitGroup shareprofitGroup); - - /** - * 修改运营商分润组 - * - * @param shareprofitGroup 运营商分润组 - * @return 结果 - */ - public int updateShareprofitGroup(ShareprofitGroup shareprofitGroup); - - /** - * 批量删除运营商分润组 - * - * @param ids 需要删除的运营商分润组主键集合 - * @return 结果 - */ - public int deleteShareprofitGroupByIds(Long[] ids); - - /** - * 删除运营商分润组信息 - * - * @param id 运营商分润组主键 - * @return 结果 - */ - public int deleteShareprofitGroupById(Long id); -} diff --git a/jsowell-pile/src/main/java/com/jsowell/pile/service/IShareprofitMerchantMemberRelationService.java b/jsowell-pile/src/main/java/com/jsowell/pile/service/IShareprofitMerchantMemberRelationService.java deleted file mode 100644 index 5ff068d6c..000000000 --- a/jsowell-pile/src/main/java/com/jsowell/pile/service/IShareprofitMerchantMemberRelationService.java +++ /dev/null @@ -1,61 +0,0 @@ -package com.jsowell.pile.service; - -import java.util.List; - -import com.jsowell.pile.domain.shareprofit.ShareprofitMerchantMemberRelation; - -/** - * 运营商--分润人关系Service接口 - * - * @author jsowell - * @date 2024-09-12 - */ -public interface IShareprofitMerchantMemberRelationService { - /** - * 查询运营商--分润人关系 - * - * @param id 运营商--分润人关系主键 - * @return 运营商--分润人关系 - */ - public ShareprofitMerchantMemberRelation selectShareprofitMerchantMemberRelationById(Long id); - - /** - * 查询运营商--分润人关系列表 - * - * @param shareprofitMerchantMemberRelation 运营商--分润人关系 - * @return 运营商--分润人关系集合 - */ - public List selectShareprofitMerchantMemberRelationList(ShareprofitMerchantMemberRelation shareprofitMerchantMemberRelation); - - /** - * 新增运营商--分润人关系 - * - * @param shareprofitMerchantMemberRelation 运营商--分润人关系 - * @return 结果 - */ - public int insertShareprofitMerchantMemberRelation(ShareprofitMerchantMemberRelation shareprofitMerchantMemberRelation); - - /** - * 修改运营商--分润人关系 - * - * @param shareprofitMerchantMemberRelation 运营商--分润人关系 - * @return 结果 - */ - public int updateShareprofitMerchantMemberRelation(ShareprofitMerchantMemberRelation shareprofitMerchantMemberRelation); - - /** - * 批量删除运营商--分润人关系 - * - * @param ids 需要删除的运营商--分润人关系主键集合 - * @return 结果 - */ - public int deleteShareprofitMerchantMemberRelationByIds(Long[] ids); - - /** - * 删除运营商--分润人关系信息 - * - * @param id 运营商--分润人关系主键 - * @return 结果 - */ - public int deleteShareprofitMerchantMemberRelationById(Long id); -} diff --git a/jsowell-pile/src/main/java/com/jsowell/pile/service/impl/ShareprofitGroupServiceImpl.java b/jsowell-pile/src/main/java/com/jsowell/pile/service/impl/ShareprofitGroupServiceImpl.java deleted file mode 100644 index 035bb1696..000000000 --- a/jsowell-pile/src/main/java/com/jsowell/pile/service/impl/ShareprofitGroupServiceImpl.java +++ /dev/null @@ -1,96 +0,0 @@ -package com.jsowell.pile.service.impl; - -import java.util.List; - -import com.jsowell.common.util.DateUtils; -import com.jsowell.pile.vo.web.ShareprofitGroupVO; -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.stereotype.Service; -import com.jsowell.pile.mapper.ShareprofitGroupMapper; -import com.jsowell.pile.domain.shareprofit.ShareprofitGroup; -import com.jsowell.pile.service.IShareprofitGroupService; - -/** - * 运营商分润组Service业务层处理 - * - * @author jsowell - * @date 2024-09-12 - */ -@Service -public class ShareprofitGroupServiceImpl implements IShareprofitGroupService { - @Autowired - private ShareprofitGroupMapper shareprofitGroupMapper; - - /** - * 查询运营商分润组 - * - * @param id 运营商分润组主键 - * @return 运营商分润组 - */ - @Override - public ShareprofitGroup selectShareprofitGroupById(Long id) { - return shareprofitGroupMapper.selectShareprofitGroupById(id); - } - - /** - * 查询运营商分润组列表 - * - * @param shareprofitGroup 运营商分润组 - * @return 运营商分润组 - */ - @Override - public List selectShareprofitGroupList(ShareprofitGroup shareprofitGroup) { - return shareprofitGroupMapper.selectShareprofitGroupList(shareprofitGroup); - } - - @Override - public List getShareprofitGroupVOList(ShareprofitGroup shareprofitGroup){ - return shareprofitGroupMapper.getShareprofitGroupVOList(shareprofitGroup); - } - - /** - * 新增运营商分润组 - * - * @param shareprofitGroup 运营商分润组 - * @return 结果 - */ - @Override - public int insertShareprofitGroup(ShareprofitGroup shareprofitGroup) { - shareprofitGroup.setCreateTime(DateUtils.getNowDate()); - return shareprofitGroupMapper.insertShareprofitGroup(shareprofitGroup); - } - - /** - * 修改运营商分润组 - * - * @param shareprofitGroup 运营商分润组 - * @return 结果 - */ - @Override - public int updateShareprofitGroup(ShareprofitGroup shareprofitGroup) { - shareprofitGroup.setUpdateTime(DateUtils.getNowDate()); - return shareprofitGroupMapper.updateShareprofitGroup(shareprofitGroup); - } - - /** - * 批量删除运营商分润组 - * - * @param ids 需要删除的运营商分润组主键 - * @return 结果 - */ - @Override - public int deleteShareprofitGroupByIds(Long[] ids) { - return shareprofitGroupMapper.deleteShareprofitGroupByIds(ids); - } - - /** - * 删除运营商分润组信息 - * - * @param id 运营商分润组主键 - * @return 结果 - */ - @Override - public int deleteShareprofitGroupById(Long id) { - return shareprofitGroupMapper.deleteShareprofitGroupById(id); - } -} diff --git a/jsowell-pile/src/main/java/com/jsowell/pile/service/impl/ShareprofitMerchantMemberRelationServiceImpl.java b/jsowell-pile/src/main/java/com/jsowell/pile/service/impl/ShareprofitMerchantMemberRelationServiceImpl.java deleted file mode 100644 index 4c2a0ac76..000000000 --- a/jsowell-pile/src/main/java/com/jsowell/pile/service/impl/ShareprofitMerchantMemberRelationServiceImpl.java +++ /dev/null @@ -1,89 +0,0 @@ -package com.jsowell.pile.service.impl; - -import java.util.List; - -import com.jsowell.common.util.DateUtils; -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.stereotype.Service; -import com.jsowell.pile.mapper.ShareprofitMerchantMemberRelationMapper; -import com.jsowell.pile.domain.shareprofit.ShareprofitMerchantMemberRelation; -import com.jsowell.pile.service.IShareprofitMerchantMemberRelationService; - -/** - * 运营商--分润人关系Service业务层处理 - * - * @author jsowell - * @date 2024-09-12 - */ -@Service -public class ShareprofitMerchantMemberRelationServiceImpl implements IShareprofitMerchantMemberRelationService { - @Autowired - private ShareprofitMerchantMemberRelationMapper shareprofitMerchantMemberRelationMapper; - - /** - * 查询运营商--分润人关系 - * - * @param id 运营商--分润人关系主键 - * @return 运营商--分润人关系 - */ - @Override - public ShareprofitMerchantMemberRelation selectShareprofitMerchantMemberRelationById(Long id) { - return shareprofitMerchantMemberRelationMapper.selectShareprofitMerchantMemberRelationById(id); - } - - /** - * 查询运营商--分润人关系列表 - * - * @param shareprofitMerchantMemberRelation 运营商--分润人关系 - * @return 运营商--分润人关系 - */ - @Override - public List selectShareprofitMerchantMemberRelationList(ShareprofitMerchantMemberRelation shareprofitMerchantMemberRelation) { - return shareprofitMerchantMemberRelationMapper.selectShareprofitMerchantMemberRelationList(shareprofitMerchantMemberRelation); - } - - /** - * 新增运营商--分润人关系 - * - * @param shareprofitMerchantMemberRelation 运营商--分润人关系 - * @return 结果 - */ - @Override - public int insertShareprofitMerchantMemberRelation(ShareprofitMerchantMemberRelation shareprofitMerchantMemberRelation) { - shareprofitMerchantMemberRelation.setCreateTime(DateUtils.getNowDate()); - return shareprofitMerchantMemberRelationMapper.insertShareprofitMerchantMemberRelation(shareprofitMerchantMemberRelation); - } - - /** - * 修改运营商--分润人关系 - * - * @param shareprofitMerchantMemberRelation 运营商--分润人关系 - * @return 结果 - */ - @Override - public int updateShareprofitMerchantMemberRelation(ShareprofitMerchantMemberRelation shareprofitMerchantMemberRelation) { - return shareprofitMerchantMemberRelationMapper.updateShareprofitMerchantMemberRelation(shareprofitMerchantMemberRelation); - } - - /** - * 批量删除运营商--分润人关系 - * - * @param ids 需要删除的运营商--分润人关系主键 - * @return 结果 - */ - @Override - public int deleteShareprofitMerchantMemberRelationByIds(Long[] ids) { - return shareprofitMerchantMemberRelationMapper.deleteShareprofitMerchantMemberRelationByIds(ids); - } - - /** - * 删除运营商--分润人关系信息 - * - * @param id 运营商--分润人关系主键 - * @return 结果 - */ - @Override - public int deleteShareprofitMerchantMemberRelationById(Long id) { - return shareprofitMerchantMemberRelationMapper.deleteShareprofitMerchantMemberRelationById(id); - } -} diff --git a/jsowell-pile/src/main/resources/mapper/pile/ShareprofitGroupMapper.xml b/jsowell-pile/src/main/resources/mapper/pile/ShareprofitGroupMapper.xml deleted file mode 100644 index ad45687b4..000000000 --- a/jsowell-pile/src/main/resources/mapper/pile/ShareprofitGroupMapper.xml +++ /dev/null @@ -1,129 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - select id, group_code, merchant_id, station_id, member_phone_number, electricity_fee_scale, service_fee_scale, undertake_handling_charge, create_time, create_by, update_time, update_by, del_flag from shareprofit_group - - - - - - - - insert into shareprofit_group - - group_code, - merchant_id, - station_id, - member_phone_number, - electricity_fee_scale, - service_fee_scale, - undertake_handling_charge, - create_time, - create_by, - update_time, - update_by, - del_flag, - - - #{groupCode}, - #{merchantId}, - #{stationId}, - #{memberPhoneNumber}, - #{electricityFeeScale}, - #{serviceFeeScale}, - #{undertakeHandlingCharge}, - #{createTime}, - #{createBy}, - #{updateTime}, - #{updateBy}, - #{delFlag}, - - - - - update shareprofit_group - - group_code = #{groupCode}, - merchant_id = #{merchantId}, - station_id = #{stationId}, - member_phone_number = #{memberPhoneNumber}, - electricity_fee_scale = #{electricityFeeScale}, - service_fee_scale = #{serviceFeeScale}, - undertake_handling_charge = #{undertakeHandlingCharge}, - create_time = #{createTime}, - create_by = #{createBy}, - update_time = #{updateTime}, - update_by = #{updateBy}, - del_flag = #{delFlag}, - - where id = #{id} - - - - delete from shareprofit_group where id = #{id} - - - - delete from shareprofit_group where id in - - #{id} - - - - - \ No newline at end of file diff --git a/jsowell-pile/src/main/resources/mapper/pile/ShareprofitMerchantMemberRelationMapper.xml b/jsowell-pile/src/main/resources/mapper/pile/ShareprofitMerchantMemberRelationMapper.xml deleted file mode 100644 index 6101923d8..000000000 --- a/jsowell-pile/src/main/resources/mapper/pile/ShareprofitMerchantMemberRelationMapper.xml +++ /dev/null @@ -1,65 +0,0 @@ - - - - - - - - - - - - - select id, merchant_id, member_phone_number, create_time from shareprofit_merchant_member_relation - - - - - - - - insert into shareprofit_merchant_member_relation - - merchant_id, - member_phone_number, - create_time, - - - #{merchantId}, - #{memberPhoneNumber}, - #{createTime}, - - - - - update shareprofit_merchant_member_relation - - merchant_id = #{merchantId}, - member_phone_number = #{memberPhoneNumber}, - create_time = #{createTime}, - - where id = #{id} - - - - delete from shareprofit_merchant_member_relation where id = #{id} - - - - delete from shareprofit_merchant_member_relation where id in - - #{id} - - - \ No newline at end of file