ソースを参照

领取报告号数量查询修改

user5 4 年 前
コミット
d0691282e7

+ 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>