Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

235
Visualizações
MyBatis: Mapped Statements collection does not contain value for getBuildingTypes

I have searched a lot about this issue, seems they are all about the configuration of MyBatis. But I have a different situation here. For my case, others are working well except this one:

<select id="getBuildingTypes" resultType="com.xxx.vo.Dict">
    SELECT id, value, label, type, description, sort, parent_id parentId
    FROM sys_dict
    WHERE type = 'building_type' AND del_flag = '0'
    AND value in
    <foreach item="item" index="index" collection="array" open="(" separator="," close=")">
        #{item}
    </foreach>
</select>

The most weird part is that it works in my local environment (Mac), though I don't think this is related. It's been deployed on a Windows machine and started the same way I did at my local environment.

I even tried to copy this snippet from my local to the server in case the code is not up to date, but I got no luck.

Can someone shed some light on it? Thanks in advance!

over 4 years ago · Santiago Trujillo
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda