瀏覽代碼

领取报告号数量查询修改

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>