|
@@ -1,7 +1,7 @@
|
|
|
<?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="CustomerInfoMapper">
|
|
|
- <resultMap id="BaseResultMap" type="CustomerInfo">
|
|
|
+<mapper namespace="com.hcloud.microserver.system.bank.dao.CustomerInfoMapper">
|
|
|
+ <resultMap id="BaseResultMap" type="com.hcloud.microserver.system.facade.carbon.entity.CustomerInfo">
|
|
|
<id column="guid" jdbcType="CHAR" property="guid" />
|
|
|
<result column="account" jdbcType="VARCHAR" property="account" />
|
|
|
<result column="passwd" jdbcType="VARCHAR" property="passwd" />
|
|
@@ -41,7 +41,7 @@
|
|
|
where guid = #{guid,jdbcType=CHAR}
|
|
|
</select>
|
|
|
<select id="searchCustomerByPage" parameterType="com.hcloud.microserver.commoncore.base.PageBean"
|
|
|
- resultType="CustomerInfoBO">
|
|
|
+ resultType="com.hcloud.microserver.system.bank.bo.CustomerInfoBO">
|
|
|
SELECT
|
|
|
aa.guid,
|
|
|
aa.account AS account,
|
|
@@ -111,7 +111,7 @@
|
|
|
state =1
|
|
|
and (account=#{queryStr,jdbcType=VARCHAR} or phone=#{queryStr,jdbcType=VARCHAR})
|
|
|
</select>
|
|
|
- <select id="getCustomerByThreeCode" resultType="CustomerInfoBO">
|
|
|
+ <select id="getCustomerByThreeCode" resultType="com.hcloud.microserver.system.bank.bo.CustomerInfoBO">
|
|
|
SELECT
|
|
|
aa.guid as guid,
|
|
|
aa.account as account,
|
|
@@ -137,7 +137,7 @@
|
|
|
AND bb.channel_type =#{channel}
|
|
|
AND (bb.channel_keyword_one = #{code} or bb.channel_keyword_two=#{code})
|
|
|
</select>
|
|
|
- <select id="getCustomerStatisticalInfo" resultType="CustomerInfoBO">
|
|
|
+ <select id="getCustomerStatisticalInfo" resultType="com.hcloud.microserver.system.bank.bo.CustomerInfoBO">
|
|
|
SELECT
|
|
|
aa.fk_customer_guid AS customId,
|
|
|
SUM(bb.sale_num) AS carbonAmount,
|
|
@@ -159,7 +159,7 @@
|
|
|
delete from t_customer_info
|
|
|
where guid = #{guid,jdbcType=CHAR}
|
|
|
</delete>
|
|
|
- <insert id="insert" parameterType="CustomerInfo">
|
|
|
+ <insert id="insert" parameterType="com.hcloud.microserver.system.facade.carbon.entity.CustomerInfo">
|
|
|
insert into t_customer_info (guid, account, passwd,
|
|
|
customer_type, customer_name, nick_name,
|
|
|
pid, phone, sex, score,
|
|
@@ -175,7 +175,7 @@
|
|
|
#{createUser,jdbcType=CHAR}, #{createTime,jdbcType=TIMESTAMP}, #{modifiedUser,jdbcType=CHAR},
|
|
|
#{modifiedTime,jdbcType=TIMESTAMP})
|
|
|
</insert>
|
|
|
- <insert id="insertSelective" parameterType="CustomerInfo">
|
|
|
+ <insert id="insertSelective" parameterType="com.hcloud.microserver.system.facade.carbon.entity.CustomerInfo">
|
|
|
insert into t_customer_info
|
|
|
<trim prefix="(" suffix=")" suffixOverrides=",">
|
|
|
<if test="guid != null">
|
|
@@ -308,7 +308,7 @@
|
|
|
</if>
|
|
|
</trim>
|
|
|
</insert>
|
|
|
- <update id="updateByPrimaryKeySelective" parameterType="CustomerInfo">
|
|
|
+ <update id="updateByPrimaryKeySelective" parameterType="com.hcloud.microserver.system.facade.carbon.entity.CustomerInfo">
|
|
|
update t_customer_info
|
|
|
<set>
|
|
|
<if test="account != null">
|
|
@@ -374,7 +374,7 @@
|
|
|
</set>
|
|
|
where guid = #{guid,jdbcType=CHAR}
|
|
|
</update>
|
|
|
- <update id="updateByPrimaryKey" parameterType="CustomerInfo">
|
|
|
+ <update id="updateByPrimaryKey" parameterType="com.hcloud.microserver.system.facade.carbon.entity.CustomerInfo">
|
|
|
update t_customer_info
|
|
|
set account = #{account,jdbcType=VARCHAR},
|
|
|
passwd = #{passwd,jdbcType=VARCHAR},
|