63 lines
3.1 KiB
XML
63 lines
3.1 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
|
<mapper namespace="com.metalloop.modules.auth.mapper.SysEnterpriseMapper">
|
|
<resultMap id="BaseResultMap" type="com.metalloop.modules.auth.model.po.SysEnterprise">
|
|
<!--@mbg.generated-->
|
|
<!--@Table sys_enterprise-->
|
|
<id column="id" jdbcType="INTEGER" property="id"/>
|
|
<result column="enterprise_name" jdbcType="VARCHAR" property="enterpriseName"/>
|
|
<result column="enterprise_address" jdbcType="VARCHAR" property="enterpriseAddress"/>
|
|
<result column="warehouse_address" jdbcType="VARCHAR" property="warehouseAddress"/>
|
|
<result column="contact_person" jdbcType="VARCHAR" property="contactPerson"/>
|
|
<result column="legal_person" jdbcType="VARCHAR" property="legalPerson"/>
|
|
<result column="phone1" jdbcType="VARCHAR" property="phone1"/>
|
|
<result column="phone2" jdbcType="VARCHAR" property="phone2"/>
|
|
<result column="phone3" jdbcType="VARCHAR" property="phone3"/>
|
|
<result column="business_model" jdbcType="VARCHAR" property="businessModel"/>
|
|
<result column="profile_intro" jdbcType="VARCHAR" property="profileIntro"/>
|
|
<result column="title_img_url" jdbcType="VARCHAR" property="titleImgUrl"/>
|
|
<result column="intro_img_url" jdbcType="VARCHAR" property="introImgUrl"/>
|
|
<result column="business_license_url" jdbcType="VARCHAR" property="businessLicenseUrl"/>
|
|
<result column="legal_id_front_url" jdbcType="VARCHAR" property="legalIdFrontUrl"/>
|
|
<result column="legal_id_back_url" jdbcType="VARCHAR" property="legalIdBackUrl"/>
|
|
<result column="ocr_credit_code_id" jdbcType="VARCHAR" property="ocrCreditCodeId"/>
|
|
<result column="id_card_number" jdbcType="VARCHAR" property="idCardNumber"/>
|
|
<result column="credit_limit" jdbcType="DECIMAL" property="creditLimit"/>
|
|
<result column="audit_status" jdbcType="TINYINT" property="auditStatus"/>
|
|
<result column="submit_time" jdbcType="TIMESTAMP" property="submitTime"/>
|
|
<result column="audit_time" jdbcType="TIMESTAMP" property="auditTime"/>
|
|
<result column="reject_reason" jdbcType="VARCHAR" property="rejectReason"/>
|
|
<result column="created_at" jdbcType="TIMESTAMP" property="createdAt"/>
|
|
<result column="updated_at" jdbcType="TIMESTAMP" property="updatedAt"/>
|
|
</resultMap>
|
|
<sql id="Base_Column_List">
|
|
<!--@mbg.generated-->
|
|
<!--@Table sys_enterprise-->
|
|
id,
|
|
enterprise_name,
|
|
enterprise_address,
|
|
warehouse_address,
|
|
contact_person,
|
|
legal_person,
|
|
phone1,
|
|
phone2,
|
|
phone3,
|
|
business_model,
|
|
profile_intro,
|
|
title_img_url,
|
|
intro_img_url,
|
|
business_license_url,
|
|
legal_id_front_url,
|
|
legal_id_back_url,
|
|
ocr_credit_code_id,
|
|
id_card_number,
|
|
credit_limit,
|
|
audit_status,
|
|
submit_time,
|
|
audit_time,
|
|
reject_reason,
|
|
created_at,
|
|
updated_at
|
|
</sql>
|
|
</mapper>
|