소스 검색

领取报告号数量查询修改

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>