转群,体尺测量,体况评分,乳况评分,修蹄,去势部分模糊查询+多耳号输入,排序优化
This commit is contained in:
@@ -47,14 +47,11 @@
|
||||
<select id="selectScTransitionInfoList" resultMap="ScTransitionInfoResult">
|
||||
<include refid="selectScTransitionInfoVo"/>
|
||||
<where>
|
||||
<!-- 多耳号 + 每只模糊 -->
|
||||
<if test="manageTagsList != null and manageTagsList.size() > 0">
|
||||
<foreach collection="manageTagsList" item="tag" separator="or" open="and (" close=")">
|
||||
bs.manage_tags like concat('%', #{tag}, '%')
|
||||
</foreach>
|
||||
</if>
|
||||
|
||||
<!-- 其余统一加 sc. 前缀 -->
|
||||
<if test="sc.sheepId != null">and t.sheep_id = #{sc.sheepId}</if>
|
||||
<if test="sc.transType != null">and t.trans_type = #{sc.transType}</if>
|
||||
<if test="sc.varietyId != null">and bs.variety_id = #{sc.varietyId}</if>
|
||||
|
||||
Reference in New Issue
Block a user