生物安全导出修改

This commit is contained in:
2026-02-26 15:37:45 +08:00
parent 404fd4837a
commit 7d72107144
20 changed files with 196 additions and 41 deletions

View File

@@ -42,7 +42,14 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<select id="selectDiagnosisList" parameterType="Diagnosis" resultMap="DiagnosisResult">
<include refid="selectDiagnosisVo"/>
<where>
<where>
<!-- 根据ids数组查询 -->
<if test="ids != null and ids.length > 0">
AND sd.id IN
<foreach collection="ids" item="id" open="(" separator="," close=")">
#{id}
</foreach>
</if>
<if test="sheepId != null "> and sd.sheep_id = #{sheepId}</if>
<if test="sheepNo != null"> and sf.bs_manage_tags like concat('%', #{sheepNo}, '%')</if>
<if test="sheepNos != null and sheepNos.length > 0">