|
|
|
@ -8,24 +8,25 @@ |
|
|
|
<result column="creator_id" jdbcType="BIGINT" property="creatorId" /> |
|
|
|
<result column="name" jdbcType="VARCHAR" property="name" /> |
|
|
|
<result column="id_no" jdbcType="VARCHAR" property="idNo" /> |
|
|
|
<result column="bank_no" jdbcType="VARCHAR" property="bankNo" /> |
|
|
|
<result column="account_no" jdbcType="VARCHAR" property="accountNo" /> |
|
|
|
<result column="phone" jdbcType="VARCHAR" property="phone" /> |
|
|
|
<result column="type" jdbcType="CHAR" property="type" /> |
|
|
|
<result column="alipay_no" jdbcType="VARCHAR" property="aliPayNo" /> |
|
|
|
<result column="img_url" jdbcType="VARCHAR" property="imgUrl" /> |
|
|
|
<result column="is_show" jdbcType="CHAR" property="isShow" /> |
|
|
|
<result column="is_use" jdbcType="CHAR" property="isUse" /> |
|
|
|
<result column="create_time" jdbcType="TIMESTAMP" property="createTime" /> |
|
|
|
<result column="update_time" jdbcType="TIMESTAMP" property="updateTime" /> |
|
|
|
<result column="sort" jdbcType="INTEGER" property="sort" /> |
|
|
|
</resultMap> |
|
|
|
<sql id="Base_Column_List"> |
|
|
|
<!--@mbg.generated--> |
|
|
|
id, creator_id, `name`, id_no, bank_no, phone,alipay_no,type, create_time, update_time, sort,is_show |
|
|
|
id, creator_id, `name`, id_no, account_no, phone,type, create_time, update_time, sort,is_show,is_use,img_url |
|
|
|
</sql> |
|
|
|
|
|
|
|
<select id="queryListByType" resultType="com.bnyer.common.core.vo.CreatorAccountVo"> |
|
|
|
<select id="queryCreatorAccountByType" resultType="com.bnyer.common.core.vo.CreatorAccountVo"> |
|
|
|
select |
|
|
|
id, creator_id,name,bank_no,alipay_no,type |
|
|
|
id, creator_id,name,account_no,type |
|
|
|
from img_creator_account |
|
|
|
where is_show = '1' and creator_id = #{creatorId} and type = #{type} |
|
|
|
where is_show = '1' and account_no = #{accountNo} and type = #{type} |
|
|
|
</select> |
|
|
|
</mapper> |
|
|
|
|