|
|
@@ -13,6 +13,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<result property="type" column="type" />
|
|
|
<result property="title" column="title" />
|
|
|
<result property="number" column="number" />
|
|
|
+ <result property="money" column="money" />
|
|
|
<result property="balance" column="balance" />
|
|
|
<result property="remark" column="remark" />
|
|
|
<result property="createTime" column="create_time" />
|
|
|
@@ -22,7 +23,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
</resultMap>
|
|
|
|
|
|
<sql id="selectFsUserBillVo">
|
|
|
- select bill_id, user_id, business_id, category, bill_type, type, title, number, balance, remark, create_time, update_time, status,tui_user_id from fs_user_bill
|
|
|
+ select bill_id, user_id, business_id, money,category, bill_type, type, title, number, balance, remark, create_time, update_time, status,tui_user_id from fs_user_bill
|
|
|
</sql>
|
|
|
|
|
|
<select id="selectFsUserBillList" parameterType="FsUserBillScrm" resultMap="FsUserBillResult">
|
|
|
@@ -36,6 +37,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="title != null and title != ''"> and title = #{title}</if>
|
|
|
<if test="number != null "> and number = #{number}</if>
|
|
|
<if test="balance != null "> and balance = #{balance}</if>
|
|
|
+ <if test="money != null "> and money = #{money}</if>
|
|
|
<if test="status != null "> and status = #{status}</if>
|
|
|
<if test="tuiUserId != null "> and tui_user_id = #{tuiUserId}</if>
|
|
|
</where>
|
|
|
@@ -62,6 +64,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="updateTime != null">update_time,</if>
|
|
|
<if test="status != null">status,</if>
|
|
|
<if test="tuiUserId != null">tui_user_id,</if>
|
|
|
+ <if test="money != null">money,</if>
|
|
|
</trim>
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
<if test="userId != null">#{userId},</if>
|
|
|
@@ -77,6 +80,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="updateTime != null">#{updateTime},</if>
|
|
|
<if test="status != null">#{status},</if>
|
|
|
<if test="tuiUserId != null">#{tuiUserId},</if>
|
|
|
+ <if test="money != null">#{money},</if>
|
|
|
</trim>
|
|
|
</insert>
|
|
|
|
|
|
@@ -95,6 +99,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="createTime != null">create_time = #{createTime},</if>
|
|
|
<if test="updateTime != null">update_time = #{updateTime},</if>
|
|
|
<if test="status != null">status = #{status},</if>
|
|
|
+ <if test="money != null">money = #{money},</if>
|
|
|
<if test="tuiUserId != null">tui_user_id = #{tuiUserId},</if>
|
|
|
</trim>
|
|
|
where bill_id = #{id}
|