| | |
| | | |
| | | <!--自定义查询采收记录分页数据--> |
| | | <select id="selectRecoveryPage" resultType="org.springblade.modules.recovery.vo.RecoveryVO"> |
| | | select sfr.*,sl.land_name landName from sys_recovery sr |
| | | select sr.*,sl.land_name landName from sys_recovery sr |
| | | left join sys_land sl on sl.id = sr.land_id |
| | | where 1=1 |
| | | <if test="recovery.strainId!=null and recovery.strainId!=''"> |
| | | and sr.strain_id = #{recovery.strainId} |
| | | </if> |
| | | <if test="recovery.leaves!=null and recovery.leaves!=''"> |
| | | and sr.leaves = #{recovery.leaves} |
| | | </if> |
| | | <if test="recovery.landId!=null and recovery.landId!=''"> |
| | | and sr.land_id = #{recovery.landId} |
| | | </if> |