智慧农业后台管理
guoshilong
2022-08-22 6e30c1a3f8ef0c4022bcfe1c3dc8169a6bd8368f
src/main/java/org/springblade/modules/recovery/mapper/RecoveryMapper.xml
@@ -86,6 +86,9 @@
        <if test="recovery.endTime != null and recovery.endTime !=''">
            and DATE_FORMAT(sr.create_time,'%Y-%m-%d') &lt;= #{recovery.endTime}
        </if>
        <if test="recovery.strainType != null and recovery.strainType !=''">
            AND strain.strain_type = #{recovery.strainType}
        </if>
        GROUP BY sr.strain_id
    </select>
</mapper>