diff --git a/WebContent/WEB-INF/views/projectCost/calculation_edit.jsp b/WebContent/WEB-INF/views/projectCost/calculation_edit.jsp new file mode 100644 index 0000000..f7d45a7 --- /dev/null +++ b/WebContent/WEB-INF/views/projectCost/calculation_edit.jsp @@ -0,0 +1,261 @@ +<%@ page contentType="text/html;charset=UTF-8" %> +<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%> + + + + + 项目结算计算 + + + + <%@include file="../baseset.jsp" %> + <%@include file="../systemset.jsp" %> + + + + + + +
+ + + + + + + +
+ +
+
+ + + + + + + + \ No newline at end of file diff --git a/WebContent/WEB-INF/views/projectCost/list.jsp b/WebContent/WEB-INF/views/projectCost/list.jsp index 93603d4..85cbce7 100644 --- a/WebContent/WEB-INF/views/projectCost/list.jsp +++ b/WebContent/WEB-INF/views/projectCost/list.jsp @@ -204,6 +204,9 @@ 查看 + + 修改 + 删除 diff --git a/WebContent/static/js/projectCost/projectCost.js b/WebContent/static/js/projectCost/projectCost.js index f022e6e..847f071 100644 Binary files a/WebContent/static/js/projectCost/projectCost.js and b/WebContent/static/js/projectCost/projectCost.js differ diff --git a/WebContent/static/js/projectCost/projectCostEdit.js b/WebContent/static/js/projectCost/projectCostEdit.js new file mode 100644 index 0000000..ffcff61 Binary files /dev/null and b/WebContent/static/js/projectCost/projectCostEdit.js differ diff --git a/resources/mybatis/cost/ProjectCostMapper.xml b/resources/mybatis/cost/ProjectCostMapper.xml index 236d4b8..713c32f 100644 --- a/resources/mybatis/cost/ProjectCostMapper.xml +++ b/resources/mybatis/cost/ProjectCostMapper.xml @@ -1,9 +1,38 @@ + + UPDATE wf_task_record + SET + NEW_NUM = #{newNum}, + NEW_TIME = #{operateTime} + WHERE ID = #{id} + + + UPDATE wf_info_record + SET + NEW_NUM = #{newNum}, + NEW_TIME = #{operateTime} + WHERE ID = #{id} + + + update t_project_cost_calculation set total_amount = #{totalAmount} where id = #{calculationId} + + + delete + from t_project_cost_calculation_segment + where calculation_detail_id = #{id} + + + delete + from t_project_cost_calculation_detail + where calculation_id = #{id} +