From cff3c43f216c6f01f675e4821832e15f2a77c57c Mon Sep 17 00:00:00 2001 From: “djh” <“3298565835@qq.com”> Date: 星期三, 05 二月 2025 13:00:04 +0800 Subject: [PATCH] 煤矿缴费修改 --- exam-system/src/main/resources/mapper/institutionaccess/ThCertMapper.xml | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/exam-system/src/main/resources/mapper/institutionaccess/ThCertMapper.xml b/exam-system/src/main/resources/mapper/institutionaccess/ThCertMapper.xml index 6763a25..581bc7e 100644 --- a/exam-system/src/main/resources/mapper/institutionaccess/ThCertMapper.xml +++ b/exam-system/src/main/resources/mapper/institutionaccess/ThCertMapper.xml @@ -7,7 +7,7 @@ select a.*,b.batch_name from th_cert a left join th_batch b on a.batch_uuid=b.uuid <where> - and a.del_flag=0 + and a.del_flag=0 and b.del_flag =0 <if test="institutionName!=null and institutionName!=''"> and a.institution_name =#{institutionName} </if> @@ -20,6 +20,9 @@ <if test="trainOrgName!=null and trainOrgName!=''"> and a.train_org_name =#{trainOrgName} </if> + <if test="idcard!=null and idcard!=''"> + and a.idcard like concat('%',#{idcard},'%') + </if> </where> order by a.create_time desc </select> -- Gitblit v1.9.2