浏览代码

批量归档选择项目(只选择B级的项目)

[user3] 3 年之前
父节点
当前提交
9bdac904f2
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      src/main/resources/mappings/modules/ruralprojectrecords/RuralProjectRecordsDao.xml

+ 2 - 1
src/main/resources/mappings/modules/ruralprojectrecords/RuralProjectRecordsDao.xml

@@ -1582,6 +1582,7 @@
 		left join sys_user su on su.id = w1.user_id
 		left join sys_office so on so.id = su.office_id
 		<where>
+			and a.submit_money = 1
 			and a.del_flag = 0 and 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) )
@@ -1617,7 +1618,7 @@
 			<if test="projectName != null and projectName != ''">
 				AND a.project_name like concat(concat('%',#{projectName}),'%')
 			</if>
-
+			and a.submit_money = 1
 			and a.del_flag = 0 and a.project_type in (1,2) and prd.`status`=5
 			/*不捞取已经发起审批并审批状态为2、3、5的项目信息*/
 			and a.id not in (select project_id	FROM project_flingbatch_relation where status in(2,3,5) )