龚焕茏
2024-05-24 2bf92184d4584cac58b76b8d1ea0b3b0ff34b4fb
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>