@ -48,7 +48,13 @@
where
where
res.project_id = #{projectId}
res.project_id = #{projectId}
</select>
</select>
<select id= "selectListByIds" parameterType= "List" resultType= "com.xm.core.entity.XmProjectState" >
select * from xm_project_state res
where (res.project_id) in
<foreach collection= "list" item= "item" index= "index" open= "(" separator= "," close= ")" >
( #{item})
</foreach>
</select>
<!-- 通过主键查询获取数据对象 返回map -->
<!-- 通过主键查询获取数据对象 返回map -->
<select id= "selectOneMap" parameterType= "HashMap" resultType= "HashMap" >
<select id= "selectOneMap" parameterType= "HashMap" resultType= "HashMap" >
select * from xm_project_state res
select * from xm_project_state res
@ -67,7 +73,7 @@
insert into xm_project_state(
insert into xm_project_state(
<include refid= "columns" />
<include refid= "columns" />
) values (
) values (
#{projectId},#{bizDate},#{totalFileCnt},#{totalBugCnt},#{totalTaskCnt},#{totalBudgetNouserAmount},#{projectName},#{totalStaffCnt},#{calcTime},#{calcStatus},#{totalCostNouserAmount},#{totalClosedBugCnt},#{totalResolvedBugCnt},#{totalCompleteTaskCnt},#{totalPhaseCnt},#{totalCompletePhaseCnt},#{totalNeedPayAmount},#{totalFinishPayAmount},#{totalNeedColAmount},#{totalFinishColAmount},#{totalCostUserAmount},#{totalBudgetInnerU serAmount},#{totalPlanWorkload},#{totalRiskCnt},#{totalCompleteRiskCnt},#{branchId},#{branchName},#{totalBudgetOutUserAmount},#{totalCompleteWorkload},#{totalCostInnerUserAmount},#{totalCostOutU serAmount},#{totalProgress},#{totalActiveBugCnt},#{totalConfirmedBugCnt},#{projectStatus},#{totalActWorkload},#{totalActOutWorkload},#{totalActInnerWorkload},#{totalTaskBudgetCostAt},#{totalTaskOutCnt},#{totalNeedPayCnt},#{totalFinishPayCnt},#{totalFinishPayUserCnt},#{totalNeedPayUserCnt},#{totalPlanInnerUserWorkload},#{totalPlanOutU serWorkload},#{testCases},#{execCases},#{designCases},#{finishCases},#{iterationCnt},#{productCnt},#{menuCnt}
#{projectId},#{bizDate},#{totalFileCnt},#{totalBugCnt},#{totalTaskCnt},#{totalBudgetNouserAmount},#{projectName},#{totalStaffCnt},#{calcTime},#{calcStatus},#{totalCostNouserAmount},#{totalClosedBugCnt},#{totalResolvedBugCnt},#{totalCompleteTaskCnt},#{totalPhaseCnt},#{totalCompletePhaseCnt},#{totalNeedPayAmount},#{totalFinishPayAmount},#{totalNeedColAmount},#{totalFinishColAmount},#{totalCostUserAmount},#{totalBudgetIu serAmount},#{totalPlanWorkload},#{totalRiskCnt},#{totalCompleteRiskCnt},#{branchId},#{branchName},#{totalBudgetOuserAmount},#{totalCompleteWorkload},#{totalCostIuserAmount},#{totalCostOu serAmount},#{totalProgress},#{totalActiveBugCnt},#{totalConfirmedBugCnt},#{projectStatus},#{totalActWorkload},#{totalActOutWorkload},#{totalActInnerWorkload},#{totalTaskBudgetCostAt},#{totalTaskOutCnt},#{totalNeedPayCnt},#{totalFinishPayCnt},#{totalFinishPayUserCnt},#{totalNeedPayUserCnt},#{totalPlanIuserWorkload},#{totalPlanOu serWorkload},#{testCases},#{execCases},#{designCases},#{finishCases},#{iterationCnt},#{productCnt},#{menuCnt},#{finishMenuCnt},#{estimateWorkload},#{execTaskCnt},#{toStartTaskCnt},#{execMenuCnt},#{toStartMenuCnt}
)
)
</insert>
</insert>
@ -130,7 +136,7 @@
<!-- sql片段 列 -->
<!-- sql片段 列 -->
<sql id= "columns" >
<sql id= "columns" >
project_id,biz_date,total_file_cnt,total_bug_cnt,total_task_cnt,total_budget_nouser_amount,project_name,total_staff_cnt,calc_time,calc_status,total_cost_nouser_amount,total_closed_bug_cnt,total_resolved_bug_cnt,total_complete_task_cnt,total_phase_cnt,total_complete_phase_cnt,total_need_pay_amount,total_finish_pay_amount,total_need_col_amount,total_finish_col_amount,total_cost_user_amount,total_budget_inner_ user_amount,total_plan_workload,total_risk_cnt,total_complete_risk_cnt,branch_id,branch_name,total_budget_out_u ser_amount,total_complete_workload,total_cost_inner_ user_amount,total_cost_out_ user_amount,total_progress,total_active_bug_cnt,total_confirmed_bug_cnt,project_status,total_act_workload,total_act_out_workload,total_act_inner_workload,total_task_budget_cost_at,total_task_out_cnt,total_need_pay_cnt,total_finish_pay_cnt,total_finish_pay_user_cnt,total_need_pay_user_cnt,total_plan_inner_ user_workload,total_plan_out_ user_workload,test_cases,exec_cases,design_cases,finish_cases,iteration_cnt,product_cnt,menu_cnt
project_id,biz_date,total_file_cnt,total_bug_cnt,total_task_cnt,total_budget_nouser_amount,project_name,total_staff_cnt,calc_time,calc_status,total_cost_nouser_amount,total_closed_bug_cnt,total_resolved_bug_cnt,total_complete_task_cnt,total_phase_cnt,total_complete_phase_cnt,total_need_pay_amount,total_finish_pay_amount,total_need_col_amount,total_finish_col_amount,total_cost_user_amount,total_budget_iuser_amount,total_plan_workload,total_risk_cnt,total_complete_risk_cnt,branch_id,branch_name,total_budget_ouser_amount,total_complete_workload,total_cost_iuser_amount,total_cost_ouser_amount,total_progress,total_active_bug_cnt,total_confirmed_bug_cnt,project_status,total_act_workload,total_act_out_workload,total_act_inner_workload,total_task_budget_cost_at,total_task_out_cnt,total_need_pay_cnt,total_finish_pay_cnt,total_finish_pay_user_cnt,total_need_pay_user_cnt,total_plan_iuser_workload,total_plan_ouser_workload,test_cases,exec_cases,design_cases,finish_cases,iteration_cnt,product_cnt,menu_cnt,finish_menu_cnt,estimate_workload,exec_task_cnt,to_start_task_cnt,exec_menu_cnt,to_start_menu_cnt
</sql>
</sql>
<!-- sql片段 动态条件 YYYY - MM - DD HH24:MI:SS -->
<!-- sql片段 动态条件 YYYY - MM - DD HH24:MI:SS -->
@ -156,16 +162,16 @@
<if test= "totalNeedColAmount != null and totalNeedColAmount != ''" > and res.total_need_col_amount = #{totalNeedColAmount} </if>
<if test= "totalNeedColAmount != null and totalNeedColAmount != ''" > and res.total_need_col_amount = #{totalNeedColAmount} </if>
<if test= "totalFinishColAmount != null and totalFinishColAmount != ''" > and res.total_finish_col_amount = #{totalFinishColAmount} </if>
<if test= "totalFinishColAmount != null and totalFinishColAmount != ''" > and res.total_finish_col_amount = #{totalFinishColAmount} </if>
<if test= "totalCostUserAmount != null and totalCostUserAmount != ''" > and res.total_cost_user_amount = #{totalCostUserAmount} </if>
<if test= "totalCostUserAmount != null and totalCostUserAmount != ''" > and res.total_cost_user_amount = #{totalCostUserAmount} </if>
<if test= "totalBudgetInnerUserAmount != null and totalBudgetInnerUserAmount != ''" > and res.total_budget_inner_user_amount = #{totalBudgetInnerU serAmount} </if>
<if test= "totalBudgetIuserAmount != null and totalBudgetIuserAmount != ''" > and res.total_budget_iuser_amount = #{totalBudgetIu serAmount} </if>
<if test= "totalPlanWorkload != null and totalPlanWorkload != ''" > and res.total_plan_workload = #{totalPlanWorkload} </if>
<if test= "totalPlanWorkload != null and totalPlanWorkload != ''" > and res.total_plan_workload = #{totalPlanWorkload} </if>
<if test= "totalRiskCnt != null and totalRiskCnt != ''" > and res.total_risk_cnt = #{totalRiskCnt} </if>
<if test= "totalRiskCnt != null and totalRiskCnt != ''" > and res.total_risk_cnt = #{totalRiskCnt} </if>
<if test= "totalCompleteRiskCnt != null and totalCompleteRiskCnt != ''" > and res.total_complete_risk_cnt = #{totalCompleteRiskCnt} </if>
<if test= "totalCompleteRiskCnt != null and totalCompleteRiskCnt != ''" > and res.total_complete_risk_cnt = #{totalCompleteRiskCnt} </if>
<if test= "branchId != null and branchId != ''" > and res.branch_id = #{branchId} </if>
<if test= "branchId != null and branchId != ''" > and res.branch_id = #{branchId} </if>
<if test= "branchName != null and branchName != ''" > and res.branch_name = #{branchName} </if>
<if test= "branchName != null and branchName != ''" > and res.branch_name = #{branchName} </if>
<if test= "totalBudgetOutU serAmount != null and totalBudgetOutU serAmount != ''" > and res.total_budget_out_u ser_amount = #{totalBudgetOutU serAmount} </if>
<if test= "totalBudgetOuserAmount != null and totalBudgetOuserAmount != ''" > and res.total_budget_ouser_amount = #{totalBudgetOuserAmount} </if>
<if test= "totalCompleteWorkload != null and totalCompleteWorkload != ''" > and res.total_complete_workload = #{totalCompleteWorkload} </if>
<if test= "totalCompleteWorkload != null and totalCompleteWorkload != ''" > and res.total_complete_workload = #{totalCompleteWorkload} </if>
<if test= "totalCostInnerUserAmount != null and totalCostInnerUserAmount != ''" > and res.total_cost_inner_user_amount = #{totalCostInnerU serAmount} </if>
<if test= "totalCostOutU serAmount != null and totalCostOutU serAmount != ''" > and res.total_cost_out_u ser_amount = #{totalCostOutU serAmount} </if>
<if test= "totalCostIuserAmount != null and totalCostIuserAmount != ''" > and res.total_cost_iuser_amount = #{totalCostIu serAmount} </if>
<if test= "totalCostOuserAmount != null and totalCostOuserAmount != ''" > and res.total_cost_ouser_amount = #{totalCostOuserAmount} </if>
<if test= "totalProgress != null and totalProgress != ''" > and res.total_progress = #{totalProgress} </if>
<if test= "totalProgress != null and totalProgress != ''" > and res.total_progress = #{totalProgress} </if>
<if test= "totalActiveBugCnt != null and totalActiveBugCnt != ''" > and res.total_active_bug_cnt = #{totalActiveBugCnt} </if>
<if test= "totalActiveBugCnt != null and totalActiveBugCnt != ''" > and res.total_active_bug_cnt = #{totalActiveBugCnt} </if>
<if test= "totalConfirmedBugCnt != null and totalConfirmedBugCnt != ''" > and res.total_confirmed_bug_cnt = #{totalConfirmedBugCnt} </if>
<if test= "totalConfirmedBugCnt != null and totalConfirmedBugCnt != ''" > and res.total_confirmed_bug_cnt = #{totalConfirmedBugCnt} </if>
@ -179,8 +185,8 @@
<if test= "totalFinishPayCnt != null and totalFinishPayCnt != ''" > and res.total_finish_pay_cnt = #{totalFinishPayCnt} </if>
<if test= "totalFinishPayCnt != null and totalFinishPayCnt != ''" > and res.total_finish_pay_cnt = #{totalFinishPayCnt} </if>
<if test= "totalFinishPayUserCnt != null and totalFinishPayUserCnt != ''" > and res.total_finish_pay_user_cnt = #{totalFinishPayUserCnt} </if>
<if test= "totalFinishPayUserCnt != null and totalFinishPayUserCnt != ''" > and res.total_finish_pay_user_cnt = #{totalFinishPayUserCnt} </if>
<if test= "totalNeedPayUserCnt != null and totalNeedPayUserCnt != ''" > and res.total_need_pay_user_cnt = #{totalNeedPayUserCnt} </if>
<if test= "totalNeedPayUserCnt != null and totalNeedPayUserCnt != ''" > and res.total_need_pay_user_cnt = #{totalNeedPayUserCnt} </if>
<if test= "totalPlanInnerUserWorkload != null and totalPlanInnerUserWorkload != ''" > and res.total_plan_inner_user_workload = #{totalPlanInnerU serWorkload} </if>
<if test= "totalPlanOutU serWorkload != null and totalPlanOutU serWorkload != ''" > and res.total_plan_out_u ser_workload = #{totalPlanOutU serWorkload} </if>
<if test= "totalPlanIuserWorkload != null and totalPlanIuserWorkload != ''" > and res.total_plan_iuser_workload = #{totalPlanIu serWorkload} </if>
<if test= "totalPlanOuserWorkload != null and totalPlanOuserWorkload != ''" > and res.total_plan_ouser_workload = #{totalPlanOuserWorkload} </if>
<if test= "testCases != null and testCases != ''" > and res.test_cases = #{testCases} </if>
<if test= "testCases != null and testCases != ''" > and res.test_cases = #{testCases} </if>
<if test= "execCases != null and execCases != ''" > and res.exec_cases = #{execCases} </if>
<if test= "execCases != null and execCases != ''" > and res.exec_cases = #{execCases} </if>
<if test= "designCases != null and designCases != ''" > and res.design_cases = #{designCases} </if>
<if test= "designCases != null and designCases != ''" > and res.design_cases = #{designCases} </if>
@ -188,6 +194,12 @@
<if test= "iterationCnt != null and iterationCnt != ''" > and res.iteration_cnt = #{iterationCnt} </if>
<if test= "iterationCnt != null and iterationCnt != ''" > and res.iteration_cnt = #{iterationCnt} </if>
<if test= "productCnt != null and productCnt != ''" > and res.product_cnt = #{productCnt} </if>
<if test= "productCnt != null and productCnt != ''" > and res.product_cnt = #{productCnt} </if>
<if test= "menuCnt != null and menuCnt != ''" > and res.menu_cnt = #{menuCnt} </if>
<if test= "menuCnt != null and menuCnt != ''" > and res.menu_cnt = #{menuCnt} </if>
<if test= "finishMenuCnt != null and finishMenuCnt != ''" > and res.finish_menu_cnt = #{finishMenuCnt} </if>
<if test= "estimateWorkload != null and estimateWorkload != ''" > and res.estimate_workload = #{estimateWorkload} </if>
<if test= "execTaskCnt != null and execTaskCnt != ''" > and res.exec_task_cnt = #{execTaskCnt} </if>
<if test= "toStartTaskCnt != null and toStartTaskCnt != ''" > and res.to_start_task_cnt = #{toStartTaskCnt} </if>
<if test= "execMenuCnt != null and execMenuCnt != ''" > and res.exec_menu_cnt = #{execMenuCnt} </if>
<if test= "toStartMenuCnt != null and toStartMenuCnt != ''" > and res.to_start_menu_cnt = #{toStartMenuCnt} </if>
</sql>
</sql>
<!-- sql片段 更新字段 -->
<!-- sql片段 更新字段 -->
<sql id= "set" >
<sql id= "set" >
@ -211,16 +223,16 @@
total_need_col_amount = #{totalNeedColAmount},
total_need_col_amount = #{totalNeedColAmount},
total_finish_col_amount = #{totalFinishColAmount},
total_finish_col_amount = #{totalFinishColAmount},
total_cost_user_amount = #{totalCostUserAmount},
total_cost_user_amount = #{totalCostUserAmount},
total_budget_inner_user_amount = #{totalBudgetInnerU serAmount},
total_budget_iuser_amount = #{totalBudgetIu serAmount},
total_plan_workload = #{totalPlanWorkload},
total_plan_workload = #{totalPlanWorkload},
total_risk_cnt = #{totalRiskCnt},
total_risk_cnt = #{totalRiskCnt},
total_complete_risk_cnt = #{totalCompleteRiskCnt},
total_complete_risk_cnt = #{totalCompleteRiskCnt},
branch_id = #{branchId},
branch_id = #{branchId},
branch_name = #{branchName},
branch_name = #{branchName},
total_budget_out_u ser_amount = #{totalBudgetOutU serAmount},
total_budget_ouser_amount = #{totalBudgetOuserAmount},
total_complete_workload = #{totalCompleteWorkload},
total_complete_workload = #{totalCompleteWorkload},
total_cost_inner_user_amount = #{totalCostInnerU serAmount},
total_cost_out_u ser_amount = #{totalCostOutU serAmount},
total_cost_iuser_amount = #{totalCostIu serAmount},
total_cost_ouser_amount = #{totalCostOuserAmount},
total_progress = #{totalProgress},
total_progress = #{totalProgress},
total_active_bug_cnt = #{totalActiveBugCnt},
total_active_bug_cnt = #{totalActiveBugCnt},
total_confirmed_bug_cnt = #{totalConfirmedBugCnt},
total_confirmed_bug_cnt = #{totalConfirmedBugCnt},
@ -234,15 +246,21 @@
total_finish_pay_cnt = #{totalFinishPayCnt},
total_finish_pay_cnt = #{totalFinishPayCnt},
total_finish_pay_user_cnt = #{totalFinishPayUserCnt},
total_finish_pay_user_cnt = #{totalFinishPayUserCnt},
total_need_pay_user_cnt = #{totalNeedPayUserCnt},
total_need_pay_user_cnt = #{totalNeedPayUserCnt},
total_plan_inner_user_workload = #{totalPlanInnerU serWorkload},
total_plan_out_u ser_workload = #{totalPlanOutU serWorkload},
total_plan_iuser_workload = #{totalPlanIu serWorkload},
total_plan_ouser_workload = #{totalPlanOuserWorkload},
test_cases = #{testCases},
test_cases = #{testCases},
exec_cases = #{execCases},
exec_cases = #{execCases},
design_cases = #{designCases},
design_cases = #{designCases},
finish_cases = #{finishCases},
finish_cases = #{finishCases},
iteration_cnt = #{iterationCnt},
iteration_cnt = #{iterationCnt},
product_cnt = #{productCnt},
product_cnt = #{productCnt},
menu_cnt = #{menuCnt}
menu_cnt = #{menuCnt},
finish_menu_cnt = #{finishMenuCnt},
estimate_workload = #{estimateWorkload},
exec_task_cnt = #{execTaskCnt},
to_start_task_cnt = #{toStartTaskCnt},
exec_menu_cnt = #{execMenuCnt},
to_start_menu_cnt = #{toStartMenuCnt}
</sql>
</sql>
<sql id= "someFieldSet" >
<sql id= "someFieldSet" >
<if test= "bizDate != null and bizDate != ''" > biz_date = #{bizDate}, </if>
<if test= "bizDate != null and bizDate != ''" > biz_date = #{bizDate}, </if>
@ -265,16 +283,16 @@
<if test= "totalNeedColAmount != null and totalNeedColAmount != ''" > total_need_col_amount = #{totalNeedColAmount}, </if>
<if test= "totalNeedColAmount != null and totalNeedColAmount != ''" > total_need_col_amount = #{totalNeedColAmount}, </if>
<if test= "totalFinishColAmount != null and totalFinishColAmount != ''" > total_finish_col_amount = #{totalFinishColAmount}, </if>
<if test= "totalFinishColAmount != null and totalFinishColAmount != ''" > total_finish_col_amount = #{totalFinishColAmount}, </if>
<if test= "totalCostUserAmount != null and totalCostUserAmount != ''" > total_cost_user_amount = #{totalCostUserAmount}, </if>
<if test= "totalCostUserAmount != null and totalCostUserAmount != ''" > total_cost_user_amount = #{totalCostUserAmount}, </if>
<if test= "totalBudgetInnerUserAmount != null and totalBudgetInnerUserAmount != ''" > total_budget_inner_user_amount = #{totalBudgetInnerU serAmount}, </if>
<if test= "totalBudgetIuserAmount != null and totalBudgetIuserAmount != ''" > total_budget_iuser_amount = #{totalBudgetIu serAmount}, </if>
<if test= "totalPlanWorkload != null and totalPlanWorkload != ''" > total_plan_workload = #{totalPlanWorkload}, </if>
<if test= "totalPlanWorkload != null and totalPlanWorkload != ''" > total_plan_workload = #{totalPlanWorkload}, </if>
<if test= "totalRiskCnt != null and totalRiskCnt != ''" > total_risk_cnt = #{totalRiskCnt}, </if>
<if test= "totalRiskCnt != null and totalRiskCnt != ''" > total_risk_cnt = #{totalRiskCnt}, </if>
<if test= "totalCompleteRiskCnt != null and totalCompleteRiskCnt != ''" > total_complete_risk_cnt = #{totalCompleteRiskCnt}, </if>
<if test= "totalCompleteRiskCnt != null and totalCompleteRiskCnt != ''" > total_complete_risk_cnt = #{totalCompleteRiskCnt}, </if>
<if test= "branchId != null and branchId != ''" > branch_id = #{branchId}, </if>
<if test= "branchId != null and branchId != ''" > branch_id = #{branchId}, </if>
<if test= "branchName != null and branchName != ''" > branch_name = #{branchName}, </if>
<if test= "branchName != null and branchName != ''" > branch_name = #{branchName}, </if>
<if test= "totalBudgetOutU serAmount != null and totalBudgetOutU serAmount != ''" > total_budget_out_u ser_amount = #{totalBudgetOutU serAmount}, </if>
<if test= "totalBudgetOuserAmount != null and totalBudgetOuserAmount != ''" > total_budget_ouser_amount = #{totalBudgetOuserAmount}, </if>
<if test= "totalCompleteWorkload != null and totalCompleteWorkload != ''" > total_complete_workload = #{totalCompleteWorkload}, </if>
<if test= "totalCompleteWorkload != null and totalCompleteWorkload != ''" > total_complete_workload = #{totalCompleteWorkload}, </if>
<if test= "totalCostInnerUserAmount != null and totalCostInnerUserAmount != ''" > total_cost_inner_user_amount = #{totalCostInnerU serAmount}, </if>
<if test= "totalCostOutU serAmount != null and totalCostOutU serAmount != ''" > total_cost_out_u ser_amount = #{totalCostOutU serAmount}, </if>
<if test= "totalCostIuserAmount != null and totalCostIuserAmount != ''" > total_cost_iuser_amount = #{totalCostIu serAmount}, </if>
<if test= "totalCostOuserAmount != null and totalCostOuserAmount != ''" > total_cost_ouser_amount = #{totalCostOuserAmount}, </if>
<if test= "totalProgress != null and totalProgress != ''" > total_progress = #{totalProgress}, </if>
<if test= "totalProgress != null and totalProgress != ''" > total_progress = #{totalProgress}, </if>
<if test= "totalActiveBugCnt != null and totalActiveBugCnt != ''" > total_active_bug_cnt = #{totalActiveBugCnt}, </if>
<if test= "totalActiveBugCnt != null and totalActiveBugCnt != ''" > total_active_bug_cnt = #{totalActiveBugCnt}, </if>
<if test= "totalConfirmedBugCnt != null and totalConfirmedBugCnt != ''" > total_confirmed_bug_cnt = #{totalConfirmedBugCnt}, </if>
<if test= "totalConfirmedBugCnt != null and totalConfirmedBugCnt != ''" > total_confirmed_bug_cnt = #{totalConfirmedBugCnt}, </if>
@ -288,8 +306,8 @@
<if test= "totalFinishPayCnt != null and totalFinishPayCnt != ''" > total_finish_pay_cnt = #{totalFinishPayCnt}, </if>
<if test= "totalFinishPayCnt != null and totalFinishPayCnt != ''" > total_finish_pay_cnt = #{totalFinishPayCnt}, </if>
<if test= "totalFinishPayUserCnt != null and totalFinishPayUserCnt != ''" > total_finish_pay_user_cnt = #{totalFinishPayUserCnt}, </if>
<if test= "totalFinishPayUserCnt != null and totalFinishPayUserCnt != ''" > total_finish_pay_user_cnt = #{totalFinishPayUserCnt}, </if>
<if test= "totalNeedPayUserCnt != null and totalNeedPayUserCnt != ''" > total_need_pay_user_cnt = #{totalNeedPayUserCnt}, </if>
<if test= "totalNeedPayUserCnt != null and totalNeedPayUserCnt != ''" > total_need_pay_user_cnt = #{totalNeedPayUserCnt}, </if>
<if test= "totalPlanInnerUserWorkload != null and totalPlanInnerUserWorkload != ''" > total_plan_inner_user_workload = #{totalPlanInnerU serWorkload}, </if>
<if test= "totalPlanOutU serWorkload != null and totalPlanOutU serWorkload != ''" > total_plan_out_u ser_workload = #{totalPlanOutU serWorkload}, </if>
<if test= "totalPlanIuserWorkload != null and totalPlanIuserWorkload != ''" > total_plan_iuser_workload = #{totalPlanIu serWorkload}, </if>
<if test= "totalPlanOuserWorkload != null and totalPlanOuserWorkload != ''" > total_plan_ouser_workload = #{totalPlanOuserWorkload}, </if>
<if test= "testCases != null and testCases != ''" > test_cases = #{testCases}, </if>
<if test= "testCases != null and testCases != ''" > test_cases = #{testCases}, </if>
<if test= "execCases != null and execCases != ''" > exec_cases = #{execCases}, </if>
<if test= "execCases != null and execCases != ''" > exec_cases = #{execCases}, </if>
<if test= "designCases != null and designCases != ''" > design_cases = #{designCases}, </if>
<if test= "designCases != null and designCases != ''" > design_cases = #{designCases}, </if>
@ -297,6 +315,12 @@
<if test= "iterationCnt != null and iterationCnt != ''" > iteration_cnt = #{iterationCnt}, </if>
<if test= "iterationCnt != null and iterationCnt != ''" > iteration_cnt = #{iterationCnt}, </if>
<if test= "productCnt != null and productCnt != ''" > product_cnt = #{productCnt}, </if>
<if test= "productCnt != null and productCnt != ''" > product_cnt = #{productCnt}, </if>
<if test= "menuCnt != null and menuCnt != ''" > menu_cnt = #{menuCnt}, </if>
<if test= "menuCnt != null and menuCnt != ''" > menu_cnt = #{menuCnt}, </if>
<if test= "finishMenuCnt != null and finishMenuCnt != ''" > finish_menu_cnt = #{finishMenuCnt}, </if>
<if test= "estimateWorkload != null and estimateWorkload != ''" > estimate_workload = #{estimateWorkload}, </if>
<if test= "execTaskCnt != null and execTaskCnt != ''" > exec_task_cnt = #{execTaskCnt}, </if>
<if test= "toStartTaskCnt != null and toStartTaskCnt != ''" > to_start_task_cnt = #{toStartTaskCnt}, </if>
<if test= "execMenuCnt != null and execMenuCnt != ''" > exec_menu_cnt = #{execMenuCnt}, </if>
<if test= "toStartMenuCnt != null and toStartMenuCnt != ''" > to_start_menu_cnt = #{toStartMenuCnt}, </if>
</sql>
</sql>
<!-- sql片段 批量更新 -->
<!-- sql片段 批量更新 -->
<sql id= "batchSet" >
<sql id= "batchSet" >
@ -320,16 +344,16 @@
total_need_col_amount = #{item.totalNeedColAmount},
total_need_col_amount = #{item.totalNeedColAmount},
total_finish_col_amount = #{item.totalFinishColAmount},
total_finish_col_amount = #{item.totalFinishColAmount},
total_cost_user_amount = #{item.totalCostUserAmount},
total_cost_user_amount = #{item.totalCostUserAmount},
total_budget_inner_user_amount = #{item.totalBudgetInnerU serAmount},
total_budget_iuser_amount = #{item.totalBudgetIu serAmount},
total_plan_workload = #{item.totalPlanWorkload},
total_plan_workload = #{item.totalPlanWorkload},
total_risk_cnt = #{item.totalRiskCnt},
total_risk_cnt = #{item.totalRiskCnt},
total_complete_risk_cnt = #{item.totalCompleteRiskCnt},
total_complete_risk_cnt = #{item.totalCompleteRiskCnt},
branch_id = #{item.branchId},
branch_id = #{item.branchId},
branch_name = #{item.branchName},
branch_name = #{item.branchName},
total_budget_out_u ser_amount = #{item.totalBudgetOutU serAmount},
total_budget_ouser_amount = #{item.totalBudgetOuserAmount},
total_complete_workload = #{item.totalCompleteWorkload},
total_complete_workload = #{item.totalCompleteWorkload},
total_cost_inner_user_amount = #{item.totalCostInnerU serAmount},
total_cost_out_u ser_amount = #{item.totalCostOutU serAmount},
total_cost_iuser_amount = #{item.totalCostIu serAmount},
total_cost_ouser_amount = #{item.totalCostOuserAmount},
total_progress = #{item.totalProgress},
total_progress = #{item.totalProgress},
total_active_bug_cnt = #{item.totalActiveBugCnt},
total_active_bug_cnt = #{item.totalActiveBugCnt},
total_confirmed_bug_cnt = #{item.totalConfirmedBugCnt},
total_confirmed_bug_cnt = #{item.totalConfirmedBugCnt},
@ -343,14 +367,20 @@
total_finish_pay_cnt = #{item.totalFinishPayCnt},
total_finish_pay_cnt = #{item.totalFinishPayCnt},
total_finish_pay_user_cnt = #{item.totalFinishPayUserCnt},
total_finish_pay_user_cnt = #{item.totalFinishPayUserCnt},
total_need_pay_user_cnt = #{item.totalNeedPayUserCnt},
total_need_pay_user_cnt = #{item.totalNeedPayUserCnt},
total_plan_inner_user_workload = #{item.totalPlanInnerU serWorkload},
total_plan_out_u ser_workload = #{item.totalPlanOutU serWorkload},
total_plan_iuser_workload = #{item.totalPlanIu serWorkload},
total_plan_ouser_workload = #{item.totalPlanOuserWorkload},
test_cases = #{item.testCases},
test_cases = #{item.testCases},
exec_cases = #{item.execCases},
exec_cases = #{item.execCases},
design_cases = #{item.designCases},
design_cases = #{item.designCases},
finish_cases = #{item.finishCases},
finish_cases = #{item.finishCases},
iteration_cnt = #{item.iterationCnt},
iteration_cnt = #{item.iterationCnt},
product_cnt = #{item.productCnt},
product_cnt = #{item.productCnt},
menu_cnt = #{item.menuCnt}
menu_cnt = #{item.menuCnt},
finish_menu_cnt = #{item.finishMenuCnt},
estimate_workload = #{item.estimateWorkload},
exec_task_cnt = #{item.execTaskCnt},
to_start_task_cnt = #{item.toStartTaskCnt},
exec_menu_cnt = #{item.execMenuCnt},
to_start_menu_cnt = #{item.toStartMenuCnt}
</sql>
</sql>
</mapper>
</mapper>