From 9e7ee2d8ad0b8684a2e13de7fe7838d79e09478b Mon Sep 17 00:00:00 2001 From: SZH <szh_hello@163.com> Date: 星期二, 23 八月 2022 16:43:01 +0800 Subject: [PATCH] 修改数据库连接配置 增加环境配置文件 --- incident-manage/incident-manage-service/src/main/resources/config/mapper/incidentManage/WorkInjuryDeclarationInfoMapper.xml | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/incident-manage/incident-manage-service/src/main/resources/config/mapper/incidentManage/WorkInjuryDeclarationInfoMapper.xml b/incident-manage/incident-manage-service/src/main/resources/config/mapper/incidentManage/WorkInjuryDeclarationInfoMapper.xml index 169bef9..2005b8b 100644 --- a/incident-manage/incident-manage-service/src/main/resources/config/mapper/incidentManage/WorkInjuryDeclarationInfoMapper.xml +++ b/incident-manage/incident-manage-service/src/main/resources/config/mapper/incidentManage/WorkInjuryDeclarationInfoMapper.xml @@ -28,8 +28,8 @@ FROM work_injury_declaration a LEFT JOIN accident_express b ON a.accident_express_id = b.id - WHERE - a.del_flag = 0 + WHERE + a.del_flag = 0 <if test="query.accidentExpressId != null">and a.`accident_express_id` = #{query.accidentExpressId}</if> </select> @@ -115,7 +115,7 @@ FROM work_injury_declaration a LEFT JOIN accident_express b ON a.accident_express_id = b.id - WHERE del_flag = 0 and id = #{id} + WHERE a.del_flag = 0 and a.id = #{id} </select> <update id="updateWorkInjuryDeclaration" parameterType="com.gkhy.safePlatform.incidentManage.entity.WorkInjuryDeclarationInfo"> -- Gitblit v1.9.2