|
|
|
@ -18,6 +18,7 @@
|
|
|
|
|
<result property="ageLimitStart" column="age_limit_start" />
|
|
|
|
|
<result property="ageLimitEnd" column="age_limit_end" />
|
|
|
|
|
<result property="phoneLimit" column="phone_limit" />
|
|
|
|
|
<result property="label" column="label" />
|
|
|
|
|
<result property="socialSecurityNo" column="social_security_no" />
|
|
|
|
|
<result property="socialSecurityLow" column="social_security_low" />
|
|
|
|
|
<result property="socialSecurityHigh" column="social_security_high" />
|
|
|
|
@ -59,7 +60,7 @@
|
|
|
|
|
<result property="merchantName" column="merchant_name" />
|
|
|
|
|
</resultMap>
|
|
|
|
|
<sql id="selectMerchantVo">
|
|
|
|
|
select id, merchant_type, merchant_name, merchant_describe, merchant_company, logo, status, limit_num, limit_type, channel_limit_type, age_limit_start, age_limit_end, phone_limit, social_security_no, social_security_low, social_security_high, car_no, car_have, guarantee_slip_low, guarantee_slip_centre, guarantee_slip_high, education_middle, education_high_school, education_polytechnic, education_junior_college, education_undergraduate_course, education_postgraduate, accumulation_fund_low, accumulation_fund_high, hourse_no, hourse_full_payment, hourse_mortgaging, office_worker, civil_servant, private_property_owners, self_employed_person, other_occupations, hua_bei_low, hua_bei_middle, hua_bei_high, bai_tiao_low, bai_tiao_middle, bai_tiao_high, zhi_ma, create_time, update_time, remark from merchant
|
|
|
|
|
select id, merchant_type, merchant_name, merchant_describe, merchant_company, logo, status, limit_num, limit_type, channel_limit_type, age_limit_start, age_limit_end, phone_limit,label, social_security_no, social_security_low, social_security_high, car_no, car_have, guarantee_slip_low, guarantee_slip_centre, guarantee_slip_high, education_middle, education_high_school, education_polytechnic, education_junior_college, education_undergraduate_course, education_postgraduate, accumulation_fund_low, accumulation_fund_high, hourse_no, hourse_full_payment, hourse_mortgaging, office_worker, civil_servant, private_property_owners, self_employed_person, other_occupations, hua_bei_low, hua_bei_middle, hua_bei_high, bai_tiao_low, bai_tiao_middle, bai_tiao_high, zhi_ma, create_time, update_time, remark from merchant
|
|
|
|
|
</sql>
|
|
|
|
|
<sql id="findAllMerchant">
|
|
|
|
|
select id, merchant_name from merchant
|
|
|
|
@ -80,6 +81,7 @@
|
|
|
|
|
<if test="ageLimitStart != null "> and age_limit_start = #{ageLimitStart}</if>
|
|
|
|
|
<if test="ageLimitEnd != null "> and age_limit_end = #{ageLimitEnd}</if>
|
|
|
|
|
<if test="phoneLimit != null and phoneLimit != ''"> and phone_limit = #{phoneLimit}</if>
|
|
|
|
|
<if test="label != null and label != ''"> and label = #{label}</if>
|
|
|
|
|
<if test="socialSecurityNo != null "> and social_security_no = #{socialSecurityNo}</if>
|
|
|
|
|
<if test="socialSecurityLow != null "> and social_security_low = #{socialSecurityLow}</if>
|
|
|
|
|
<if test="socialSecurityHigh != null "> and social_security_high = #{socialSecurityHigh}</if>
|
|
|
|
@ -134,6 +136,7 @@
|
|
|
|
|
<if test="ageLimitStart != null">age_limit_start,</if>
|
|
|
|
|
<if test="ageLimitEnd != null">age_limit_end,</if>
|
|
|
|
|
<if test="phoneLimit != null">phone_limit,</if>
|
|
|
|
|
<if test="label != null">label,</if>
|
|
|
|
|
<if test="socialSecurityNo != null">social_security_no,</if>
|
|
|
|
|
<if test="socialSecurityLow != null">social_security_low,</if>
|
|
|
|
|
<if test="socialSecurityHigh != null">social_security_high,</if>
|
|
|
|
@ -182,6 +185,7 @@
|
|
|
|
|
<if test="ageLimitStart != null">#{ageLimitStart},</if>
|
|
|
|
|
<if test="ageLimitEnd != null">#{ageLimitEnd},</if>
|
|
|
|
|
<if test="phoneLimit != null">#{phoneLimit},</if>
|
|
|
|
|
<if test="label != null">#{label},</if>
|
|
|
|
|
<if test="socialSecurityNo != null">#{socialSecurityNo},</if>
|
|
|
|
|
<if test="socialSecurityLow != null">#{socialSecurityLow},</if>
|
|
|
|
|
<if test="socialSecurityHigh != null">#{socialSecurityHigh},</if>
|
|
|
|
@ -234,6 +238,7 @@
|
|
|
|
|
<if test="ageLimitStart != null">age_limit_start = #{ageLimitStart},</if>
|
|
|
|
|
<if test="ageLimitEnd != null">age_limit_end = #{ageLimitEnd},</if>
|
|
|
|
|
<if test="phoneLimit != null">phone_limit = #{phoneLimit},</if>
|
|
|
|
|
<if test="label != null">label = #{label},</if>
|
|
|
|
|
<if test="socialSecurityNo != null">social_security_no = #{socialSecurityNo},</if>
|
|
|
|
|
<if test="socialSecurityLow != null">social_security_low = #{socialSecurityLow},</if>
|
|
|
|
|
<if test="socialSecurityHigh != null">social_security_high = #{socialSecurityHigh},</if>
|
|
|
|
|