xiangpei
2024-05-17 33fdb033e0a6b5ef6b2f8ac5fc67ad8222e564e5
src/main/resources/mapper/SubjectMapper.xml
@@ -178,5 +178,9 @@
          id IN <foreach collection="ids" open="(" separator="," close=")" item="id">#{id}</foreach>
  </select>
  <select id="selectSubjectNameById" resultType="string">
    SELECT name FROM t_subject WHERE id = #{id} AND deleted = 0
  </select>
</mapper>