|
|
@@ -176,6 +176,9 @@ public interface FsStoreOrderScrmMapper
|
|
|
"<if test='maps.auditStatus !=null '>" +
|
|
|
"AND fsoa.audit_status = #{maps.auditStatus} " +
|
|
|
"</if>" +
|
|
|
+ "<if test = 'maps.mimiType != null '> " +
|
|
|
+ "and o.mimi_type =#{maps.mimiType} " +
|
|
|
+ "</if>" +
|
|
|
"<if test = 'maps.deptId != null '> " +
|
|
|
" AND (o.dept_id = #{maps.deptId} OR o.dept_id IN ( SELECT t.dept_id FROM company_dept t WHERE find_in_set(#{maps.deptId}, ancestors) )) " +
|
|
|
"</if>" +
|