src/main/java/org/springblade/modules/farm/mapper/FarmingRecordMapper.xml
@@ -22,6 +22,12 @@ <if test="farmingRecord.operator!=null and farmingRecord.operator!=''"> and sfr.operator = #{farmingRecord.operator} </if> <if test="farmingRecord.deptId!=null and farmingRecord.deptId!=''"> and sfr.dept_id = #{farmingRecord.deptId} </if> <if test="farmingRecord.tenantId!=null and farmingRecord.tenantId!=''"> and sfr.tenant_id = #{farmingRecord.tenantId} </if> </select> <!--查询统计本年农事记录操作总数-->