|
|
|
@ -2,12 +2,12 @@ package com.sztzjy.money_management.mapper;
|
|
|
|
|
|
|
|
|
|
import com.sztzjy.money_management.entity.SynthesisPlanClient;
|
|
|
|
|
import com.sztzjy.money_management.entity.SynthesisPlanClientExample;
|
|
|
|
|
import java.util.List;
|
|
|
|
|
|
|
|
|
|
import org.apache.ibatis.annotations.Mapper;
|
|
|
|
|
import org.apache.ibatis.annotations.Param;
|
|
|
|
|
import org.apache.ibatis.annotations.Select;
|
|
|
|
|
|
|
|
|
|
import java.util.List;
|
|
|
|
|
|
|
|
|
|
@Mapper
|
|
|
|
|
public interface SynthesisPlanClientMapper {
|
|
|
|
|
long countByExample(SynthesisPlanClientExample example);
|
|
|
|
@ -38,7 +38,8 @@ public interface SynthesisPlanClientMapper {
|
|
|
|
|
@Select("select count(*) from synthesis_plan_client where userid=#{userId} and submit_status='已审核'")
|
|
|
|
|
Integer selectYiYouTotalCount(String userId);
|
|
|
|
|
|
|
|
|
|
List<SynthesisPlanClient> getPotentialCustomerList(@Param("keyWord") String keyWord);
|
|
|
|
|
List<SynthesisPlanClient> getPotentialCustomerList(@Param("userId") String userId,
|
|
|
|
|
@Param("keyWord") String keyWord);
|
|
|
|
|
|
|
|
|
|
@Select("select sum(use_time) from synthesis_plan_client where userid=#{userId}")
|
|
|
|
|
Integer getTotalUseTime(String userId);
|
|
|
|
|