|
@@ -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="com.hcloud.microserver.h5.dao.GoodsCredentialInfoMapper">
|
|
|
- <resultMap id="BaseResultMap" type="GoodsCredentialInfo">
|
|
|
+ <resultMap id="BaseResultMap" type="com.hcloud.microserver.h5.facade.carbon.entity.GoodsCredentialInfo">
|
|
|
<id column="guid" jdbcType="CHAR" property="guid" />
|
|
|
<result column="fk_customer_id" jdbcType="CHAR" property="fkCustomerId" />
|
|
|
<result column="fk_order_id" jdbcType="CHAR" property="fkOrderId" />
|
|
@@ -74,7 +74,7 @@
|
|
|
delete from t_goods_credential_info
|
|
|
where guid = #{guid,jdbcType=CHAR}
|
|
|
</delete>
|
|
|
- <insert id="insert" parameterType="GoodsCredentialInfo">
|
|
|
+ <insert id="insert" parameterType="com.hcloud.microserver.h5.facade.carbon.entity.GoodsCredentialInfo">
|
|
|
insert into t_goods_credential_info (guid,fk_customer_id ,fk_order_id, fk_order_detail_id,
|
|
|
credential_no,buy_date, carbon_amount, product_address,
|
|
|
farmer_count, farmer_names, cre_images,
|
|
@@ -86,7 +86,7 @@
|
|
|
#{state,jdbcType=INTEGER}, #{createUser,jdbcType=CHAR}, #{createTime,jdbcType=TIMESTAMP}
|
|
|
)
|
|
|
</insert>
|
|
|
- <insert id="insertSelective" parameterType="GoodsCredentialInfo">
|
|
|
+ <insert id="insertSelective" parameterType="com.hcloud.microserver.h5.facade.carbon.entity.GoodsCredentialInfo">
|
|
|
insert into t_goods_credential_info
|
|
|
<trim prefix="(" suffix=")" suffixOverrides=",">
|
|
|
<if test="guid != null">
|
|
@@ -177,7 +177,7 @@
|
|
|
</if>
|
|
|
</trim>
|
|
|
</insert>
|
|
|
- <update id="updateByPrimaryKeySelective" parameterType="GoodsCredentialInfo">
|
|
|
+ <update id="updateByPrimaryKeySelective" parameterType="com.hcloud.microserver.h5.facade.carbon.entity.GoodsCredentialInfo">
|
|
|
update t_goods_credential_info
|
|
|
<set>
|
|
|
<if test="fkCustomerId!=null">
|
|
@@ -222,7 +222,7 @@
|
|
|
</set>
|
|
|
where guid = #{guid,jdbcType=CHAR}
|
|
|
</update>
|
|
|
- <update id="updateByPrimaryKey" parameterType="GoodsCredentialInfo">
|
|
|
+ <update id="updateByPrimaryKey" parameterType="com.hcloud.microserver.h5.facade.carbon.entity.GoodsCredentialInfo">
|
|
|
update t_goods_credential_info
|
|
|
set fk_customer_id = #{fkCustomerId,jdbcType=CHAR},
|
|
|
fk_order_id = #{fkOrderId,jdbcType=CHAR},
|