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>