|
|
@ -138,7 +138,7 @@ |
|
|
insert into xm_question( |
|
|
insert into xm_question( |
|
|
<include refid="columns"/> |
|
|
<include refid="columns"/> |
|
|
) values ( |
|
|
) values ( |
|
|
#{id},#{name},#{projectId},#{projectName},#{caseId},#{caseName},#{endTime},#{askUserid},#{askUsername},#{handlerUserid},#{handlerUsername},#{priority},#{solution},#{description},#{createUserid},#{createUsername},#{createTime},#{bugStatus},#{bizProcInstId},#{bizFlowState},#{menuId},#{menuName},#{planWorkload},#{planCostAmount},#{totalActWorkload},#{totalActCostAmount},#{expectResult},#{opStep},#{currResult},#{refRequire},#{bugSeverity},#{bugType},#{tagIds},#{tagNames},#{urls},#{ltime},#{qtype},#{taskId},#{taskName},#{iterationId},#{iterationName},#{caseExecId},#{lremark},#{productId},#{repRate},#{verNum},#{vpath},#{pverNum} |
|
|
|
|
|
|
|
|
#{id},#{name},#{projectId},#{projectName},#{caseId},#{caseName},#{endTime},#{askUserid},#{askUsername},#{handlerUserid},#{handlerUsername},#{priority},#{solution},#{description},#{createUserid},#{createUsername},#{createTime},#{bugStatus},#{bizProcInstId},#{bizFlowState},#{menuId},#{menuName},#{budgetWorkload},#{budgetCost},#{actWorkload},#{actCost},#{expectResult},#{opStep},#{currResult},#{refRequire},#{bugSeverity},#{bugType},#{tagIds},#{tagNames},#{urls},#{ltime},#{qtype},#{iterationId},#{iterationName},#{caseExecId},#{remarks},#{productId},#{repRate},#{verNum},#{vpath},#{pverNum},#{bugReason},#{rate} |
|
|
) |
|
|
) |
|
|
</insert> |
|
|
</insert> |
|
|
|
|
|
|
|
|
@ -201,7 +201,7 @@ |
|
|
|
|
|
|
|
|
<!--sql片段 列--> |
|
|
<!--sql片段 列--> |
|
|
<sql id="columns"> |
|
|
<sql id="columns"> |
|
|
id,name,project_id,project_name,case_id,case_name,end_time,ask_userid,ask_username,handler_userid,handler_username,priority,solution,description,create_userid,create_username,create_time,bug_status,biz_proc_inst_id,biz_flow_state,menu_id,menu_name,plan_workload,plan_cost_amount,total_act_workload,total_act_cost_amount,expect_result,op_step,curr_result,ref_require,bug_severity,bug_type,tag_ids,tag_names,urls,ltime,qtype,task_id,task_name,iteration_id,iteration_name,case_exec_id,lremark,product_id,rep_rate,ver_num,vpath,pver_num |
|
|
|
|
|
|
|
|
id,name,project_id,project_name,case_id,case_name,end_time,ask_userid,ask_username,handler_userid,handler_username,priority,solution,description,create_userid,create_username,create_time,bug_status,biz_proc_inst_id,biz_flow_state,menu_id,menu_name,budget_workload,budget_cost,act_workload,act_cost,expect_result,op_step,curr_result,ref_require,bug_severity,bug_type,tag_ids,tag_names,urls,ltime,qtype,iteration_id,iteration_name,case_exec_id,remarks,product_id,rep_rate,ver_num,vpath,pver_num,bug_reason,rate |
|
|
</sql> |
|
|
</sql> |
|
|
|
|
|
|
|
|
<!--sql片段 动态条件 YYYY-MM-DD HH24:MI:SS--> |
|
|
<!--sql片段 动态条件 YYYY-MM-DD HH24:MI:SS--> |
|
|
@ -228,10 +228,10 @@ |
|
|
<if test="bizFlowState != null and bizFlowState != ''"> and res.biz_flow_state = #{bizFlowState} </if> |
|
|
<if test="bizFlowState != null and bizFlowState != ''"> and res.biz_flow_state = #{bizFlowState} </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="planWorkload != null and planWorkload != ''"> and res.plan_workload = #{planWorkload} </if> |
|
|
|
|
|
<if test="planCostAmount != null and planCostAmount != ''"> and res.plan_cost_amount = #{planCostAmount} </if> |
|
|
|
|
|
<if test="totalActWorkload != null and totalActWorkload != ''"> and res.total_act_workload = #{totalActWorkload} </if> |
|
|
|
|
|
<if test="totalActCostAmount != null and totalActCostAmount != ''"> and res.total_act_cost_amount = #{totalActCostAmount} </if> |
|
|
|
|
|
|
|
|
<if test="budgetWorkload != null and budgetWorkload != ''"> and res.budget_workload = #{budgetWorkload} </if> |
|
|
|
|
|
<if test="budgetCost != null and budgetCost != ''"> and res.budget_cost = #{budgetCost} </if> |
|
|
|
|
|
<if test="actWorkload != null and actWorkload != ''"> and res.act_workload = #{actWorkload} </if> |
|
|
|
|
|
<if test="actCost != null and actCost != ''"> and res.act_cost = #{actCost} </if> |
|
|
<if test="expectResult != null and expectResult != ''"> and res.expect_result = #{expectResult} </if> |
|
|
<if test="expectResult != null and expectResult != ''"> and res.expect_result = #{expectResult} </if> |
|
|
<if test="opStep != null and opStep != ''"> and res.op_step = #{opStep} </if> |
|
|
<if test="opStep != null and opStep != ''"> and res.op_step = #{opStep} </if> |
|
|
<if test="currResult != null and currResult != ''"> and res.curr_result = #{currResult} </if> |
|
|
<if test="currResult != null and currResult != ''"> and res.curr_result = #{currResult} </if> |
|
|
@ -243,17 +243,17 @@ |
|
|
<if test="urls != null and urls != ''"> and res.urls = #{urls} </if> |
|
|
<if test="urls != null and urls != ''"> and res.urls = #{urls} </if> |
|
|
<if test="ltime != null"> and date_format(res.ltime,'%Y-%m-%d') = date_format(#{ltime},'%Y-%m-%d') </if> |
|
|
<if test="ltime != null"> and date_format(res.ltime,'%Y-%m-%d') = date_format(#{ltime},'%Y-%m-%d') </if> |
|
|
<if test="qtype != null and qtype != ''"> and res.qtype = #{qtype} </if> |
|
|
<if test="qtype != null and qtype != ''"> and res.qtype = #{qtype} </if> |
|
|
<if test="taskId != null and taskId != ''"> and res.task_id = #{taskId} </if> |
|
|
|
|
|
<if test="taskName != null and taskName != ''"> and res.task_name = #{taskName} </if> |
|
|
|
|
|
<if test="iterationId != null and iterationId != ''"> and res.iteration_id = #{iterationId} </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="iterationName != null and iterationName != ''"> and res.iteration_name = #{iterationName} </if> |
|
|
<if test="caseExecId != null and caseExecId != ''"> and res.case_exec_id = #{caseExecId} </if> |
|
|
<if test="caseExecId != null and caseExecId != ''"> and res.case_exec_id = #{caseExecId} </if> |
|
|
<if test="lremark != null and lremark != ''"> and res.lremark = #{lremark} </if> |
|
|
|
|
|
|
|
|
<if test="remarks != null and remarks != ''"> and res.remarks = #{remarks} </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="repRate != null and repRate != ''"> and res.rep_rate = #{repRate} </if> |
|
|
<if test="repRate != null and repRate != ''"> and res.rep_rate = #{repRate} </if> |
|
|
<if test="verNum != null and verNum != ''"> and res.ver_num = #{verNum} </if> |
|
|
<if test="verNum != null and verNum != ''"> and res.ver_num = #{verNum} </if> |
|
|
<if test="vpath != null and vpath != ''"> and res.vpath = #{vpath} </if> |
|
|
<if test="vpath != null and vpath != ''"> and res.vpath = #{vpath} </if> |
|
|
<if test="pverNum != null and pverNum != ''"> and res.pver_num = #{pverNum} </if> |
|
|
<if test="pverNum != null and pverNum != ''"> and res.pver_num = #{pverNum} </if> |
|
|
|
|
|
<if test="bugReason != null and bugReason != ''"> and res.bug_reason = #{bugReason} </if> |
|
|
|
|
|
<if test="rate != null and rate != ''"> and res.rate = #{rate} </if> |
|
|
</sql> |
|
|
</sql> |
|
|
<!--sql片段 更新字段 --> |
|
|
<!--sql片段 更新字段 --> |
|
|
<sql id="set"> |
|
|
<sql id="set"> |
|
|
@ -278,10 +278,10 @@ |
|
|
biz_flow_state = #{bizFlowState}, |
|
|
biz_flow_state = #{bizFlowState}, |
|
|
menu_id = #{menuId}, |
|
|
menu_id = #{menuId}, |
|
|
menu_name = #{menuName}, |
|
|
menu_name = #{menuName}, |
|
|
plan_workload = #{planWorkload}, |
|
|
|
|
|
plan_cost_amount = #{planCostAmount}, |
|
|
|
|
|
total_act_workload = #{totalActWorkload}, |
|
|
|
|
|
total_act_cost_amount = #{totalActCostAmount}, |
|
|
|
|
|
|
|
|
budget_workload = #{budgetWorkload}, |
|
|
|
|
|
budget_cost = #{budgetCost}, |
|
|
|
|
|
act_workload = #{actWorkload}, |
|
|
|
|
|
act_cost = #{actCost}, |
|
|
expect_result = #{expectResult}, |
|
|
expect_result = #{expectResult}, |
|
|
op_step = #{opStep}, |
|
|
op_step = #{opStep}, |
|
|
curr_result = #{currResult}, |
|
|
curr_result = #{currResult}, |
|
|
@ -293,17 +293,17 @@ |
|
|
urls = #{urls}, |
|
|
urls = #{urls}, |
|
|
ltime = #{ltime}, |
|
|
ltime = #{ltime}, |
|
|
qtype = #{qtype}, |
|
|
qtype = #{qtype}, |
|
|
task_id = #{taskId}, |
|
|
|
|
|
task_name = #{taskName}, |
|
|
|
|
|
iteration_id = #{iterationId}, |
|
|
iteration_id = #{iterationId}, |
|
|
iteration_name = #{iterationName}, |
|
|
iteration_name = #{iterationName}, |
|
|
case_exec_id = #{caseExecId}, |
|
|
case_exec_id = #{caseExecId}, |
|
|
lremark = #{lremark}, |
|
|
|
|
|
|
|
|
remarks = #{remarks}, |
|
|
product_id = #{productId}, |
|
|
product_id = #{productId}, |
|
|
rep_rate = #{repRate}, |
|
|
rep_rate = #{repRate}, |
|
|
ver_num = #{verNum}, |
|
|
ver_num = #{verNum}, |
|
|
vpath = #{vpath}, |
|
|
vpath = #{vpath}, |
|
|
pver_num = #{pverNum} |
|
|
|
|
|
|
|
|
pver_num = #{pverNum}, |
|
|
|
|
|
bug_reason = #{bugReason}, |
|
|
|
|
|
rate = #{rate} |
|
|
</sql> |
|
|
</sql> |
|
|
<sql id="someFieldSet"> |
|
|
<sql id="someFieldSet"> |
|
|
<if test="name != null and name != ''"> name = #{name}, </if> |
|
|
<if test="name != null and name != ''"> name = #{name}, </if> |
|
|
@ -327,10 +327,10 @@ |
|
|
<if test="bizFlowState != null and bizFlowState != ''"> biz_flow_state = #{bizFlowState}, </if> |
|
|
<if test="bizFlowState != null and bizFlowState != ''"> biz_flow_state = #{bizFlowState}, </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="planWorkload != null and planWorkload != ''"> plan_workload = #{planWorkload}, </if> |
|
|
|
|
|
<if test="planCostAmount != null and planCostAmount != ''"> plan_cost_amount = #{planCostAmount}, </if> |
|
|
|
|
|
<if test="totalActWorkload != null and totalActWorkload != ''"> total_act_workload = #{totalActWorkload}, </if> |
|
|
|
|
|
<if test="totalActCostAmount != null and totalActCostAmount != ''"> total_act_cost_amount = #{totalActCostAmount}, </if> |
|
|
|
|
|
|
|
|
<if test="budgetWorkload != null and budgetWorkload != ''"> budget_workload = #{budgetWorkload}, </if> |
|
|
|
|
|
<if test="budgetCost != null and budgetCost != ''"> budget_cost = #{budgetCost}, </if> |
|
|
|
|
|
<if test="actWorkload != null and actWorkload != ''"> act_workload = #{actWorkload}, </if> |
|
|
|
|
|
<if test="actCost != null and actCost != ''"> act_cost = #{actCost}, </if> |
|
|
<if test="expectResult != null and expectResult != ''"> expect_result = #{expectResult}, </if> |
|
|
<if test="expectResult != null and expectResult != ''"> expect_result = #{expectResult}, </if> |
|
|
<if test="opStep != null and opStep != ''"> op_step = #{opStep}, </if> |
|
|
<if test="opStep != null and opStep != ''"> op_step = #{opStep}, </if> |
|
|
<if test="currResult != null and currResult != ''"> curr_result = #{currResult}, </if> |
|
|
<if test="currResult != null and currResult != ''"> curr_result = #{currResult}, </if> |
|
|
@ -342,17 +342,17 @@ |
|
|
<if test="urls != null and urls != ''"> urls = #{urls}, </if> |
|
|
<if test="urls != null and urls != ''"> urls = #{urls}, </if> |
|
|
<if test="ltime != null"> ltime = #{ltime}, </if> |
|
|
<if test="ltime != null"> ltime = #{ltime}, </if> |
|
|
<if test="qtype != null and qtype != ''"> qtype = #{qtype}, </if> |
|
|
<if test="qtype != null and qtype != ''"> qtype = #{qtype}, </if> |
|
|
<if test="taskId != null and taskId != ''"> task_id = #{taskId}, </if> |
|
|
|
|
|
<if test="taskName != null and taskName != ''"> task_name = #{taskName}, </if> |
|
|
|
|
|
<if test="iterationId != null and iterationId != ''"> iteration_id = #{iterationId}, </if> |
|
|
<if test="iterationId != null and iterationId != ''"> iteration_id = #{iterationId}, </if> |
|
|
<if test="iterationName != null and iterationName != ''"> iteration_name = #{iterationName}, </if> |
|
|
<if test="iterationName != null and iterationName != ''"> iteration_name = #{iterationName}, </if> |
|
|
<if test="caseExecId != null and caseExecId != ''"> case_exec_id = #{caseExecId}, </if> |
|
|
<if test="caseExecId != null and caseExecId != ''"> case_exec_id = #{caseExecId}, </if> |
|
|
<if test="lremark != null and lremark != ''"> lremark = #{lremark}, </if> |
|
|
|
|
|
|
|
|
<if test="remarks != null and remarks != ''"> remarks = #{remarks}, </if> |
|
|
<if test="productId != null and productId != ''"> product_id = #{productId}, </if> |
|
|
<if test="productId != null and productId != ''"> product_id = #{productId}, </if> |
|
|
<if test="repRate != null and repRate != ''"> rep_rate = #{repRate}, </if> |
|
|
<if test="repRate != null and repRate != ''"> rep_rate = #{repRate}, </if> |
|
|
<if test="verNum != null and verNum != ''"> ver_num = #{verNum}, </if> |
|
|
<if test="verNum != null and verNum != ''"> ver_num = #{verNum}, </if> |
|
|
<if test="vpath != null and vpath != ''"> vpath = #{vpath}, </if> |
|
|
<if test="vpath != null and vpath != ''"> vpath = #{vpath}, </if> |
|
|
<if test="pverNum != null and pverNum != ''"> pver_num = #{pverNum}, </if> |
|
|
<if test="pverNum != null and pverNum != ''"> pver_num = #{pverNum}, </if> |
|
|
|
|
|
<if test="bugReason != null and bugReason != ''"> bug_reason = #{bugReason}, </if> |
|
|
|
|
|
<if test="rate != null and rate != ''"> rate = #{rate}, </if> |
|
|
</sql> |
|
|
</sql> |
|
|
<!--sql片段 批量更新 --> |
|
|
<!--sql片段 批量更新 --> |
|
|
<sql id="batchSet"> |
|
|
<sql id="batchSet"> |
|
|
@ -377,10 +377,10 @@ |
|
|
biz_flow_state = #{item.bizFlowState}, |
|
|
biz_flow_state = #{item.bizFlowState}, |
|
|
menu_id = #{item.menuId}, |
|
|
menu_id = #{item.menuId}, |
|
|
menu_name = #{item.menuName}, |
|
|
menu_name = #{item.menuName}, |
|
|
plan_workload = #{item.planWorkload}, |
|
|
|
|
|
plan_cost_amount = #{item.planCostAmount}, |
|
|
|
|
|
total_act_workload = #{item.totalActWorkload}, |
|
|
|
|
|
total_act_cost_amount = #{item.totalActCostAmount}, |
|
|
|
|
|
|
|
|
budget_workload = #{item.budgetWorkload}, |
|
|
|
|
|
budget_cost = #{item.budgetCost}, |
|
|
|
|
|
act_workload = #{item.actWorkload}, |
|
|
|
|
|
act_cost = #{item.actCost}, |
|
|
expect_result = #{item.expectResult}, |
|
|
expect_result = #{item.expectResult}, |
|
|
op_step = #{item.opStep}, |
|
|
op_step = #{item.opStep}, |
|
|
curr_result = #{item.currResult}, |
|
|
curr_result = #{item.currResult}, |
|
|
@ -392,16 +392,16 @@ |
|
|
urls = #{item.urls}, |
|
|
urls = #{item.urls}, |
|
|
ltime = #{item.ltime}, |
|
|
ltime = #{item.ltime}, |
|
|
qtype = #{item.qtype}, |
|
|
qtype = #{item.qtype}, |
|
|
task_id = #{item.taskId}, |
|
|
|
|
|
task_name = #{item.taskName}, |
|
|
|
|
|
iteration_id = #{item.iterationId}, |
|
|
iteration_id = #{item.iterationId}, |
|
|
iteration_name = #{item.iterationName}, |
|
|
iteration_name = #{item.iterationName}, |
|
|
case_exec_id = #{item.caseExecId}, |
|
|
case_exec_id = #{item.caseExecId}, |
|
|
lremark = #{item.lremark}, |
|
|
|
|
|
|
|
|
remarks = #{item.remarks}, |
|
|
product_id = #{item.productId}, |
|
|
product_id = #{item.productId}, |
|
|
rep_rate = #{item.repRate}, |
|
|
rep_rate = #{item.repRate}, |
|
|
ver_num = #{item.verNum}, |
|
|
ver_num = #{item.verNum}, |
|
|
vpath = #{item.vpath}, |
|
|
vpath = #{item.vpath}, |
|
|
pver_num = #{item.pverNum} |
|
|
|
|
|
|
|
|
pver_num = #{item.pverNum}, |
|
|
|
|
|
bug_reason = #{item.bugReason}, |
|
|
|
|
|
rate = #{item.rate} |
|
|
</sql> |
|
|
</sql> |
|
|
</mapper> |
|
|
</mapper> |