Commit 961cdfd3 by 徐高华

审批记录根据店长和管理员过滤

parent 9ebe8b04
......@@ -51,5 +51,5 @@ public interface TabHaobanAuditMapper {
int getAuditCount(@Param("wxEnterpriseId") String wxEnterpriseId,
@Param("enterpriseId") String enterpriseId,
@Param("relatedId") String relatedId,
@Param("storeIds") List<String> storeIds);
@Param("storeIds") List<String> storeIds, @Param("clerkType")int clerkType);
}
\ No newline at end of file
......@@ -492,7 +492,7 @@ public class AuditApiServiceImpl implements AuditApiService {
clerkId = null;
}
}
return this.auditMapper.getAuditCount(wxEnterpriseId, enterpriseId, clerkId, storeIdList);
return this.auditMapper.getAuditCount(wxEnterpriseId, enterpriseId, clerkId, storeIdList,clerkType);
}
}
......@@ -280,6 +280,9 @@
<if test="relatedId != null and relatedId != ''">
and related_Id = #{relatedId}
</if>
<if test="clerkType == 1">
and audit_type in (2,3,4,5)
</if>
</select>
</mapper>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment