|
|
@ -193,7 +193,7 @@ |
|
|
insert into XM.xm_task( |
|
|
insert into XM.xm_task( |
|
|
<include refid="columns"/> |
|
|
<include refid="columns"/> |
|
|
) values ( |
|
|
) values ( |
|
|
#{id},#{name},#{parentTaskid},#{parentTaskname},#{projectId},#{projectName},#{level},#{sortLevel},#{executorUserid},#{executorUsername},#{preTaskid},#{preTaskname},#{startTime},#{endTime},#{milestone},#{description},#{remarks},#{createUserid},#{createUsername},#{createTime},#{rate},#{budgetCost},#{budgetWorkload},#{actCost},#{actWorkload},#{taskState},#{taskType},#{taskClass},#{toTaskCenter},#{actStartTime},#{actEndTime},#{bizProcInstId},#{bizFlowState},#{projectPhaseId},#{projectPhaseName},#{taskSkillNames},#{exeUsernames},#{taskSkillIds},#{exeUserids},#{taskOut},#{planType},#{settleSchemel},#{menuId},#{menuName},#{iterationId},#{iterationName},#{productId},#{productName},#{cbranchId},#{cdeptid} |
|
|
|
|
|
|
|
|
#{id},#{name},#{parentTaskid},#{parentTaskname},#{projectId},#{projectName},#{level},#{sortLevel},#{executorUserid},#{executorUsername},#{preTaskid},#{preTaskname},#{startTime},#{endTime},#{milestone},#{description},#{remarks},#{createUserid},#{createUsername},#{createTime},#{rate},#{budgetCost},#{budgetWorkload},#{actCost},#{actWorkload},#{taskState},#{taskType},#{taskClass},#{toTaskCenter},#{actStartTime},#{actEndTime},#{bizProcInstId},#{bizFlowState},#{projectPhaseId},#{projectPhaseName},#{taskSkillNames},#{exeUsernames},#{taskSkillIds},#{exeUserids},#{taskOut},#{planType},#{settleSchemel},#{menuId},#{menuName},#{productId},#{productName},#{cbranchId},#{cdeptid} |
|
|
) |
|
|
) |
|
|
</insert> |
|
|
</insert> |
|
|
|
|
|
|
|
|
@ -258,7 +258,7 @@ |
|
|
|
|
|
|
|
|
<!--sql片段 列--> |
|
|
<!--sql片段 列--> |
|
|
<sql id="columns"> |
|
|
<sql id="columns"> |
|
|
id,name,parent_taskid,parent_taskname,project_id,project_name,level,sort_level,executor_userid,executor_username,pre_taskid,pre_taskname,start_time,end_time,milestone,description,remarks,create_userid,create_username,create_time,rate,budget_cost,budget_workload,act_cost,act_workload,task_state,task_type,task_class,to_task_center,act_start_time,act_end_time,biz_proc_inst_id,biz_flow_state,project_phase_id,project_phase_name,task_skill_names,exe_usernames,task_skill_ids,exe_userids,task_out,plan_type,settle_schemel,menu_id,menu_name,iteration_id,iteration_name,product_id,product_name,cbranch_id,cdeptid |
|
|
|
|
|
|
|
|
id,name,parent_taskid,parent_taskname,project_id,project_name,level,sort_level,executor_userid,executor_username,pre_taskid,pre_taskname,start_time,end_time,milestone,description,remarks,create_userid,create_username,create_time,rate,budget_cost,budget_workload,act_cost,act_workload,task_state,task_type,task_class,to_task_center,act_start_time,act_end_time,biz_proc_inst_id,biz_flow_state,project_phase_id,project_phase_name,task_skill_names,exe_usernames,task_skill_ids,exe_userids,task_out,plan_type,settle_schemel,menu_id,menu_name,product_id,product_name,cbranch_id,cdeptid |
|
|
</sql> |
|
|
</sql> |
|
|
|
|
|
|
|
|
<!--sql片段 动态条件 YYYY-MM-DD HH24:MI:SS--> |
|
|
<!--sql片段 动态条件 YYYY-MM-DD HH24:MI:SS--> |
|
|
@ -307,8 +307,6 @@ |
|
|
<if test="settleSchemel != null and settleSchemel != ''"> and res.settle_schemel = #{settleSchemel} </if> |
|
|
<if test="settleSchemel != null and settleSchemel != ''"> and res.settle_schemel = #{settleSchemel} </if> |
|
|
<if test="menuId != null and menuId != ''"> and res.menu_id = #{menuId} </if> |
|
|
<if test="menuId != null and menuId != ''"> and res.menu_id = #{menuId} </if> |
|
|
<if test="menuName != null and menuName != ''"> and res.menu_name = #{menuName} </if> |
|
|
<if test="menuName != null and menuName != ''"> and res.menu_name = #{menuName} </if> |
|
|
<if test="iterationId != null and iterationId != ''"> and res.iteration_id = #{iterationId} </if> |
|
|
|
|
|
<if test="iterationName != null and iterationName != ''"> and res.iteration_name = #{iterationName} </if> |
|
|
|
|
|
<if test="productId != null and productId != ''"> and res.product_id = #{productId} </if> |
|
|
<if test="productId != null and productId != ''"> and res.product_id = #{productId} </if> |
|
|
<if test="productName != null and productName != ''"> and res.product_name = #{productName} </if> |
|
|
<if test="productName != null and productName != ''"> and res.product_name = #{productName} </if> |
|
|
<if test="cbranchId != null and cbranchId != ''"> and res.cbranch_id = #{cbranchId} </if> |
|
|
<if test="cbranchId != null and cbranchId != ''"> and res.cbranch_id = #{cbranchId} </if> |
|
|
@ -359,8 +357,6 @@ |
|
|
settle_schemel = #{settleSchemel}, |
|
|
settle_schemel = #{settleSchemel}, |
|
|
menu_id = #{menuId}, |
|
|
menu_id = #{menuId}, |
|
|
menu_name = #{menuName}, |
|
|
menu_name = #{menuName}, |
|
|
iteration_id = #{iterationId}, |
|
|
|
|
|
iteration_name = #{iterationName}, |
|
|
|
|
|
product_id = #{productId}, |
|
|
product_id = #{productId}, |
|
|
product_name = #{productName}, |
|
|
product_name = #{productName}, |
|
|
cbranch_id = #{cbranchId}, |
|
|
cbranch_id = #{cbranchId}, |
|
|
@ -410,8 +406,6 @@ |
|
|
<if test="settleSchemel != null and settleSchemel != ''"> settle_schemel = #{settleSchemel}, </if> |
|
|
<if test="settleSchemel != null and settleSchemel != ''"> settle_schemel = #{settleSchemel}, </if> |
|
|
<if test="menuId != null and menuId != ''"> menu_id = #{menuId}, </if> |
|
|
<if test="menuId != null and menuId != ''"> menu_id = #{menuId}, </if> |
|
|
<if test="menuName != null and menuName != ''"> menu_name = #{menuName}, </if> |
|
|
<if test="menuName != null and menuName != ''"> menu_name = #{menuName}, </if> |
|
|
<if test="iterationId != null and iterationId != ''"> iteration_id = #{iterationId}, </if> |
|
|
|
|
|
<if test="iterationName != null and iterationName != ''"> iteration_name = #{iterationName}, </if> |
|
|
|
|
|
<if test="productId != null and productId != ''"> product_id = #{productId}, </if> |
|
|
<if test="productId != null and productId != ''"> product_id = #{productId}, </if> |
|
|
<if test="productName != null and productName != ''"> product_name = #{productName}, </if> |
|
|
<if test="productName != null and productName != ''"> product_name = #{productName}, </if> |
|
|
<if test="cbranchId != null and cbranchId != ''"> cbranch_id = #{cbranchId}, </if> |
|
|
<if test="cbranchId != null and cbranchId != ''"> cbranch_id = #{cbranchId}, </if> |
|
|
@ -462,8 +456,6 @@ |
|
|
settle_schemel = #{item.settleSchemel}, |
|
|
settle_schemel = #{item.settleSchemel}, |
|
|
menu_id = #{item.menuId}, |
|
|
menu_id = #{item.menuId}, |
|
|
menu_name = #{item.menuName}, |
|
|
menu_name = #{item.menuName}, |
|
|
iteration_id = #{item.iterationId}, |
|
|
|
|
|
iteration_name = #{item.iterationName}, |
|
|
|
|
|
product_id = #{item.productId}, |
|
|
product_id = #{item.productId}, |
|
|
product_name = #{item.productName}, |
|
|
product_name = #{item.productName}, |
|
|
cbranch_id = #{item.cbranchId}, |
|
|
cbranch_id = #{item.cbranchId}, |
|
|
|