From 827d6b48ada013c448e98bc1d314a8098d06beeb Mon Sep 17 00:00:00 2001 From: ZQN <364596817@qq.com> Date: 星期二, 25 六月 2024 14:32:11 +0800 Subject: [PATCH] 投诉节点 --- project-report/src/main/resources/mapper/report/ReportMapper.xml | 14 +++++++------- 1 files changed, 7 insertions(+), 7 deletions(-) diff --git a/project-report/src/main/resources/mapper/report/ReportMapper.xml b/project-report/src/main/resources/mapper/report/ReportMapper.xml index b541a58..c68d466 100644 --- a/project-report/src/main/resources/mapper/report/ReportMapper.xml +++ b/project-report/src/main/resources/mapper/report/ReportMapper.xml @@ -14,7 +14,7 @@ from enforce_order where 1=1 <if test="deptId != null "> - AND apply_dept_id = #{deptId} + AND check_dept_id = #{deptId} </if> <if test="beginTime!=null and beginTime!=''"> AND apply_time >= #{beginTime} @@ -92,15 +92,15 @@ from enforce_complaint_log where 1=1 <if test="beginTime!=null and beginTime!=''"> - AND apply_time >= #{beginTime} + AND complaint_time >= #{beginTime} </if> <if test="endTime!=null and endTime!=''"> - AND apply_time <= #{endTime} + AND complaint_time <= #{endTime} </if> GROUP BY k </select> - <!-- 鎵ф硶绫诲瀷鍒嗗竷--> + <!-- 鎶曡瘔绫诲瀷鍒嗗竷--> <select id="getComplaintTypeCount" parameterType="com.project.report.domain.bo.query.ReportQueryBo" resultType="com.project.common.vo.KeyVal"> @@ -110,12 +110,12 @@ from enforce_complaint_log where 1=1 <if test="beginTime!=null and beginTime!=''"> - AND apply_time >= #{beginTime} + AND complaint_time >= #{beginTime} </if> <if test="endTime!=null and endTime!=''"> - AND apply_time <= #{endTime} + AND complaint_time <= #{endTime} </if> - <if test="doComplaint!=null "> + <if test="doComplaint != null "> <if test="doComplaint == 0 "> AND complaint_status = 0 </if> -- Gitblit v1.9.1