소스 검색

月报查询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">