|
|
@ -76,7 +76,7 @@ |
|
|
insert into xm_task_sbill_detail( |
|
|
insert into xm_task_sbill_detail( |
|
|
<include refid="columns"/> |
|
|
<include refid="columns"/> |
|
|
) values ( |
|
|
) values ( |
|
|
#{userid},#{username},#{ctime},#{taskId},#{bizDate},#{remark},#{id},#{sbillId},#{stime},#{sstatus},#{amt},#{samt},#{workload},#{projectId},#{sworkload},#{bizMonth},#{budgetAt},#{budgetWorkload},#{initWorkload},#{quoteAt},#{quoteWorkload},#{sschemel},#{uniPrice},#{qendTime},#{qstartTime},#{actEndTime},#{actStartTime},#{oshare},#{shareFee},#{sfee},#{sfeeRate},#{cpId},#{cpName},#{cpType},#{distUserid},#{distUsername},#{shareKey},#{taskOut},#{crowd},#{othFee},#{feeRemark} |
|
|
|
|
|
|
|
|
#{userid},#{username},#{ctime},#{taskId},#{bizDate},#{remark},#{id},#{sbillId},#{stime},#{sstatus},#{amt},#{samt},#{workload},#{projectId},#{sworkload},#{bizMonth},#{budgetAt},#{budgetWorkload},#{initWorkload},#{quoteAt},#{quoteWorkload},#{sschemel},#{uniPrice},#{qendTime},#{qstartTime},#{actEndTime},#{actStartTime},#{oshare},#{shareFee},#{sfee},#{sfeeRate},#{cpId},#{cpName},#{cpType},#{distUserid},#{distUsername},#{shareKey},#{taskOut},#{crowd},#{othFee},#{feeRemark},#{tactAt} |
|
|
) |
|
|
) |
|
|
</insert> |
|
|
</insert> |
|
|
|
|
|
|
|
|
@ -151,7 +151,7 @@ |
|
|
|
|
|
|
|
|
<!--sql片段 列--> |
|
|
<!--sql片段 列--> |
|
|
<sql id="columns"> |
|
|
<sql id="columns"> |
|
|
userid,username,ctime,task_id,biz_date,remark,id,sbill_id,stime,sstatus,amt,samt,workload,project_id,sworkload,biz_month,budget_at,budget_workload,init_workload,quote_at,quote_workload,sschemel,uni_price,qend_time,qstart_time,act_end_time,act_start_time,oshare,share_fee,sfee,sfee_rate,cp_id,cp_name,cp_type,dist_userid,dist_username,share_key,task_out,crowd,oth_fee,fee_remark |
|
|
|
|
|
|
|
|
userid,username,ctime,task_id,biz_date,remark,id,sbill_id,stime,sstatus,amt,samt,workload,project_id,sworkload,biz_month,budget_at,budget_workload,init_workload,quote_at,quote_workload,sschemel,uni_price,qend_time,qstart_time,act_end_time,act_start_time,oshare,share_fee,sfee,sfee_rate,cp_id,cp_name,cp_type,dist_userid,dist_username,share_key,task_out,crowd,oth_fee,fee_remark,tact_at |
|
|
</sql> |
|
|
</sql> |
|
|
|
|
|
|
|
|
<!--sql片段 动态条件 YYYY-MM-DD HH24:MI:SS--> |
|
|
<!--sql片段 动态条件 YYYY-MM-DD HH24:MI:SS--> |
|
|
@ -197,6 +197,7 @@ |
|
|
<if test="crowd != null and crowd != ''"> and res.crowd = #{crowd} </if> |
|
|
<if test="crowd != null and crowd != ''"> and res.crowd = #{crowd} </if> |
|
|
<if test="othFee != null and othFee != ''"> and res.oth_fee = #{othFee} </if> |
|
|
<if test="othFee != null and othFee != ''"> and res.oth_fee = #{othFee} </if> |
|
|
<if test="feeRemark != null and feeRemark != ''"> and res.fee_remark = #{feeRemark} </if> |
|
|
<if test="feeRemark != null and feeRemark != ''"> and res.fee_remark = #{feeRemark} </if> |
|
|
|
|
|
<if test="tactAt != null and tactAt != ''"> and res.tact_at = #{tactAt} </if> |
|
|
</sql> |
|
|
</sql> |
|
|
<!--sql片段 更新字段 --> |
|
|
<!--sql片段 更新字段 --> |
|
|
<sql id="set"> |
|
|
<sql id="set"> |
|
|
@ -239,7 +240,8 @@ |
|
|
task_out = #{taskOut}, |
|
|
task_out = #{taskOut}, |
|
|
crowd = #{crowd}, |
|
|
crowd = #{crowd}, |
|
|
oth_fee = #{othFee}, |
|
|
oth_fee = #{othFee}, |
|
|
fee_remark = #{feeRemark} |
|
|
|
|
|
|
|
|
fee_remark = #{feeRemark}, |
|
|
|
|
|
tact_at = #{tactAt} |
|
|
</sql> |
|
|
</sql> |
|
|
<sql id="someFieldSet"> |
|
|
<sql id="someFieldSet"> |
|
|
<if test="userid != null and userid != ''"> userid = #{userid}, </if> |
|
|
<if test="userid != null and userid != ''"> userid = #{userid}, </if> |
|
|
@ -282,6 +284,7 @@ |
|
|
<if test="crowd != null and crowd != ''"> crowd = #{crowd}, </if> |
|
|
<if test="crowd != null and crowd != ''"> crowd = #{crowd}, </if> |
|
|
<if test="othFee != null and othFee != ''"> oth_fee = #{othFee}, </if> |
|
|
<if test="othFee != null and othFee != ''"> oth_fee = #{othFee}, </if> |
|
|
<if test="feeRemark != null and feeRemark != ''"> fee_remark = #{feeRemark}, </if> |
|
|
<if test="feeRemark != null and feeRemark != ''"> fee_remark = #{feeRemark}, </if> |
|
|
|
|
|
<if test="tactAt != null and tactAt != ''"> tact_at = #{tactAt}, </if> |
|
|
</sql> |
|
|
</sql> |
|
|
<!--sql片段 批量更新 --> |
|
|
<!--sql片段 批量更新 --> |
|
|
<sql id="batchSet"> |
|
|
<sql id="batchSet"> |
|
|
@ -324,6 +327,7 @@ |
|
|
task_out = #{item.taskOut}, |
|
|
task_out = #{item.taskOut}, |
|
|
crowd = #{item.crowd}, |
|
|
crowd = #{item.crowd}, |
|
|
oth_fee = #{item.othFee}, |
|
|
oth_fee = #{item.othFee}, |
|
|
fee_remark = #{item.feeRemark} |
|
|
|
|
|
|
|
|
fee_remark = #{item.feeRemark}, |
|
|
|
|
|
tact_at = #{item.tactAt} |
|
|
</sql> |
|
|
</sql> |
|
|
</mapper> |
|
|
</mapper> |