|
@@ -22,6 +22,24 @@
|
|
FROM sg_wbs_project a left join sys_user b on a.create_by = b.id
|
|
FROM sg_wbs_project a left join sys_user b on a.create_by = b.id
|
|
WHERE a.id = #{id}
|
|
WHERE a.id = #{id}
|
|
</select>
|
|
</select>
|
|
|
|
+
|
|
|
|
+ <select id="findByName" parameterType="String" resultType="WbsProject">
|
|
|
|
+ SELECT
|
|
|
|
+ a.id AS "id",
|
|
|
|
+ a.create_by AS "createBy.id",
|
|
|
|
+ a.create_date AS "createDate",
|
|
|
|
+ a.update_by AS "updateBy.id",
|
|
|
|
+ a.update_date AS "updateDate",
|
|
|
|
+ a.remarks AS "remarks",
|
|
|
|
+ a.del_flag AS "delFlag",
|
|
|
|
+ a.project_name AS "projectName",
|
|
|
|
+ a.number AS "number"
|
|
|
|
+ FROM sg_wbs_project a
|
|
|
|
+ <where>
|
|
|
|
+ a.project_name = #{projectName} and a.number = 0
|
|
|
|
+ </where>
|
|
|
|
+ order by a.create_date DESC
|
|
|
|
+ </select>
|
|
|
|
|
|
<select id="getList" resultType="WbsProject" parameterType="com.jeeplus.modules.sg.project.entity.WbsSelection" >
|
|
<select id="getList" resultType="WbsProject" parameterType="com.jeeplus.modules.sg.project.entity.WbsSelection" >
|
|
SELECT
|
|
SELECT
|