|
|
@ -129,7 +129,7 @@ |
|
|
insert into xm_project( |
|
|
insert into xm_project( |
|
|
<include refid="columns"/> |
|
|
<include refid="columns"/> |
|
|
) values ( |
|
|
) values ( |
|
|
#{id},#{code},#{name},#{xmType},#{startTime},#{endTime},#{urgent},#{priority},#{description},#{createUserid},#{createUsername},#{createTime},#{assess},#{assessRemarks},#{status},#{branchId},#{planTotalCost},#{bizProcInstId},#{bizFlowState},#{planNouserAt},#{planIuserAt},#{planOuserAt},#{locked},#{baseTime},#{baseRemark},#{baselineId},#{planWorkload},#{totalReceivables},#{budgetMarginRate},#{contractAmt},#{planIuserPrice},#{planOuserPrice},#{planOuserCnt},#{planIuserCnt},#{planWorkingHours},#{taxRate},#{planIuserWorkload},#{planOuserWorkload},#{fromTplId},#{budgetCtrl},#{deptid},#{showOut},#{isTpl},#{pmUserid},#{pmUsername},#{assUserid},#{assUsername},#{admUserid},#{admUsername},#{budgetEarly},#{phaseActCtrl},#{del},#{ltime},#{ostatus},#{workType},#{wtype},#{earlyAmt},#{maxTaskAmt} |
|
|
|
|
|
|
|
|
#{id},#{code},#{name},#{xmType},#{startTime},#{endTime},#{urgent},#{priority},#{description},#{createUserid},#{createUsername},#{createTime},#{assess},#{assessRemarks},#{status},#{branchId},#{planTotalCost},#{bizProcInstId},#{bizFlowState},#{planNouserAt},#{planIuserAt},#{planOuserAt},#{locked},#{baseTime},#{baseRemark},#{baselineId},#{planWorkload},#{totalReceivables},#{budgetMarginRate},#{contractAmt},#{planIuserPrice},#{planOuserPrice},#{planOuserCnt},#{planIuserCnt},#{planWorkingHours},#{taxRate},#{planIuserWorkload},#{planOuserWorkload},#{fromTplId},#{budgetCtrl},#{deptid},#{showOut},#{isTpl},#{pmUserid},#{pmUsername},#{assUserid},#{assUsername},#{admUserid},#{admUsername},#{budgetEarly},#{phaseActCtrl},#{del},#{ltime},#{ostatus},#{workType},#{wtype},#{earlyAmt},#{maxTaskAmt},#{menuLink},#{phaseLink} |
|
|
) |
|
|
) |
|
|
</insert> |
|
|
</insert> |
|
|
|
|
|
|
|
|
@ -204,7 +204,7 @@ |
|
|
|
|
|
|
|
|
<!--sql片段 列--> |
|
|
<!--sql片段 列--> |
|
|
<sql id="columns"> |
|
|
<sql id="columns"> |
|
|
id,code,name,xm_type,start_time,end_time,urgent,priority,description,create_userid,create_username,create_time,assess,assess_remarks,status,branch_id,plan_total_cost,biz_proc_inst_id,biz_flow_state,plan_nouser_at,plan_iuser_at,plan_ouser_at,locked,base_time,base_remark,baseline_id,plan_workload,total_receivables,budget_margin_rate,contract_amt,plan_iuser_price,plan_ouser_price,plan_ouser_cnt,plan_iuser_cnt,plan_working_hours,tax_rate,plan_iuser_workload,plan_ouser_workload,from_tpl_id,budget_ctrl,deptid,show_out,is_tpl,pm_userid,pm_username,ass_userid,ass_username,adm_userid,adm_username,budget_early,phase_act_ctrl,del,ltime,ostatus,work_type,wtype,early_amt,max_task_amt |
|
|
|
|
|
|
|
|
id,code,name,xm_type,start_time,end_time,urgent,priority,description,create_userid,create_username,create_time,assess,assess_remarks,status,branch_id,plan_total_cost,biz_proc_inst_id,biz_flow_state,plan_nouser_at,plan_iuser_at,plan_ouser_at,locked,base_time,base_remark,baseline_id,plan_workload,total_receivables,budget_margin_rate,contract_amt,plan_iuser_price,plan_ouser_price,plan_ouser_cnt,plan_iuser_cnt,plan_working_hours,tax_rate,plan_iuser_workload,plan_ouser_workload,from_tpl_id,budget_ctrl,deptid,show_out,is_tpl,pm_userid,pm_username,ass_userid,ass_username,adm_userid,adm_username,budget_early,phase_act_ctrl,del,ltime,ostatus,work_type,wtype,early_amt,max_task_amt,menu_link,phase_link |
|
|
</sql> |
|
|
</sql> |
|
|
|
|
|
|
|
|
<!--sql片段 动态条件 YYYY-MM-DD HH24:MI:SS--> |
|
|
<!--sql片段 动态条件 YYYY-MM-DD HH24:MI:SS--> |
|
|
@ -267,6 +267,8 @@ |
|
|
<if test="wtype != null and wtype != ''"> and res.wtype = #{wtype} </if> |
|
|
<if test="wtype != null and wtype != ''"> and res.wtype = #{wtype} </if> |
|
|
<if test="earlyAmt != null and earlyAmt != ''"> and res.early_amt = #{earlyAmt} </if> |
|
|
<if test="earlyAmt != null and earlyAmt != ''"> and res.early_amt = #{earlyAmt} </if> |
|
|
<if test="maxTaskAmt != null and maxTaskAmt != ''"> and res.max_task_amt = #{maxTaskAmt} </if> |
|
|
<if test="maxTaskAmt != null and maxTaskAmt != ''"> and res.max_task_amt = #{maxTaskAmt} </if> |
|
|
|
|
|
<if test="menuLink != null and menuLink != ''"> and res.menu_link = #{menuLink} </if> |
|
|
|
|
|
<if test="phaseLink != null and phaseLink != ''"> and res.phase_link = #{phaseLink} </if> |
|
|
</sql> |
|
|
</sql> |
|
|
<!--sql片段 更新字段 --> |
|
|
<!--sql片段 更新字段 --> |
|
|
<sql id="set"> |
|
|
<sql id="set"> |
|
|
@ -326,7 +328,9 @@ |
|
|
work_type = #{workType}, |
|
|
work_type = #{workType}, |
|
|
wtype = #{wtype}, |
|
|
wtype = #{wtype}, |
|
|
early_amt = #{earlyAmt}, |
|
|
early_amt = #{earlyAmt}, |
|
|
max_task_amt = #{maxTaskAmt} |
|
|
|
|
|
|
|
|
max_task_amt = #{maxTaskAmt}, |
|
|
|
|
|
menu_link = #{menuLink}, |
|
|
|
|
|
phase_link = #{phaseLink} |
|
|
</sql> |
|
|
</sql> |
|
|
<sql id="someFieldSet"> |
|
|
<sql id="someFieldSet"> |
|
|
<if test="code != null and code != ''"> code = #{code}, </if> |
|
|
<if test="code != null and code != ''"> code = #{code}, </if> |
|
|
@ -386,6 +390,8 @@ |
|
|
<if test="wtype != null and wtype != ''"> wtype = #{wtype}, </if> |
|
|
<if test="wtype != null and wtype != ''"> wtype = #{wtype}, </if> |
|
|
<if test="earlyAmt != null and earlyAmt != ''"> early_amt = #{earlyAmt}, </if> |
|
|
<if test="earlyAmt != null and earlyAmt != ''"> early_amt = #{earlyAmt}, </if> |
|
|
<if test="maxTaskAmt != null and maxTaskAmt != ''"> max_task_amt = #{maxTaskAmt}, </if> |
|
|
<if test="maxTaskAmt != null and maxTaskAmt != ''"> max_task_amt = #{maxTaskAmt}, </if> |
|
|
|
|
|
<if test="menuLink != null and menuLink != ''"> menu_link = #{menuLink}, </if> |
|
|
|
|
|
<if test="phaseLink != null and phaseLink != ''"> phase_link = #{phaseLink}, </if> |
|
|
</sql> |
|
|
</sql> |
|
|
<!--sql片段 批量更新 --> |
|
|
<!--sql片段 批量更新 --> |
|
|
<sql id="batchSet"> |
|
|
<sql id="batchSet"> |
|
|
@ -445,6 +451,8 @@ |
|
|
work_type = #{item.workType}, |
|
|
work_type = #{item.workType}, |
|
|
wtype = #{item.wtype}, |
|
|
wtype = #{item.wtype}, |
|
|
early_amt = #{item.earlyAmt}, |
|
|
early_amt = #{item.earlyAmt}, |
|
|
max_task_amt = #{item.maxTaskAmt} |
|
|
|
|
|
|
|
|
max_task_amt = #{item.maxTaskAmt}, |
|
|
|
|
|
menu_link = #{item.menuLink}, |
|
|
|
|
|
phase_link = #{item.phaseLink} |
|
|
</sql> |
|
|
</sql> |
|
|
</mapper> |
|
|
</mapper> |