mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-26 05:55:03 +08:00
新增 运营商--分润会员对应关系表、实体、Service
This commit is contained in:
@@ -0,0 +1,61 @@
|
||||
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<ShareprofitMerchantMemberRelation> 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);
|
||||
}
|
||||
@@ -0,0 +1,89 @@
|
||||
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<ShareprofitMerchantMemberRelation> 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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user