|
@@ -90,6 +90,28 @@
|
|
</choose>
|
|
</choose>
|
|
</select>
|
|
</select>
|
|
|
|
|
|
|
|
+ <select id="findJugdeReserve" resultType="com.jeeplus.modules.sg.managementcenter.materialproject.entity.MaterialProject">
|
|
|
|
+ SELECT
|
|
|
|
+ <include refid="infoColumns"/>
|
|
|
|
+ FROM xm_material_project a
|
|
|
|
+ <where>
|
|
|
|
+ a.del_flag = #{DEL_FLAG_NORMAL}
|
|
|
|
+ ${dataScope}
|
|
|
|
+ <if test="reserveProjectName != null and reserveProjectName != ''">
|
|
|
|
+ AND a.reserveProjectName = #{reserveProjectName}
|
|
|
|
+ </if>
|
|
|
|
+
|
|
|
|
+ </where>
|
|
|
|
+ <choose>
|
|
|
|
+ <when test="page !=null and page.orderBy != null and page.orderBy != ''">
|
|
|
|
+ ORDER BY ${page.orderBy}
|
|
|
|
+ </when>
|
|
|
|
+ <otherwise>
|
|
|
|
+ ORDER BY a.update_date DESC
|
|
|
|
+ </otherwise>
|
|
|
|
+ </choose>
|
|
|
|
+ </select>
|
|
|
|
+
|
|
<select id="findByList" resultType="com.jeeplus.modules.sg.managementcenter.materialproject.entity.MaterialProject">
|
|
<select id="findByList" resultType="com.jeeplus.modules.sg.managementcenter.materialproject.entity.MaterialProject">
|
|
SELECT
|
|
SELECT
|
|
<include refid="infoColumns"/>
|
|
<include refid="infoColumns"/>
|