智慧农业后台管理
guoshilong
2022-08-12 e7f5c0e502a89b2f91c4b57f42c56d7eb2484563
src/main/java/org/springblade/modules/processInv/mapper/ProcessInvMapper.xml
@@ -25,6 +25,9 @@
        LEFT JOIN sys_machining m ON m.id = inv.product_id
        LEFT JOIN sys_strain strain ON strain.id = inv.strain_id
        where inv.is_deleted = 0
        <if test="processInv.farmId != null and processInv.farmId != ''">
            AND inv.farm_id = #{processInv.farmId}
        </if>
    </select>
    <select id="selectBy2Id" resultType="org.springblade.modules.processInv.entity.ProcessInv">