Selaa lähdekoodia

发票项目选择,去除必须出报告限制

user5 4 vuotta sitten
vanhempi
commit
fb6e642c24

+ 2 - 2
src/main/resources/mappings/modules/projectrecord/ProjectRecordsDao.xml

@@ -1004,7 +1004,7 @@
 				AND a.create_date < #{endDate}
 			</if>
 			AND  a.status != 7 AND a.del_flag = #{DEL_FLAG_NORMAL}
-			and prd.number is not null
+			/*and prd.number is not null*/
 			<if test="sqlMap.dsf !=null and sqlMap.dsf!=''">
 				AND ((w1.user_id = #{currentUser.id} AND w1.del_flag='0' AND a.company_id = #{currentUser.company.id} )${sqlMap.dsf} )
 			</if>
@@ -1091,7 +1091,7 @@
 				AND a.create_date &lt; #{endDate}
 			</if>
 			AND  a.status != 7 AND a.del_flag = #{DEL_FLAG_NORMAL}
-			and prd.number is not null
+			/*and prd.number is not null*/
 			<if test="sqlMap.dsf !=null and sqlMap.dsf!=''">
 				AND ((w1.user_id = #{currentUser.id} AND w1.del_flag='0' AND a.company_id = #{currentUser.company.id})${sqlMap.dsf} )
 			</if>