|
@@ -14,26 +14,18 @@
|
|
|
a.number AS "number",
|
|
|
a.parent_node AS "parentNode"
|
|
|
</sql>
|
|
|
-
|
|
|
- <!--<sql id="infoJoins">-->
|
|
|
- <!---->
|
|
|
- <!--LEFT JOIN test_category category ON category.id = a.category_id-->
|
|
|
- <!--</sql>-->
|
|
|
-
|
|
|
-
|
|
|
+
|
|
|
<select id="get" resultType="WbsProject" >
|
|
|
SELECT
|
|
|
<include refid="infoColumns"/>
|
|
|
FROM sg_wbs_project a
|
|
|
WHERE a.id = #{id}
|
|
|
</select>
|
|
|
|
|
|
- <select id="findList" resultType="WbsProject" parameterType="WbsSelection" >
|
|
|
+ <select id="findList" resultType="WbsProject" parameterType="com.jeeplus.modules.sg.project.entity.WbsSelection" >
|
|
|
SELECT
|
|
|
<include refid="infoColumns"/>
|
|
|
FROM sg_wbs_project a
|
|
|
<where>
|
|
|
a.del_flag = #{DEL_FLAG_NORMAL}
|
|
|
${dataScope}
|
|
@@ -44,10 +36,10 @@
|
|
|
AND a.update_by= #{updateBy.id}
|
|
|
</if>
|
|
|
<if test="projectStartDate != null and projectEndDate != ''">
|
|
|
- AND a.create_date >= #{projectStartDate}
|
|
|
+ AND a.create_date >= #{projectStartDate}
|
|
|
</if>
|
|
|
<if test="projectEndDate != null and projectEndDate != ''">
|
|
|
- AND a.create_date <= #{projectEndDate}
|
|
|
+ AND a.create_date <= #{projectEndDate}
|
|
|
</if>
|
|
|
</where>
|
|
|
<choose>
|
|
@@ -64,7 +56,6 @@
|
|
|
SELECT
|
|
|
<include refid="infoColumns"/>
|
|
|
FROM sg_wbs_project a
|
|
|
<where>
|
|
|
a.del_flag = #{DEL_FLAG_NORMAL}
|
|
|
${dataScope}
|