|
@@ -56,18 +56,6 @@
|
|
|
order by a.short_id
|
|
|
</select>
|
|
|
|
|
|
-<!-- <select id="getList" resultType="com.jeeplus.modules.sg.overheadline.entity.JkxlDetailFee">
|
|
|
- SELECT
|
|
|
- <include refid="detailColumns"/>
|
|
|
- FROM sg_wbs_elements a LEFT JOIN sg_fee_detail b on a.short_id = b.wbs_code
|
|
|
- and b.id = #{id}
|
|
|
- <where>
|
|
|
- a.state = '1' and project_type = #{type}
|
|
|
- </where>
|
|
|
- order by a.short_id
|
|
|
- </select>
|
|
|
- -->
|
|
|
-
|
|
|
<select id="getData" resultType="com.jeeplus.modules.sg.overheadline.entity.JkxlDetailFee">
|
|
|
SELECT
|
|
|
<include refid="detailColumns"/>
|
|
@@ -98,46 +86,19 @@
|
|
|
where a.short_id = #{shortId}
|
|
|
</select>
|
|
|
|
|
|
- <!--<select id="findList" resultType="com.jeeplus.modules.sg.overheadline.entity.JkxlDetailFee">
|
|
|
- SELECT
|
|
|
- a.id as wbsId,
|
|
|
- a.project_id as projectId,
|
|
|
- a.describe,
|
|
|
- a.parent_node as parentNode,
|
|
|
- a.level as hierarchy,
|
|
|
- a.short_id as wbsCode,
|
|
|
- a.subject_allocate as subjectAllocate,
|
|
|
- a.mount_matter as mountMatter,
|
|
|
- a.mount_server as mountServer,
|
|
|
- a.fee_type as feeType,
|
|
|
- b.original_total_cost as originalTotalCost,
|
|
|
- b.original_rg_cost as originalRgCost,
|
|
|
- b.original_cbr_cost as originalCbrCost,
|
|
|
- b.original_fbr_cost as originalFbrCost,
|
|
|
- b.original_jx_cost as originalJxCost,
|
|
|
- b.measures_fee1 as measuresFee1,
|
|
|
- b.measures_fee2 as measuresFee2,
|
|
|
- b.measures_fee3 as measuresFee3,
|
|
|
- b.other_cost as otherCost,
|
|
|
- b.tex as tex,
|
|
|
- b.fees as fees,
|
|
|
- b.zjgc_fee as zjgcFee,
|
|
|
- b.total_fee as totalFee
|
|
|
- FROM sg_wbs_elements a LEFT JOIN sg_fee_detail b on a.short_id = b.wbs_code
|
|
|
- and b.id = #{id}
|
|
|
- order by a.id
|
|
|
- </select> -->
|
|
|
-<!-- <select id="getAdjust" parameterType="String" resultType="com.jeeplus.modules.sg.overheadline.entity.JkxlDetailFee">
|
|
|
- select
|
|
|
- a.simple_describe as 'describe',
|
|
|
+ <select id="getSubElements" resultType="com.jeeplus.modules.sg.overheadline.entity.JkxlDetailFee">
|
|
|
+ SELECT
|
|
|
+ a.describe,
|
|
|
+ a.simple_describe as simpleDescribe,
|
|
|
+ a.short_id as wbsCode,
|
|
|
a.parent_node as parentNode,
|
|
|
- a.short_id as wbsCode
|
|
|
- FROM sg_wbs_elements a LEFT JOIN sg_fee_detail b on a.short_id = b.wbs_code
|
|
|
- <where>
|
|
|
- b.id = #{id} and b.original_total_cost is not null
|
|
|
- </where>
|
|
|
+ a.fee_type as feeType,
|
|
|
+ a.project_type as projectType,
|
|
|
+ a.level as hierarchy
|
|
|
+ FROM sg_wbs_elements a
|
|
|
+ where a.parent_node = #{parentNode}
|
|
|
</select>
|
|
|
--->
|
|
|
+
|
|
|
|
|
|
<insert id="save" parameterType="com.jeeplus.modules.sg.overheadline.entity.JkxlDetailFee">
|
|
|
insert into sg_fee_detail
|