diff --git a/xm-core/src/main/resources/mybatis/mapper/xm/core/dao/XmBudgetLaborMapper.xml b/xm-core/src/main/resources/mybatis/mapper/xm/core/dao/XmBudgetLaborMapper.xml index 07e45791..d9411949 100644 --- a/xm-core/src/main/resources/mybatis/mapper/xm/core/dao/XmBudgetLaborMapper.xml +++ b/xm-core/src/main/resources/mybatis/mapper/xm/core/dao/XmBudgetLaborMapper.xml @@ -14,7 +14,48 @@ + + + + diff --git a/xm-core/src/main/resources/mybatis/mapper/xm/core/dao/XmProjectMBudgetCostNouserMapper.xml b/xm-core/src/main/resources/mybatis/mapper/xm/core/dao/XmProjectMBudgetCostNouserMapper.xml deleted file mode 100644 index e2b286a8..00000000 --- a/xm-core/src/main/resources/mybatis/mapper/xm/core/dao/XmProjectMBudgetCostNouserMapper.xml +++ /dev/null @@ -1,234 +0,0 @@ - - - - - - - - - and (res.id) in - - ( #{item}) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - insert into xm_project_m_budget_cost_nouser( - - ) values ( - #{projectId},#{budgetCost},#{id},#{remark},#{subjectId},#{bizzStartDate},#{bizzEndDate},#{bizProcInstId},#{bizFlowState},#{phaseId},#{costType},#{bizzMonth},#{subjectName} - ) - - - - - delete from xm_project_m_budget_cost_nouser res - - - - - - - - delete from xm_project_m_budget_cost_nouser - where id = #{id} - - - - - update xm_project_m_budget_cost_nouser - - - - where id = #{id} - - - - - update xm_project_m_budget_cost_nouser - - - - where id = #{id} - - - - - - - - update xm_project_m_budget_cost_nouser - set - - where id = #{item.id} - - - - - delete from xm_project_m_budget_cost_nouser - where - (id) in - - ( #{item.id} ) - - - - - - - project_id,budget_cost,id,remark,subject_id,bizz_start_date,bizz_end_date,biz_proc_inst_id,biz_flow_state,phase_id,cost_type,bizz_month,subject_name - - - - - and res.project_id = #{projectId} - and res.budget_cost = #{budgetCost} - and res.id = #{id} - and res.remark = #{remark} - and res.subject_id = #{subjectId} - and date_format(res.bizz_start_date,'%Y-%m-%d') = date_format(#{bizzStartDate},'%Y-%m-%d') - and date_format(res.bizz_end_date,'%Y-%m-%d') = date_format(#{bizzEndDate},'%Y-%m-%d') - and res.biz_proc_inst_id = #{bizProcInstId} - and res.biz_flow_state = #{bizFlowState} - and res.phase_id = #{phaseId} - and res.cost_type = #{costType} - and res.bizz_month = #{bizzMonth} - and res.subject_name = #{subjectName} - - - - project_id = #{projectId}, - budget_cost = #{budgetCost}, - remark = #{remark}, - subject_id = #{subjectId}, - bizz_start_date = #{bizzStartDate}, - bizz_end_date = #{bizzEndDate}, - biz_proc_inst_id = #{bizProcInstId}, - biz_flow_state = #{bizFlowState}, - phase_id = #{phaseId}, - cost_type = #{costType}, - bizz_month = #{bizzMonth}, - subject_name = #{subjectName} - - - project_id = #{projectId}, - budget_cost = #{budgetCost}, - remark = #{remark}, - subject_id = #{subjectId}, - bizz_start_date = #{bizzStartDate}, - bizz_end_date = #{bizzEndDate}, - biz_proc_inst_id = #{bizProcInstId}, - biz_flow_state = #{bizFlowState}, - phase_id = #{phaseId}, - cost_type = #{costType}, - bizz_month = #{bizzMonth}, - subject_name = #{subjectName}, - - - - project_id = #{item.projectId}, - budget_cost = #{item.budgetCost}, - remark = #{item.remark}, - subject_id = #{item.subjectId}, - bizz_start_date = #{item.bizzStartDate}, - bizz_end_date = #{item.bizzEndDate}, - biz_proc_inst_id = #{item.bizProcInstId}, - biz_flow_state = #{item.bizFlowState}, - phase_id = #{item.phaseId}, - cost_type = #{item.costType}, - bizz_month = #{item.bizzMonth}, - subject_name = #{item.subjectName} - - \ No newline at end of file diff --git a/xm-core/src/main/resources/mybatis/mapper/xm/core/dao/XmProjectMBudgetCostUserMapper.xml b/xm-core/src/main/resources/mybatis/mapper/xm/core/dao/XmProjectMBudgetCostUserMapper.xml deleted file mode 100644 index 36bbe291..00000000 --- a/xm-core/src/main/resources/mybatis/mapper/xm/core/dao/XmProjectMBudgetCostUserMapper.xml +++ /dev/null @@ -1,245 +0,0 @@ - - - - - - - - - and (res.id) in - - ( #{item}) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - insert into xm_project_m_budget_cost_user( - - ) values ( - #{projectId},#{userid},#{budgetCost},#{id},#{remark},#{username},#{subjectId},#{bizzStartDate},#{bizzEndDate},#{bizzMonth},#{bizProcInstId},#{bizFlowState},#{phaseId},#{costType},#{subjectName} - ) - - - - - delete from xm_project_m_budget_cost_user res - - - - - - - - delete from xm_project_m_budget_cost_user - where id = #{id} - - - - - update xm_project_m_budget_cost_user - - - - where id = #{id} - - - - - update xm_project_m_budget_cost_user - - - - where id = #{id} - - - - - - - - update xm_project_m_budget_cost_user - set - - where id = #{item.id} - - - - - delete from xm_project_m_budget_cost_user - where - (id) in - - ( #{item.id} ) - - - - - - - project_id,userid,budget_cost,id,remark,username,subject_id,bizz_start_date,bizz_end_date,bizz_month,biz_proc_inst_id,biz_flow_state,phase_id,cost_type,subject_name - - - - - and res.project_id = #{projectId} - and res.userid = #{userid} - and res.budget_cost = #{budgetCost} - and res.id = #{id} - and res.remark = #{remark} - and res.username = #{username} - and res.subject_id = #{subjectId} - and date_format(res.bizz_start_date,'%Y-%m-%d') = date_format(#{bizzStartDate},'%Y-%m-%d') - and date_format(res.bizz_end_date,'%Y-%m-%d') = date_format(#{bizzEndDate},'%Y-%m-%d') - and res.bizz_month = #{bizzMonth} - and res.biz_proc_inst_id = #{bizProcInstId} - and res.biz_flow_state = #{bizFlowState} - and res.phase_id = #{phaseId} - and res.cost_type = #{costType} - and res.subject_name = #{subjectName} - - - - project_id = #{projectId}, - userid = #{userid}, - budget_cost = #{budgetCost}, - remark = #{remark}, - username = #{username}, - subject_id = #{subjectId}, - bizz_start_date = #{bizzStartDate}, - bizz_end_date = #{bizzEndDate}, - bizz_month = #{bizzMonth}, - biz_proc_inst_id = #{bizProcInstId}, - biz_flow_state = #{bizFlowState}, - phase_id = #{phaseId}, - cost_type = #{costType}, - subject_name = #{subjectName} - - - project_id = #{projectId}, - userid = #{userid}, - budget_cost = #{budgetCost}, - remark = #{remark}, - username = #{username}, - subject_id = #{subjectId}, - bizz_start_date = #{bizzStartDate}, - bizz_end_date = #{bizzEndDate}, - bizz_month = #{bizzMonth}, - biz_proc_inst_id = #{bizProcInstId}, - biz_flow_state = #{bizFlowState}, - phase_id = #{phaseId}, - cost_type = #{costType}, - subject_name = #{subjectName}, - - - - project_id = #{item.projectId}, - userid = #{item.userid}, - budget_cost = #{item.budgetCost}, - remark = #{item.remark}, - username = #{item.username}, - subject_id = #{item.subjectId}, - bizz_start_date = #{item.bizzStartDate}, - bizz_end_date = #{item.bizzEndDate}, - bizz_month = #{item.bizzMonth}, - biz_proc_inst_id = #{item.bizProcInstId}, - biz_flow_state = #{item.bizFlowState}, - phase_id = #{item.phaseId}, - cost_type = #{item.costType}, - subject_name = #{item.subjectName} - - \ No newline at end of file