智慧农业后台管理
Administrator
2022-06-15 91e0d3023d8878495017d7e989a8a34f6322237d
src/main/java/org/springblade/modules/traceability/mapper/TraceabilityMapper.xml
@@ -10,5 +10,11 @@
        <if test="traceability.code!=null and traceability.code!=''">
            and st.code = #{traceability.code}
        </if>
        <if test="traceability.deptId!=null and traceability.deptId!=''">
            and st.dept_id = #{traceability.deptId}
        </if>
        <if test="traceability.tenantId!=null and traceability.tenantId!=''">
            and st.tenant_id = #{traceability.tenantId}
        </if>
    </select>
</mapper>