|
|
@ -285,7 +285,7 @@ |
|
|
insert into xm_workload( |
|
|
insert into xm_workload( |
|
|
<include refid="columns"/> |
|
|
<include refid="columns"/> |
|
|
) values ( |
|
|
) values ( |
|
|
#{userid},#{username},#{ctime},#{taskId},#{cuserid},#{bizDate},#{wstatus},#{remark},#{ttype},#{id},#{stime},#{sstatus},#{workload},#{rworkload},#{cusername},#{projectId},#{branchId},#{ubranchId},#{sbillId},#{detailId},#{menuId},#{productId},#{caseId},#{planId},#{bugId},#{bizType} |
|
|
|
|
|
|
|
|
#{userid},#{username},#{ctime},#{taskId},#{cuserid},#{bizDate},#{wstatus},#{remark},#{ttype},#{id},#{stime},#{sstatus},#{workload},#{rworkload},#{cusername},#{projectId},#{branchId},#{ubranchId},#{sbillId},#{detailId},#{menuId},#{productId},#{caseId},#{planId},#{bugId},#{bizType},#{funcId} |
|
|
) |
|
|
) |
|
|
</insert> |
|
|
</insert> |
|
|
|
|
|
|
|
|
@ -360,7 +360,7 @@ |
|
|
|
|
|
|
|
|
<!--sql片段 列--> |
|
|
<!--sql片段 列--> |
|
|
<sql id="columns"> |
|
|
<sql id="columns"> |
|
|
userid,username,ctime,task_id,cuserid,biz_date,wstatus,remark,ttype,id,stime,sstatus,workload,rworkload,cusername,project_id,branch_id,ubranch_id,sbill_id,detail_id,menu_id,product_id,case_id,plan_id,bug_id,biz_type |
|
|
|
|
|
|
|
|
userid,username,ctime,task_id,cuserid,biz_date,wstatus,remark,ttype,id,stime,sstatus,workload,rworkload,cusername,project_id,branch_id,ubranch_id,sbill_id,detail_id,menu_id,product_id,case_id,plan_id,bug_id,biz_type,func_id |
|
|
</sql> |
|
|
</sql> |
|
|
|
|
|
|
|
|
<!--sql片段 动态条件 YYYY-MM-DD HH24:MI:SS--> |
|
|
<!--sql片段 动态条件 YYYY-MM-DD HH24:MI:SS--> |
|
|
@ -391,6 +391,7 @@ |
|
|
<if test="planId != null and planId != ''"> and res.plan_id = #{planId} </if> |
|
|
<if test="planId != null and planId != ''"> and res.plan_id = #{planId} </if> |
|
|
<if test="bugId != null and bugId != ''"> and res.bug_id = #{bugId} </if> |
|
|
<if test="bugId != null and bugId != ''"> and res.bug_id = #{bugId} </if> |
|
|
<if test="bizType != null and bizType != ''"> and res.biz_type = #{bizType} </if> |
|
|
<if test="bizType != null and bizType != ''"> and res.biz_type = #{bizType} </if> |
|
|
|
|
|
<if test="funcId != null and funcId != ''"> and res.func_id = #{funcId} </if> |
|
|
</sql> |
|
|
</sql> |
|
|
<!--sql片段 更新字段 --> |
|
|
<!--sql片段 更新字段 --> |
|
|
<sql id="set"> |
|
|
<sql id="set"> |
|
|
@ -418,7 +419,8 @@ |
|
|
case_id = #{caseId}, |
|
|
case_id = #{caseId}, |
|
|
plan_id = #{planId}, |
|
|
plan_id = #{planId}, |
|
|
bug_id = #{bugId}, |
|
|
bug_id = #{bugId}, |
|
|
biz_type = #{bizType} |
|
|
|
|
|
|
|
|
biz_type = #{bizType}, |
|
|
|
|
|
func_id = #{funcId} |
|
|
</sql> |
|
|
</sql> |
|
|
<sql id="someFieldSet"> |
|
|
<sql id="someFieldSet"> |
|
|
<if test="userid != null and userid != ''"> userid = #{userid}, </if> |
|
|
<if test="userid != null and userid != ''"> userid = #{userid}, </if> |
|
|
@ -446,6 +448,7 @@ |
|
|
<if test="planId != null and planId != ''"> plan_id = #{planId}, </if> |
|
|
<if test="planId != null and planId != ''"> plan_id = #{planId}, </if> |
|
|
<if test="bugId != null and bugId != ''"> bug_id = #{bugId}, </if> |
|
|
<if test="bugId != null and bugId != ''"> bug_id = #{bugId}, </if> |
|
|
<if test="bizType != null and bizType != ''"> biz_type = #{bizType}, </if> |
|
|
<if test="bizType != null and bizType != ''"> biz_type = #{bizType}, </if> |
|
|
|
|
|
<if test="funcId != null and funcId != ''"> func_id = #{funcId}, </if> |
|
|
</sql> |
|
|
</sql> |
|
|
<!--sql片段 批量更新 --> |
|
|
<!--sql片段 批量更新 --> |
|
|
<sql id="batchSet"> |
|
|
<sql id="batchSet"> |
|
|
@ -473,6 +476,7 @@ |
|
|
case_id = #{item.caseId}, |
|
|
case_id = #{item.caseId}, |
|
|
plan_id = #{item.planId}, |
|
|
plan_id = #{item.planId}, |
|
|
bug_id = #{item.bugId}, |
|
|
bug_id = #{item.bugId}, |
|
|
biz_type = #{item.bizType} |
|
|
|
|
|
|
|
|
biz_type = #{item.bizType}, |
|
|
|
|
|
func_id = #{item.funcId} |
|
|
</sql> |
|
|
</sql> |
|
|
</mapper> |
|
|
</mapper> |