Преглед на файлове

领取报告号数量查询修改

user5 преди 4 години
родител
ревизия
d0691282e7
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      src/main/resources/mappings/modules/projectreportnum/ProjectReportNumDao.xml

+ 1 - 1
src/main/resources/mappings/modules/projectreportnum/ProjectReportNumDao.xml

@@ -46,7 +46,7 @@
 		select count(id)
 		 from report_num
 		<where>
-			create_by = #{userId} and state = '0'
+			create_by = #{userId} and state = '0' and parent_id =0
 		</where>
 	</select>