|
|
@ -46,7 +46,8 @@
|
|
|
|
</when>
|
|
|
|
</when>
|
|
|
|
<when test="criterion.listValue">
|
|
|
|
<when test="criterion.listValue">
|
|
|
|
and ${criterion.condition}
|
|
|
|
and ${criterion.condition}
|
|
|
|
<foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
|
|
|
|
<foreach close=")" collection="criterion.value" item="listItem" open="("
|
|
|
|
|
|
|
|
separator=",">
|
|
|
|
#{listItem}
|
|
|
|
#{listItem}
|
|
|
|
</foreach>
|
|
|
|
</foreach>
|
|
|
|
</when>
|
|
|
|
</when>
|
|
|
@ -75,7 +76,8 @@
|
|
|
|
</when>
|
|
|
|
</when>
|
|
|
|
<when test="criterion.listValue">
|
|
|
|
<when test="criterion.listValue">
|
|
|
|
and ${criterion.condition}
|
|
|
|
and ${criterion.condition}
|
|
|
|
<foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
|
|
|
|
<foreach close=")" collection="criterion.value" item="listItem" open="("
|
|
|
|
|
|
|
|
separator=",">
|
|
|
|
#{listItem}
|
|
|
|
#{listItem}
|
|
|
|
</foreach>
|
|
|
|
</foreach>
|
|
|
|
</when>
|
|
|
|
</when>
|
|
|
@ -87,12 +89,14 @@
|
|
|
|
</where>
|
|
|
|
</where>
|
|
|
|
</sql>
|
|
|
|
</sql>
|
|
|
|
<sql id="Base_Column_List">
|
|
|
|
<sql id="Base_Column_List">
|
|
|
|
stu_client_id, caseid, userid, source, create_time, client_number, proposal_name,
|
|
|
|
stu_client_id
|
|
|
|
|
|
|
|
, caseid, userid, source, create_time, client_number, proposal_name,
|
|
|
|
proposal_number, get_status, get_time, name, namepy, age, year_income, idcard, phone_number,
|
|
|
|
proposal_number, get_status, get_time, name, namepy, age, year_income, idcard, phone_number,
|
|
|
|
job, addr, telephone, email, job_place, manage_money_matters_type, submit_status,
|
|
|
|
job, addr, telephone, email, job_place, manage_money_matters_type, submit_status,
|
|
|
|
use_time, school_id
|
|
|
|
use_time, school_id
|
|
|
|
</sql>
|
|
|
|
</sql>
|
|
|
|
<select id="selectByExample" parameterType="com.sztzjy.money_management.entity.SynthesisPlanClientExample" resultMap="BaseResultMap">
|
|
|
|
<select id="selectByExample" parameterType="com.sztzjy.money_management.entity.SynthesisPlanClientExample"
|
|
|
|
|
|
|
|
resultMap="BaseResultMap">
|
|
|
|
select
|
|
|
|
select
|
|
|
|
<if test="distinct">
|
|
|
|
<if test="distinct">
|
|
|
|
distinct
|
|
|
|
distinct
|
|
|
@ -113,7 +117,8 @@
|
|
|
|
where stu_client_id = #{stuClientId,jdbcType=VARCHAR}
|
|
|
|
where stu_client_id = #{stuClientId,jdbcType=VARCHAR}
|
|
|
|
</select>
|
|
|
|
</select>
|
|
|
|
<delete id="deleteByPrimaryKey" parameterType="java.lang.String">
|
|
|
|
<delete id="deleteByPrimaryKey" parameterType="java.lang.String">
|
|
|
|
delete from synthesis_plan_client
|
|
|
|
delete
|
|
|
|
|
|
|
|
from synthesis_plan_client
|
|
|
|
where stu_client_id = #{stuClientId,jdbcType=VARCHAR}
|
|
|
|
where stu_client_id = #{stuClientId,jdbcType=VARCHAR}
|
|
|
|
</delete>
|
|
|
|
</delete>
|
|
|
|
<delete id="deleteByExample" parameterType="com.sztzjy.money_management.entity.SynthesisPlanClientExample">
|
|
|
|
<delete id="deleteByExample" parameterType="com.sztzjy.money_management.entity.SynthesisPlanClientExample">
|
|
|
@ -299,7 +304,8 @@
|
|
|
|
</if>
|
|
|
|
</if>
|
|
|
|
</trim>
|
|
|
|
</trim>
|
|
|
|
</insert>
|
|
|
|
</insert>
|
|
|
|
<select id="countByExample" parameterType="com.sztzjy.money_management.entity.SynthesisPlanClientExample" resultType="java.lang.Long">
|
|
|
|
<select id="countByExample" parameterType="com.sztzjy.money_management.entity.SynthesisPlanClientExample"
|
|
|
|
|
|
|
|
resultType="java.lang.Long">
|
|
|
|
select count(*) from synthesis_plan_client
|
|
|
|
select count(*) from synthesis_plan_client
|
|
|
|
<if test="_parameter != null">
|
|
|
|
<if test="_parameter != null">
|
|
|
|
<include refid="Example_Where_Clause"/>
|
|
|
|
<include refid="Example_Where_Clause"/>
|
|
|
@ -529,9 +535,10 @@
|
|
|
|
<select id="getPotentialCustomerList" resultMap="BaseResultMap">
|
|
|
|
<select id="getPotentialCustomerList" resultMap="BaseResultMap">
|
|
|
|
SELECT * FROM synthesis_plan_client
|
|
|
|
SELECT * FROM synthesis_plan_client
|
|
|
|
WHERE get_status = 'true'
|
|
|
|
WHERE get_status = 'true'
|
|
|
|
|
|
|
|
AND (submit_status IN ('未提交', '未审核') OR submit_status IS NULL)
|
|
|
|
<if test="keyWord !=null and keyWord !=''">
|
|
|
|
<if test="keyWord !=null and keyWord !=''">
|
|
|
|
AND submit_status is not '已审核'
|
|
|
|
AND
|
|
|
|
AND name LIKE CONCAT ('%',#{keyWord},'%')
|
|
|
|
name LIKE CONCAT ('%',#{keyWord},'%')
|
|
|
|
OR idcard LIKE CONCAT ('%',#{keyWord},'%')
|
|
|
|
OR idcard LIKE CONCAT ('%',#{keyWord},'%')
|
|
|
|
OR client_number LIKE CONCAT ('%',#{keyWord},'%')
|
|
|
|
OR client_number LIKE CONCAT ('%',#{keyWord},'%')
|
|
|
|
</if>
|
|
|
|
</if>
|
|
|
|