فهرست منبع

月报查询parentId数据改为String类型

user5 4 سال پیش
والد
کامیت
53798d379d
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      src/main/resources/mappings/modules/projectrecord/monthly/MonthlyConsultationReportDao.xml

+ 1 - 1
src/main/resources/mappings/modules/projectrecord/monthly/MonthlyConsultationReportDao.xml

@@ -98,7 +98,7 @@
 		a.num as "num"
 		from report_num a
 		where
-			a.del_flag = 0 and a.project_id = #{projectId} and a.parent_id = 0
+			a.del_flag = 0 and a.project_id = #{projectId} and a.parent_id = '0'
 	</select>
 
 	<update id="deleteMonthly">