|
@@ -1382,6 +1382,7 @@
|
|
|
<if test="projectName != null and projectName != ''">
|
|
|
AND a.project_name like concat(concat('%',#{projectName}),'%')
|
|
|
</if>
|
|
|
+ ${sqlMap.dsf}
|
|
|
</where>
|
|
|
</select>
|
|
|
<select id="projectFindList" resultType="com.jeeplus.modules.ruralprojectrecords.entity.RuralProjectRecords">
|
|
@@ -1406,18 +1407,20 @@
|
|
|
<if test="projectName != null and projectName != ''">
|
|
|
AND a.project_name like concat(concat('%',#{projectName}),'%')
|
|
|
</if>
|
|
|
+
|
|
|
and a.del_flag = 0 and a.project_type in (1,2) and prd.`status`=5
|
|
|
and a.id not in (select project_id FROM project_flingbatch_relation r left join project_filingbatch f on f.filing_batch=r.filing_batch where f.filing_status in(2,3,5) )
|
|
|
# and a.id not in (select project_id FROM project_flingbatch_relation where status in(2,3,5) )
|
|
|
- <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>
|
|
|
+ ${sqlMap.dsf}
|
|
|
</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="getReportRecordStatus" resultType="java.lang.String">
|