|
|
@@ -22,10 +22,14 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<result property="userName" column="user_name" />
|
|
|
<result property="companyId" column="company_id" />
|
|
|
<result property="companyName" column="company_name" />
|
|
|
+ <result property="signUrl" column="sign_url" />
|
|
|
+ <result property="type" column="type" />
|
|
|
</resultMap>
|
|
|
|
|
|
<sql id="selectFsProjectRedPacketRecordVo">
|
|
|
- select id, user_id, company_user_id, project_id, amount, out_batch_no, result, batch_id, collect_tag, send_time, collect_time, collect_type, update_time, create_time, user_name, company_id, company_name from fs_project_red_packet_record
|
|
|
+ select id, user_id, company_user_id, project_id, amount, out_batch_no, result, batch_id, collect_tag, send_time, collect_time, collect_type, update_time
|
|
|
+ , create_time, user_name, company_id
|
|
|
+ , company_name ,sign_url, type from fs_project_red_packet_record
|
|
|
</sql>
|
|
|
|
|
|
<select id="selectFsProjectRedPacketRecordList" parameterType="FsProjectRedPacketRecord" resultMap="FsProjectRedPacketRecordResult">
|
|
|
@@ -73,6 +77,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="userName != null">user_name,</if>
|
|
|
<if test="companyId != null">company_id,</if>
|
|
|
<if test="companyName != null">company_name,</if>
|
|
|
+ <if test="signUrl != null">sign_url,</if>
|
|
|
+ <if test="type != null">type,</if>
|
|
|
</trim>
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
<if test="id != null">#{id},</if>
|
|
|
@@ -92,6 +98,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="userName != null">#{userName},</if>
|
|
|
<if test="companyId != null">#{companyId},</if>
|
|
|
<if test="companyName != null">#{companyName},</if>
|
|
|
+ <if test="signUrl != null">#{signUrl},</if>
|
|
|
+ <if test="type != null">#{type},</if>
|
|
|
</trim>
|
|
|
</insert>
|
|
|
|
|
|
@@ -114,6 +122,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="userName != null">user_name = #{userName},</if>
|
|
|
<if test="companyId != null">company_id = #{companyId},</if>
|
|
|
<if test="companyName != null">company_name = #{companyName},</if>
|
|
|
+ <if test="signUrl != null">sign_url = #{signUrl},</if>
|
|
|
+ <if test="type != null">type = #{type},</if>
|
|
|
</trim>
|
|
|
where id = #{id}
|
|
|
</update>
|