|
|
@ -130,7 +130,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},#{menuLink},#{phaseLink},#{tplType} |
|
|
|
|
|
|
|
|
#{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},#{tplType},#{qxCode} |
|
|
) |
|
|
) |
|
|
</insert> |
|
|
</insert> |
|
|
|
|
|
|
|
|
@ -205,7 +205,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,menu_link,phase_link,tpl_type |
|
|
|
|
|
|
|
|
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,tpl_type,qx_code |
|
|
</sql> |
|
|
</sql> |
|
|
|
|
|
|
|
|
<!--sql片段 动态条件 YYYY-MM-DD HH24:MI:SS--> |
|
|
<!--sql片段 动态条件 YYYY-MM-DD HH24:MI:SS--> |
|
|
@ -271,6 +271,7 @@ |
|
|
<if test="menuLink != null and menuLink != ''"> and res.menu_link = #{menuLink} </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> |
|
|
<if test="phaseLink != null and phaseLink != ''"> and res.phase_link = #{phaseLink} </if> |
|
|
<if test="tplType != null and tplType != ''"> and res.tpl_type = #{tplType} </if> |
|
|
<if test="tplType != null and tplType != ''"> and res.tpl_type = #{tplType} </if> |
|
|
|
|
|
<if test="qxCode != null and qxCode != ''"> and res.qx_code = #{qxCode} </if> |
|
|
</sql> |
|
|
</sql> |
|
|
<!--sql片段 更新字段 --> |
|
|
<!--sql片段 更新字段 --> |
|
|
<sql id="set"> |
|
|
<sql id="set"> |
|
|
@ -333,7 +334,8 @@ |
|
|
max_task_amt = #{maxTaskAmt}, |
|
|
max_task_amt = #{maxTaskAmt}, |
|
|
menu_link = #{menuLink}, |
|
|
menu_link = #{menuLink}, |
|
|
phase_link = #{phaseLink}, |
|
|
phase_link = #{phaseLink}, |
|
|
tpl_type = #{tplType} |
|
|
|
|
|
|
|
|
tpl_type = #{tplType}, |
|
|
|
|
|
qx_code = #{qxCode} |
|
|
</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> |
|
|
@ -396,6 +398,7 @@ |
|
|
<if test="menuLink != null and menuLink != ''"> menu_link = #{menuLink}, </if> |
|
|
<if test="menuLink != null and menuLink != ''"> menu_link = #{menuLink}, </if> |
|
|
<if test="phaseLink != null and phaseLink != ''"> phase_link = #{phaseLink}, </if> |
|
|
<if test="phaseLink != null and phaseLink != ''"> phase_link = #{phaseLink}, </if> |
|
|
<if test="tplType != null and tplType != ''"> tpl_type = #{tplType}, </if> |
|
|
<if test="tplType != null and tplType != ''"> tpl_type = #{tplType}, </if> |
|
|
|
|
|
<if test="qxCode != null and qxCode != ''"> qx_code = #{qxCode}, </if> |
|
|
</sql> |
|
|
</sql> |
|
|
<!--sql片段 批量更新 --> |
|
|
<!--sql片段 批量更新 --> |
|
|
<sql id="batchSet"> |
|
|
<sql id="batchSet"> |
|
|
@ -458,6 +461,7 @@ |
|
|
max_task_amt = #{item.maxTaskAmt}, |
|
|
max_task_amt = #{item.maxTaskAmt}, |
|
|
menu_link = #{item.menuLink}, |
|
|
menu_link = #{item.menuLink}, |
|
|
phase_link = #{item.phaseLink}, |
|
|
phase_link = #{item.phaseLink}, |
|
|
tpl_type = #{item.tplType} |
|
|
|
|
|
|
|
|
tpl_type = #{item.tplType}, |
|
|
|
|
|
qx_code = #{item.qxCode} |
|
|
</sql> |
|
|
</sql> |
|
|
</mapper> |
|
|
</mapper> |