|
|
@ -67,7 +67,7 @@ |
|
|
insert into xm_task_order( |
|
|
insert into xm_task_order( |
|
|
<include refid="columns"/> |
|
|
<include refid="columns"/> |
|
|
) values ( |
|
|
) values ( |
|
|
#{ouserid},#{obranchId},#{ostatus},#{ctime},#{ltime},#{payType},#{payStatus},#{payTime},#{prepayId},#{id},#{finalFee},#{othFee},#{originFee},#{payAt},#{payAuthId},#{payOpenid},#{payUserid},#{payUsername},#{discount},#{topFee},#{topStime},#{topEtime},#{hotFee},#{hotStime},#{hotEtime},#{top},#{hot},#{crmSupFee},#{urgentFee},#{urgent},#{crmSup},#{efunds},#{estate},#{etoPlatTime},#{etoDevTime},#{ebackTime},#{taskId},#{topDays},#{hotDays},#{urgentDays},#{urgentStime},#{urgentEtime},#{calcStatus},#{calcTime},#{oshare},#{shareFee},#{payId},#{tranId} |
|
|
|
|
|
|
|
|
#{ouserid},#{obranchId},#{ostatus},#{ctime},#{ltime},#{payType},#{payStatus},#{payTime},#{prepayId},#{id},#{finalFee},#{othFee},#{originFee},#{payAt},#{payAuthId},#{payOpenid},#{payUserid},#{payUsername},#{discount},#{topFee},#{topStime},#{topEtime},#{hotFee},#{hotStime},#{hotEtime},#{top},#{hot},#{crmSupFee},#{urgentFee},#{urgent},#{crmSup},#{efunds},#{estate},#{etoPlatTime},#{etoDevTime},#{ebackTime},#{taskId},#{topDays},#{hotDays},#{urgentDays},#{urgentStime},#{urgentEtime},#{calcStatus},#{calcTime},#{oshare},#{shareFee},#{payId},#{tranId},#{remark},#{name} |
|
|
) |
|
|
) |
|
|
</insert> |
|
|
</insert> |
|
|
|
|
|
|
|
|
@ -142,7 +142,7 @@ |
|
|
|
|
|
|
|
|
<!--sql片段 列--> |
|
|
<!--sql片段 列--> |
|
|
<sql id="columns"> |
|
|
<sql id="columns"> |
|
|
ouserid,obranch_id,ostatus,ctime,ltime,pay_type,pay_status,pay_time,prepay_id,id,final_fee,oth_fee,origin_fee,pay_at,pay_auth_id,pay_openid,pay_userid,pay_username,discount,top_fee,top_stime,top_etime,hot_fee,hot_stime,hot_etime,top,hot,crm_sup_fee,urgent_fee,urgent,crm_sup,efunds,estate,eto_plat_time,eto_dev_time,eback_time,task_id,top_days,hot_days,urgent_days,urgent_stime,urgent_etime,calc_status,calc_time,oshare,share_fee,pay_id,tran_id |
|
|
|
|
|
|
|
|
ouserid,obranch_id,ostatus,ctime,ltime,pay_type,pay_status,pay_time,prepay_id,id,final_fee,oth_fee,origin_fee,pay_at,pay_auth_id,pay_openid,pay_userid,pay_username,discount,top_fee,top_stime,top_etime,hot_fee,hot_stime,hot_etime,top,hot,crm_sup_fee,urgent_fee,urgent,crm_sup,efunds,estate,eto_plat_time,eto_dev_time,eback_time,task_id,top_days,hot_days,urgent_days,urgent_stime,urgent_etime,calc_status,calc_time,oshare,share_fee,pay_id,tran_id,remark,name |
|
|
</sql> |
|
|
</sql> |
|
|
|
|
|
|
|
|
<!--sql片段 动态条件 YYYY-MM-DD HH24:MI:SS--> |
|
|
<!--sql片段 动态条件 YYYY-MM-DD HH24:MI:SS--> |
|
|
@ -195,6 +195,8 @@ |
|
|
<if test="shareFee != null and shareFee != ''"> and res.share_fee = #{shareFee} </if> |
|
|
<if test="shareFee != null and shareFee != ''"> and res.share_fee = #{shareFee} </if> |
|
|
<if test="payId != null and payId != ''"> and res.pay_id = #{payId} </if> |
|
|
<if test="payId != null and payId != ''"> and res.pay_id = #{payId} </if> |
|
|
<if test="tranId != null and tranId != ''"> and res.tran_id = #{tranId} </if> |
|
|
<if test="tranId != null and tranId != ''"> and res.tran_id = #{tranId} </if> |
|
|
|
|
|
<if test="remark != null and remark != ''"> and res.remark = #{remark} </if> |
|
|
|
|
|
<if test="name != null and name != ''"> and res.name = #{name} </if> |
|
|
</sql> |
|
|
</sql> |
|
|
<!--sql片段 更新字段 --> |
|
|
<!--sql片段 更新字段 --> |
|
|
<sql id="set"> |
|
|
<sql id="set"> |
|
|
@ -244,7 +246,9 @@ |
|
|
oshare = #{oshare}, |
|
|
oshare = #{oshare}, |
|
|
share_fee = #{shareFee}, |
|
|
share_fee = #{shareFee}, |
|
|
pay_id = #{payId}, |
|
|
pay_id = #{payId}, |
|
|
tran_id = #{tranId} |
|
|
|
|
|
|
|
|
tran_id = #{tranId}, |
|
|
|
|
|
remark = #{remark}, |
|
|
|
|
|
name = #{name} |
|
|
</sql> |
|
|
</sql> |
|
|
<sql id="someFieldSet"> |
|
|
<sql id="someFieldSet"> |
|
|
<if test="ouserid != null and ouserid != ''"> ouserid = #{ouserid}, </if> |
|
|
<if test="ouserid != null and ouserid != ''"> ouserid = #{ouserid}, </if> |
|
|
@ -294,6 +298,8 @@ |
|
|
<if test="shareFee != null and shareFee != ''"> share_fee = #{shareFee}, </if> |
|
|
<if test="shareFee != null and shareFee != ''"> share_fee = #{shareFee}, </if> |
|
|
<if test="payId != null and payId != ''"> pay_id = #{payId}, </if> |
|
|
<if test="payId != null and payId != ''"> pay_id = #{payId}, </if> |
|
|
<if test="tranId != null and tranId != ''"> tran_id = #{tranId}, </if> |
|
|
<if test="tranId != null and tranId != ''"> tran_id = #{tranId}, </if> |
|
|
|
|
|
<if test="remark != null and remark != ''"> remark = #{remark}, </if> |
|
|
|
|
|
<if test="name != null and name != ''"> name = #{name}, </if> |
|
|
</sql> |
|
|
</sql> |
|
|
<!--sql片段 批量更新 --> |
|
|
<!--sql片段 批量更新 --> |
|
|
<sql id="batchSet"> |
|
|
<sql id="batchSet"> |
|
|
@ -343,6 +349,8 @@ |
|
|
oshare = #{item.oshare}, |
|
|
oshare = #{item.oshare}, |
|
|
share_fee = #{item.shareFee}, |
|
|
share_fee = #{item.shareFee}, |
|
|
pay_id = #{item.payId}, |
|
|
pay_id = #{item.payId}, |
|
|
tran_id = #{item.tranId} |
|
|
|
|
|
|
|
|
tran_id = #{item.tranId}, |
|
|
|
|
|
remark = #{item.remark}, |
|
|
|
|
|
name = #{item.name} |
|
|
</sql> |
|
|
</sql> |
|
|
</mapper> |
|
|
</mapper> |