From 8f85c4f28f27ef343b3771b1b481be85964b2f97 Mon Sep 17 00:00:00 2001 From: "Lihong@123456" <1090591095@qq.com> Date: Mon, 14 Dec 2020 14:17:02 +0800 Subject: [PATCH] 1 --- .../mapper_dao/CompeteProjectConfigDao.xml | 48 +++++++++---------- 1 file changed, 24 insertions(+), 24 deletions(-) diff --git a/mt/src/main/resources/mapper_dao/CompeteProjectConfigDao.xml b/mt/src/main/resources/mapper_dao/CompeteProjectConfigDao.xml index 3fbc2fe2..b8ad1517 100644 --- a/mt/src/main/resources/mapper_dao/CompeteProjectConfigDao.xml +++ b/mt/src/main/resources/mapper_dao/CompeteProjectConfigDao.xml @@ -108,30 +108,30 @@ LEFT JOIN t_compete_group tcg on tcg.id = tcp.compete_group_id WHERE - - tcpro.id = #{projectId} - - - and tcg.id = #{groupId} - - - and tcc.id = #{companyId} - - - and tcp.name like concat('%',#{name, jdbcType=VARCHAR},'%') - - - and tcp.id_card = #{idCard} - - and tcpro.type=0 - and tcpro.`level` =2 - and tcpro.team=1 - and tcpro.rec_status = 0 - and tctm.rec_status = 0 - and tcp.rec_status = 0 - and tcc.rec_status = 0 - and tcg.rec_status = 0 - and tct.rec_status = 0 + + tcpro.id = #{projectId} + + + and tcg.id = #{groupId} + + + and tcc.id = #{companyId} + + + and tcp.name like concat('%',#{name, jdbcType=VARCHAR},'%') + + + and tcp.id_card = #{idCard} + + and tcpro.type=0 + and tcpro.`level` =2 + and tcpro.team=1 + and tcpro.rec_status = 0 + and tctm.rec_status = 0 + and tcp.rec_status = 0 + and tcc.rec_status = 0 + and tcg.rec_status = 0 + and tct.rec_status = 0 UNION SELECT