体尺测量部分逻辑修改

This commit is contained in:
zyh
2025-12-27 20:01:07 +08:00
parent 5e54877119
commit 4e19076782
5 changed files with 30 additions and 12 deletions

View File

@@ -104,6 +104,7 @@
<if test="gender != null ">and gender = #{gender}</if>
<if test="birthday != null ">and birthday = #{birthday}</if>
<if test="birthWeight != null ">and birth_weight = #{birthWeight}</if>
<if test="currentWeight != null">current_weight = #{currentWeight},</if>
<if test="parity != null ">and parity = #{parity}</if>
<if test="statusId != null ">and status_id = #{statusId}</if>
<if test="weaningDate != null ">and weaning_date = #{weaningDate}</if>
@@ -278,6 +279,7 @@
<if test="gender != null">gender = #{gender},</if>
<if test="birthday != null">birthday = #{birthday},</if>
<if test="birthWeight != null">birth_weight = #{birthWeight},</if>
<if test="currentWeight != null">current_weight = #{currentWeight},</if>
<if test="parity != null">parity = #{parity},</if>
<if test="statusId != null">status_id = #{statusId},</if>
<if test="weaningDate != null">weaning_date = #{weaningDate},</if>