From b0402b407292f0708a1684cc0ca1d5e2d890b753 Mon Sep 17 00:00:00 2001 From: ZQN <364596817@qq.com> Date: 星期一, 24 六月 2024 15:12:39 +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