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