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') <= #{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> src/main/java/org/springblade/modules/recovery/vo/RecoveryVO.java
@@ -51,4 +51,8 @@ * 结束时间 */ private String endTime; /** * 产业类型(0:种植业 1:水产业 2:禽畜业) */ private String strainType; }