Commit 15913847 authored by lilei's avatar lilei

首席mapper

parent d445e04a
package com.zfxftech.telmarket.common.pojo.dto.chief;
import com.zfxftech.telmarket.common.pojo.dao.FansFollowRecord;
import java.util.Date;
public class ChiefProductCustomerFansDto {
private Long customerId;
private String customerName;
private Long productId;
private String productName;
private Long tpFansId;
private String tpFansOpenId;
private String tpFansUnionidId;
private Integer wid;
private Integer status;
private Date createdTime;
private Date expireDate;
public Date getExpireDate() {
return expireDate;
}
public void setExpireDate(Date expireDate) {
this.expireDate = expireDate;
}
public Date getCreatedTime() {
return createdTime;
}
public void setCreatedTime(Date createdTime) {
this.createdTime = createdTime;
}
public FansFollowRecord buildFansObj() {
FansFollowRecord fans = new FansFollowRecord();
fans.setWid(wid.longValue());
fans.setId(tpFansId);
fans.setOpenId(tpFansOpenId);
fans.setUnionId(tpFansUnionidId);
fans.setStatus(status);
return fans;
}
public Long getCustomerId() {
return customerId;
}
public void setCustomerId(Long customerId) {
this.customerId = customerId;
}
public String getCustomerName() {
return customerName;
}
public void setCustomerName(String customerName) {
this.customerName = customerName;
}
public Long getProductId() {
return productId;
}
public void setProductId(Long productId) {
this.productId = productId;
}
public String getProductName() {
return productName;
}
public void setProductName(String productName) {
this.productName = productName;
}
public Long getTpFansId() {
return tpFansId;
}
public void setTpFansId(Long tpFansId) {
this.tpFansId = tpFansId;
}
public String getTpFansOpenId() {
return tpFansOpenId;
}
public void setTpFansOpenId(String tpFansOpenId) {
this.tpFansOpenId = tpFansOpenId;
}
public String getTpFansUnionidId() {
return tpFansUnionidId;
}
public void setTpFansUnionidId(String tpFansUnionidId) {
this.tpFansUnionidId = tpFansUnionidId;
}
public Integer getWid() {
return wid;
}
public void setWid(Integer wid) {
this.wid = wid;
}
public Integer getStatus() {
return status;
}
public void setStatus(Integer status) {
this.status = status;
}
}
package com.zfxftech.telmarket.mapper.business.chief;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zfxftech.telmarket.common.pojo.dao.chief.ChiefAccountProductRelation;
import com.zfxftech.telmarket.common.pojo.dto.chief.ChiefProductCustomerFansDto;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;
import java.util.List;
/**
* 账户和产品关联信息表
*
* @author jianghua
* @version 1.0
* @date 2021-08-24 15:55
*/
@Repository
public interface ChiefAccountProductRelationMapper extends BaseMapper<ChiefAccountProductRelation> {
@Select("select" +
" pr.product_id as productId," +
" pr.customer_id as customerId," +
" u.name as customerName," +
" p.product_name as productName," +
" f.id as tpFansId," +
" f.openid as tpFansOpenId," +
" f.unionid as tpFansUnionidId," +
" f.status as status," +
" pr.wid as wid" +
" from chief_account_product_relation as pr" +
" left join tp_fans as f on pr.tp_fans_id = f.id" +
" left join us_member_base as u on pr.customer_id=u.id" +
" left join chief_product as p on pr.product_id = p.id" +
" where pr.product_id= #{productId} and pr.status>0 and f.id is not null")
List<ChiefProductCustomerFansDto> queryProductUserList(Long productId);
}
\ No newline at end of file
package com.zfxftech.telmarket.mapper.business.chief;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zfxftech.telmarket.common.pojo.dao.chief.ChiefCodeInquiry;
import org.springframework.stereotype.Repository;
import java.util.List;
import java.util.Map;
/**
* @version V1.0
* @title: CodeInquiryMapper
* @description:
* @author: zw
* @date: 2021/12/64:04 下午
*/
@Repository
public interface ChiefCodeInquiryMapper extends BaseMapper<ChiefCodeInquiry> {
List<ChiefCodeInquiry> getCodeInquiryList(Map<String, Object> pram);
List<ChiefCodeInquiry> getCodeInquirySimulatedList(Map<String, Object> pram);
}
package com.zfxftech.telmarket.mapper.business.chief;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zfxftech.telmarket.common.pojo.dao.chief.ChiefCommonReviews;
import org.springframework.stereotype.Repository;
/**
* @version V1.0
* @title: CommonReviewsMapper
* @description:
* @author: zw
* @date: 2022/2/246:05 下午
*/
@Repository
public interface ChiefCommonReviewsMapper extends BaseMapper<ChiefCommonReviews> {
}
package com.zfxftech.telmarket.mapper.business.chief;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zfxftech.telmarket.common.pojo.dao.chief.ChiefCustomerInquiryPage;
import com.zfxftech.telmarket.common.pojo.request.facade.customer.inquiry.QueryCustomerInquiryFacadeListVO;
import org.springframework.stereotype.Repository;
import java.util.List;
import java.util.Map;
/**
* 账户和产品关联信息表
*
* @author jianghua
* @version 1.0
* @date 2021-08-24 15:55
*/
@Repository
public interface ChiefCustomerInquiryMapper extends BaseMapper<ChiefCustomerInquiryPage> {
List<ChiefCustomerInquiryPage> selectCustomerInquiryPageList(Map<String, Object> pram);
List<QueryCustomerInquiryFacadeListVO> selectCustomerInquiryList(Map<String, Object> pram);
}
\ No newline at end of file
package com.zfxftech.telmarket.mapper.business.chief;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zfxftech.telmarket.common.pojo.dao.chief.ChiefFrozenRecord;
import org.springframework.stereotype.Repository;
/**
* @author delll
*/
@Repository
public interface ChiefFrozenRecordMapper extends BaseMapper<ChiefFrozenRecord> {
}
package com.zfxftech.telmarket.mapper.business.chief;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zfxftech.telmarket.common.pojo.dao.chief.ChiefInitialFundAdjustmentLog;
public interface ChiefInitialFundAdjustmentLogMapper extends BaseMapper<ChiefInitialFundAdjustmentLog> {
}
package com.zfxftech.telmarket.mapper.business.chief;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zfxftech.telmarket.common.pojo.dao.chief.ChiefIntelligentSendNum;
import com.zfxftech.telmarket.common.pojo.dao.chief.ChiefPushRule;
import org.springframework.stereotype.Repository;
import java.util.List;
import java.util.Map;
/**
* @version V1.0
* @title: IntelligentSendServiceMapper
* @description:
* @author: zw
* @date: 2021/11/1810:54 上午
*/
@Repository
public interface ChiefIntelligentSendMapper extends BaseMapper<ChiefPushRule> {
List<ChiefPushRule> queryIntelligentSendList(Map<String, Object> params);
List<ChiefIntelligentSendNum> querySendUserNum(Map<String, Object> params);
}
package com.zfxftech.telmarket.mapper.business.chief;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zfxftech.telmarket.common.pojo.dao.chief.ChiefMarketProfitLog;;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;
@Repository
public interface ChiefMarketProfitLogMapper extends BaseMapper<ChiefMarketProfitLog> {
@Select("select id,market_id,principal,profit_rate from chief_market_profit_log " +
"where id = ( " +
" select max(id) from chief_market_profit_log " +
" where market_id=#{marketId} and is_deleted='0' " +
")")
ChiefMarketProfitLog selectLastLogByMarketId(@Param("marketId") Long marketId);
}
package com.zfxftech.telmarket.mapper.business.chief;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zfxftech.telmarket.common.pojo.dao.chief.ChiefMessageLogger;
import org.springframework.stereotype.Repository;
import java.util.List;
/**
* @version V1.0
* @title: CommonMessageLoggerMapper
* @description:
* @author: zw
* @date: 2021/11/265:06 下午
*/
@Repository
public interface ChiefMessageLoggerMapper extends BaseMapper<ChiefMessageLogger> {
int insertListBatch(List<ChiefMessageLogger> messageLoggerList);
}
package com.zfxftech.telmarket.mapper.business.chief;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zfxftech.telmarket.common.pojo.dao.chief.ChiefPositionTradeInfoRecord;
import org.springframework.stereotype.Repository;
import java.util.List;
import java.util.Map;
/**
* @version V1.0
* @title: PositionTradeInfoRecordMapper
* @description:
* @author: zw
* @date: 2022/1/289:32 上午
*/
@Repository
public interface ChiefPositionTradeInfoRecordMapper extends BaseMapper<ChiefPositionTradeInfoRecord> {
List<ChiefPositionTradeInfoRecord> pagePositionTradeInfoRecordGroupByBatch(Map<String, Object> columnMap);
}
package com.zfxftech.telmarket.mapper.business.chief;
import com.zfxftech.telmarket.common.pojo.dao.chief.ChiefProductConfigRule;
import com.zfxftech.telmarket.common.pojo.dao.chief.ChiefProductConfigRuleExample;
import org.apache.ibatis.annotations.Param;
import java.util.List;
public interface ChiefProductConfigRuleMapper {
long countByExample(ChiefProductConfigRuleExample example);
int deleteByExample(ChiefProductConfigRuleExample example);
int deleteByPrimaryKey(Integer id);
int insert(ChiefProductConfigRule record);
int insertSelective(ChiefProductConfigRule record);
List<ChiefProductConfigRule> selectByExample(ChiefProductConfigRuleExample example);
ChiefProductConfigRule selectByPrimaryKey(Integer id);
int updateByExampleSelective(@Param("record") ChiefProductConfigRule record, @Param("example") ChiefProductConfigRuleExample example);
int updateByExample(@Param("record") ChiefProductConfigRule record, @Param("example") ChiefProductConfigRuleExample example);
int updateByPrimaryKeySelective(ChiefProductConfigRule record);
int updateByPrimaryKey(ChiefProductConfigRule record);
}
\ No newline at end of file
package com.zfxftech.telmarket.mapper.business.chief;
import com.zfxftech.telmarket.common.pojo.dao.chief.ChiefProductConfigRuleRel;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import java.util.List;
@Repository
public interface ChiefProductConfigRuleRelMapper {
// int deleteByExample(ProductConfigRuleRelExample example);
int deleteByPrimaryKey(Integer id);
int deleteByRuleId(@Param("ruleId") Integer ruleId);
int insert(ChiefProductConfigRuleRel record);
int insertSelective(ChiefProductConfigRuleRel record);
// List<ProductConfigRuleRel> selectByExample(ProductConfigRuleRelExample example);
ChiefProductConfigRuleRel selectByPrimaryKey(Integer id);
// int updateByExampleSelective(@Param("record") ProductConfigRuleRel record, @Param("example") ProductConfigRuleRelExample example);
// int updateByExample(@Param("record") ProductConfigRuleRel record, @Param("example") ProductConfigRuleRelExample example);
int updateByPrimaryKeySelective(ChiefProductConfigRuleRel record);
int updateByPrimaryKey(ChiefProductConfigRuleRel record);
List<ChiefProductConfigRuleRel> selectByRuleId(@Param("ruleId") Integer ruleId);
List<ChiefProductConfigRuleRel> selectByProductIdAndOrderBy(@Param("productId")Integer productId, @Param("orderByColumn") String orderByColumn, @Param("orderByDirection") String orderByDirection );
List<ChiefProductConfigRuleRel> selectByRuleIdAndRuleType(@Param("ruleId")Integer ruleId, @Param("ruleType")Integer type);
List<ChiefProductConfigRuleRel> selectByProductId(@Param("productId")Integer productId);
List<ChiefProductConfigRuleRel> selectByProductIdListAndRuleType(@Param("productIdList") List<Integer> idList, @Param("ruleType") Integer type);
}
\ No newline at end of file
package com.zfxftech.telmarket.mapper.business.chief;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zfxftech.telmarket.common.pojo.dao.chief.ChiefProduct;
import org.springframework.stereotype.Repository;
/**
* @author jianghua
* @version 1.0
* @date 2021-08-24 15:55
*/
@Repository
public interface ChiefProductMapper extends BaseMapper<ChiefProduct> {
}
package com.zfxftech.telmarket.mapper.business.chief;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zfxftech.telmarket.common.pojo.dao.chief.ChiefSendFromLog;
public interface ChiefSendFromLogMapper extends BaseMapper<ChiefSendFromLog> {
}
package com.zfxftech.telmarket.mapper.business.chief;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zfxftech.telmarket.common.pojo.dao.chief.ChiefSendFromPositionLog;
public interface ChiefSendFromPositionLogMapper extends BaseMapper<ChiefSendFromPositionLog> {
}
package com.zfxftech.telmarket.mapper.business.chief;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zfxftech.telmarket.common.pojo.dao.chief.ChiefStockInputLog;
import org.springframework.stereotype.Repository;
import java.util.List;
import java.util.Map;
/**
* 用户股票持仓
*
* @author jianghua
* @version 1.0
* @date 2021-08-24 15:55
*/
@Repository
public interface ChiefStockInputLogMapper extends BaseMapper<ChiefStockInputLog> {
List<ChiefStockInputLog> queryStockInputLogs(Map<String, Object> param);
}
\ No newline at end of file
package com.zfxftech.telmarket.mapper.business.chief;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zfxftech.telmarket.common.pojo.dao.chief.ChiefMemberStockPage;
import com.zfxftech.telmarket.common.pojo.dao.chief.ChiefStockPosition;
import com.zfxftech.telmarket.common.pojo.dao.high.HighMemberStockPage;
import com.zfxftech.telmarket.common.pojo.dao.high.HighStockPosition;
import com.zfxftech.telmarket.common.pojo.dto.remind.FullStockPositionTask;
import com.zfxftech.telmarket.common.pojo.dto.remind.StockPositionTask;
import com.zfxftech.telmarket.common.pojo.request.statistics.CurrDayRiseDownDataList;
import com.zfxftech.telmarket.common.pojo.request.statistics.RealTimeCodeQueryDataList;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import java.util.List;
import java.util.Map;
/**
* 用户股票持仓
*
* @author jianghua
* @version 1.0
* @date 2021-08-24 15:55
*/
@Repository
public interface ChiefStockPositionMapper extends BaseMapper<ChiefStockPosition> {
List<ChiefMemberStockPage> selectCustomerPositionList(Map<String, Object> pram);
List<ChiefStockPosition> queryStockPositionsContainIsDeleted(Long marketId);
List<StockPositionTask> getStockPositionTask(@Param("productId") Long productId, @Param("code") String code);
List<FullStockPositionTask> getProductCheckFullStopTask();
Integer selectCurrDayRiseDownStockNum(Map<String, Object> pram);
List<CurrDayRiseDownDataList> selectCurrDayRiseDownDataList(Map<String, Object> pram);
List<RealTimeCodeQueryDataList> selectRealTimeCodeQueryDataList(Map<String, Object> pram);
}
\ No newline at end of file
package com.zfxftech.telmarket.mapper.business.chief;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zfxftech.telmarket.common.pojo.dao.chief.ChiefStockProfitLog;
/**
* @Description TODO
* @Author Dell
* @Date 2021/11/23 15:40
*/
public interface ChiefStockProfitLogMapper extends BaseMapper<ChiefStockProfitLog> {
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment