| | |
| | | <result property="registerDate" column="register_date" /> |
| | | <result property="licenseValidPeriod" column="license_valid_period" /> |
| | | <result property="licenseImage" column="license_image" /> |
| | | <result property="licenseValidType" column="license_valid_type" /> |
| | | <result property="legalIdCardFront" column="legal_id_card_front" /> |
| | | <result property="legalIdCardBack" column="legal_id_card_back" /> |
| | | <result property="legalIdValidType" column="legal_id_valid_type" /> |
| | | <result property="legalIdValidPeriod" column="legal_id_valid_period"/> |
| | | <result property="legalIdAddress" column="legal_id_address" /> |
| | | <result property="contactName" column="contact_name" /> |
| | | <result property="contactPhone" column="contact_phone" /> |
| | | <result property="contactEmail" column="contact_email" /> |
| | | <result property="payeeType" column="payee_type" /> |
| | | <result property="bankCardImage" column="bank_card_image" /> |
| | | <result property="bankCardNo" column="bank_card_no" /> |
| | | <result property="bankCity" column="bank_city" /> |
| | | <result property="delFlag" column="del_flag" /> |
| | | <result property="createBy" column="create_by" /> |
| | | <result property="createTime" column="create_time" /> |
| | |
| | | <sql id="selectCertificationVo"> |
| | | select id, user_id, real_name, id_card, company_name, credit_code, legal_person, |
| | | registered_region, company_address, register_date, license_valid_period, license_image, |
| | | license_valid_type, legal_id_card_front, legal_id_card_back, legal_id_valid_type, |
| | | legal_id_valid_period, legal_id_address, contact_name, contact_phone, contact_email, |
| | | payee_type, bank_card_image, bank_card_no, bank_city, |
| | | del_flag, create_by, create_time, update_by, update_time, remark |
| | | from account_certification |
| | | </sql> |
| | |
| | | <if test="registerDate != null">register_date,</if> |
| | | <if test="licenseValidPeriod != null">license_valid_period,</if> |
| | | <if test="licenseImage != null">license_image,</if> |
| | | <if test="licenseValidType != null">license_valid_type,</if> |
| | | <if test="legalIdCardFront != null">legal_id_card_front,</if> |
| | | <if test="legalIdCardBack != null">legal_id_card_back,</if> |
| | | <if test="legalIdValidType != null">legal_id_valid_type,</if> |
| | | <if test="legalIdValidPeriod != null">legal_id_valid_period,</if> |
| | | <if test="legalIdAddress != null">legal_id_address,</if> |
| | | <if test="contactName != null">contact_name,</if> |
| | | <if test="contactPhone != null">contact_phone,</if> |
| | | <if test="contactEmail != null">contact_email,</if> |
| | | <if test="payeeType != null">payee_type,</if> |
| | | <if test="bankCardImage != null">bank_card_image,</if> |
| | | <if test="bankCardNo != null">bank_card_no,</if> |
| | | <if test="bankCity != null">bank_city,</if> |
| | | <if test="remark != null">remark,</if> |
| | | <if test="createBy != null and createBy != ''">create_by,</if> |
| | | create_time |
| | |
| | | <if test="registerDate != null">#{registerDate},</if> |
| | | <if test="licenseValidPeriod != null">#{licenseValidPeriod},</if> |
| | | <if test="licenseImage != null">#{licenseImage},</if> |
| | | <if test="licenseValidType != null">#{licenseValidType},</if> |
| | | <if test="legalIdCardFront != null">#{legalIdCardFront},</if> |
| | | <if test="legalIdCardBack != null">#{legalIdCardBack},</if> |
| | | <if test="legalIdValidType != null">#{legalIdValidType},</if> |
| | | <if test="legalIdValidPeriod != null">#{legalIdValidPeriod},</if> |
| | | <if test="legalIdAddress != null">#{legalIdAddress},</if> |
| | | <if test="contactName != null">#{contactName},</if> |
| | | <if test="contactPhone != null">#{contactPhone},</if> |
| | | <if test="contactEmail != null">#{contactEmail},</if> |
| | | <if test="payeeType != null">#{payeeType},</if> |
| | | <if test="bankCardImage != null">#{bankCardImage},</if> |
| | | <if test="bankCardNo != null">#{bankCardNo},</if> |
| | | <if test="bankCity != null">#{bankCity},</if> |
| | | <if test="remark != null">#{remark},</if> |
| | | <if test="createBy != null and createBy != ''">#{createBy},</if> |
| | | sysdate() |
| | |
| | | <if test="registerDate != null">register_date = #{registerDate},</if> |
| | | <if test="licenseValidPeriod != null">license_valid_period = #{licenseValidPeriod},</if> |
| | | <if test="licenseImage != null">license_image = #{licenseImage},</if> |
| | | <if test="licenseValidType != null">license_valid_type = #{licenseValidType},</if> |
| | | <if test="legalIdCardFront != null">legal_id_card_front = #{legalIdCardFront},</if> |
| | | <if test="legalIdCardBack != null">legal_id_card_back = #{legalIdCardBack},</if> |
| | | <if test="legalIdValidType != null">legal_id_valid_type = #{legalIdValidType},</if> |
| | | <if test="legalIdValidPeriod != null">legal_id_valid_period = #{legalIdValidPeriod},</if> |
| | | <if test="legalIdAddress != null">legal_id_address = #{legalIdAddress},</if> |
| | | <if test="contactName != null">contact_name = #{contactName},</if> |
| | | <if test="contactPhone != null">contact_phone = #{contactPhone},</if> |
| | | <if test="contactEmail != null">contact_email = #{contactEmail},</if> |
| | | <if test="payeeType != null">payee_type = #{payeeType},</if> |
| | | <if test="bankCardImage != null">bank_card_image = #{bankCardImage},</if> |
| | | <if test="bankCardNo != null">bank_card_no = #{bankCardNo},</if> |
| | | <if test="bankCity != null">bank_city = #{bankCity},</if> |
| | | <if test="remark != null">remark = #{remark},</if> |
| | | <if test="updateBy != null and updateBy != ''">update_by = #{updateBy},</if> |
| | | update_time = sysdate() |